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 Fri 22 Aug 2014, 10:07
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How do I set environment variables?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
mateen

Joined: 05 Jul 2005
Posts: 2

PostPosted: Tue 05 Jul 2005, 02:53    Post subject:  How do I set environment variables?  

i am booting puppy from the live cd , and have created a ext2 partion on my hard drive . i downloaded and installed perl. the problem is that i carnt seem to add the /usr/local/ActivePerl-5.6/bin to the $PATH variable. The setenv does not work, and i cant find the .profile in my home directory. I try setvar command but that doesnt even work. hope understand what i am trying to say. how can i do this. thanks.
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Tue 05 Jul 2005, 03:24    Post subject:  

edit the /etc/profile so that the line that currently reads
Code:
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/root/my-applications/bin"


includes the path to your Perl binaries directory, ie

Code:
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/root/my-applications/bin: /usr/local/ActivePerl-5.6/bin"


This should be the first line in the file. You will need to start a new terminal session for the changes to take effect

Cheers
Back to top
papaschtroumpf


Joined: 17 Jun 2005
Posts: 250

PostPosted: Tue 05 Jul 2005, 11:49    Post subject:  

there is a perl pupget. don;t know how it compares with the version of active-perl you've installed.
There may be a lot of trimming possible from a "standard" perl install to save on disk/memory space

_________________
Mandriva LE 2005 user and puppy newbie
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0394s ][ Queries: 11 (0.0031s) ][ GZIP on ]