Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 11:48
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
how to make a PATH extension permanent?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
abu_ilya

Joined: 08 May 2008
Posts: 71

PostPosted: 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
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3587
Location: World_Hub

PostPosted: 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
View user's profile Send private message 
abu_ilya

Joined: 08 May 2008
Posts: 71

PostPosted: 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
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3587
Location: World_Hub

PostPosted: 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
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5009
Location: Charleston S.C. USA

PostPosted: 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.
When I was a kid I wanted to be older.... This is not what I expected Shocked

Last edited by bigpup on Fri 04 May 2012, 11:26; edited 1 time in total
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3587
Location: World_Hub

PostPosted: Fri 04 May 2012, 11:24    Post subject:  

Correct! Line 2- each path with a colon separator..
Back to top
View user's profile Send private message 
abu_ilya

Joined: 08 May 2008
Posts: 71

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0482s ][ Queries: 11 (0.0030s) ][ GZIP on ]