LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-10-2001, 01:21 PM   #1
flex411
LQ Newbie
 
Registered: Apr 2001
Posts: 18

Rep: Reputation: 0

Hello, im reading a howto and it says to edit this file, and searching the net cant find much on it, im assuming it has to do with the path and adding a path for the program im installing? any help would be great, also I would appreciate some links that talk about files in depth like this.
 
Old 05-10-2001, 02:24 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
What Howto are you reading from?
 
Old 05-10-2001, 02:38 PM   #3
flex411
LQ Newbie
 
Registered: Apr 2001
Posts: 18

Original Poster
Rep: Reputation: 0
how to

its just a nebiezed help file from linuxnewbie.org on how to compile and install stuff, its real generic, but they say to add comments in that file to add a path? why?
 
Old 05-10-2001, 02:42 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
What are they asking you to add to the file. I am not at a Linux machine right now so I can't remember exactly that file does. Sounds to me like a type of profile type for a particular user on the machine or something like that.
 
Old 05-10-2001, 02:46 PM   #5
flex411
LQ Newbie
 
Registered: Apr 2001
Posts: 18

Original Poster
Rep: Reputation: 0
ok i phrased it wrong, what it said was you have to edit the file if you do a ./configure --prefix heres the exact words.

More stuff will fly off your screen. You should be used to this by now. When everything stops, your software has been installed. Since we used the --prefix=/tmp/test/foo option in configure, all our software has been installed in /tmp/test/foo. Check it to be sure. Be sure to keep your Makefile with you. You will need it later on. If you used the --prefix=path option, you will need to modify your /etc/profile file and add the software's path to your PATH variable. Just add the following line right at the bottom of /etc/profile:

PATH=$PATH:/tmp/test/foo/bin
export PATH

Next we have to update your /etc/profile, and this is done with the source command:

source /etc/profile

With that done, your program should now be ready to run.
 
Old 05-10-2001, 03:12 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Simply sounds like they, whoever created the program created it with the changes to the /etc/profile and probably needs it there to run properly. Everyone who creates programs with Linux always has a different way of installing and making it work in many different ways.
 
Old 05-10-2001, 03:42 PM   #7
flex411
LQ Newbie
 
Registered: Apr 2001
Posts: 18

Original Poster
Rep: Reputation: 0
thanx again

thanx again , you always answer my questions real fast.
 
Old 05-11-2001, 12:50 PM   #8
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
.profile is usually in your home directory

it contains user specific information when you login.

the one in etc is the one that will affect all users on the system

Alex
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
non roaming profile on a roaming profile system fieldyweb Linux - Newbie 1 10-03-2005 12:27 PM
Help with Profile` issinho Linux - Distributions 2 07-26-2005 03:40 PM
where is my .profile ? rob99 Linux - Newbie 2 04-07-2003 10:01 PM
/etc/profile illtbagu Linux - Newbie 5 03-24-2003 12:13 PM
profile help jalburger Linux - Newbie 3 07-10-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:44 AM.

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
Open Source Consulting | Domain Registration