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 Wed 01 Oct 2014, 12:41
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 Posts_count  
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0434s ][ Queries: 12 (0.0044s) ][ GZIP on ]