I'm making a new version of puppy-eloix based on lupu 5.28. I started by integrating LaTeX in it, which works rather well thus far. I now would add
the following path /usr/local/texlive/2011/bin/i386-linux/ permanently to the current PATH.
I tried this by editing .bashrc and adding the line:
export PATH=$PATH:/usr/local/texlive/2011/bin/i386-linux/
however this does not work, I then tried to add the same line to /etc/profile but that doesn't work neither.
So here's my question how can I make a PATH extension permanent?
thanks
abu_ilya
how to make a PATH extension permanent?
I did reboot and also made sure the edited profile-file was in /tmp/etc/ when remastering but unfortunately the path was not extended. So the path must be set somewhere else, but where???Semme wrote:Hi Abu- you're right. The place to make it permanment is /etc/profile. You need to reboot..
thanks
abu
Maybe do this.
In /etc/profile
Change this line
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin"
To this
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin:/usr/local/texlive/2011/bin/i386-linux"
And reboot.
In /etc/profile
Change this line
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin"
To this
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin:/usr/local/texlive/2011/bin/i386-linux"
And reboot.
Last edited by bigpup on Fri 04 May 2012, 15:26, edited 1 time in total.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
I just was going to try out your suggestion and the one from "Bigpup" when I noticed that after booting the last version on another PC the path-extension was succesfull, I don't understand why it wasn't on the PC where I made the CD earlier...Semme wrote:OK- kind of a longshot but, try this, reset your path'n reboot. Mine stuck..
regards,
abu_ilya