LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2003, 05:13 PM   #1
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
$path


im having troubles putting sed into my path...ive never done this before and so dont really know what im doing i installed a bootstrapped version of sed and am now told to

"Once you get a working version of sed, temporarily install /sed/sed somewhere in your path"
the the bootstrapped version is in /root/sed-4.0.4/sed/

makefile.am
makefile.in
compile.c
execute.c
fmt.c
regex.c
sed.c
sed.h

can anyone help me to add this to my path (i dont know which of these is the file that is needed to execute it so if someone could help with that at the same time it would be nice)

-thanks
 
Old 03-04-2003, 05:36 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
To find out your current paths type:

$PATH

at a console. These are your current paths. I guess you would want to move sed into one of these paths.
 
Old 03-04-2003, 05:41 PM   #3
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
$path returns nothign...
but how do i add it to the path? thats the part i dont know how to do, also which file there is the executable that the path needs to point to
 
Old 03-04-2003, 05:45 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I said $PATH not $path . Once you see the output of the command it will tell you what directories are in your path.
 
Old 03-04-2003, 05:55 PM   #5
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
that should be echo $PATH
to add to PATH (e.g.) export PATH=$PATH:/xxx/bin
you need to put this in your $HOME/.bashrc-private if you want this PATH everytime you login
 
Old 03-04-2003, 10:50 PM   #6
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
ok i think i got it now...thanks all
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Path reference in Linux (Absolute path) javabuddy Linux - General 7 06-05-2006 08:45 AM
Apache path and kde path questions darkraider Debian 1 11-12-2005 06:07 AM
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 01:24 AM
Removing path form PATH maginotjr Linux - Newbie 3 02-12-2005 03:23 PM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 07:10 PM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration