Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.