| Author |
Message |
abu_ilya
Joined: 08 May 2008 Posts: 71
|
Posted: Fri 04 May 2012, 06:11 Post_subject:
how to make a PATH extension permanent? |
|
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
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2119 Location: World_Hub
|
Posted: Fri 04 May 2012, 09:50 Post_subject:
|
|
Hi Abu- you're right. The place to make it permanment is /etc/profile. You need to reboot..
|
|
Back to top
|
|
 |
abu_ilya
Joined: 08 May 2008 Posts: 71
|
Posted: Fri 04 May 2012, 10:01 Post_subject:
|
|
| Semme wrote: | | Hi Abu- you're right. The place to make it permanment is /etc/profile. You need to reboot.. |
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???
thanks
abu
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2119 Location: World_Hub
|
Posted: Fri 04 May 2012, 10:53 Post_subject:
|
|
OK- kind of a longshot but, try this, reset your path'n reboot. Mine stuck..
|
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 3692 Location: Charleston S.C. USA
|
Posted: Fri 04 May 2012, 11:14 Post_subject:
|
|
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.
_________________ I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
Edited_time_total
|
|
Back to top
|
|
 |
Semme
Joined: 07 Aug 2011 Posts: 2119 Location: World_Hub
|
Posted: Fri 04 May 2012, 11:24 Post_subject:
|
|
Correct! Line 2- each path with a colon separator..
|
|
Back to top
|
|
 |
abu_ilya
Joined: 08 May 2008 Posts: 71
|
Posted: Sat 05 May 2012, 07:34 Post_subject:
|
|
| Semme wrote: | | OK- kind of a longshot but, try this, reset your path'n reboot. Mine stuck.. |
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...
regards,
abu_ilya
|
|
Back to top
|
|
 |
|