list the steps for installing a program from source code
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
You open up the tarball containing the source code and you read the instructions inside. Generally, these have obvious names such as README and INSTALL. It's also a convention that the files containing these instructions are named with all-caps.
If the source code uses Automake (which is pretty common), then the steps are:
Code:
./configure
make
make install
Please be aware that most distributions have tools for building source tarballs into packages.
I did not mean to be rude . Yes I am a little lazy aren't we all. This course is being taken at ITT Tech.
No..some of us actually contribute and look things up for ourselves, thanks.
What you're asking is sort of like asking "how high is up?", or "where do programs get installed in Windows?". The answer is, "it depends". Each program is different, will install differently, and in different locations. Some have scripts that do everything for you..some don't. Some have config files..some don't.
dugan hit it on the head...RTFM. Each program comes with a set of documentation (again, some more detailed than others). Read it, and follow it. Not much more can be said past that.
I believe that if this was a question based on installation of certain program or app you may have gotten an answer, everyone is actually here to assist you if you have difficulties with your machine, but not do homework for you.
I've also seen a few help with scripts, but op has part of it.
Maybe you should rephrase your question & be more specific.
Download the sources: this will be different depending on the concrete program. It can be a tarball or a zip file, or it can be from an RCS repository of any kind (via CVS, SVN, Bazaar, Git...).
Uncompress it (if needed).
Use cd and ls or your favourite file manager to see the files you obtained, look for something ressembling documentation.
Check the documentation (no, I am not kidding and I am not intending to be sarcastic either). This is needed not only to learn how to compile the programs, but also to learn what dependencies will it need to compile. If you don't do this, you will probably be hitting your own head against a wall even if you are an experienced user, unless you are compiling a truly simple package. Again, each program is different, but the general trend is to put this kind of info into a plain text file called INSTALL or README. Just looking at the files you downloaded should give you some hint. If not, check their home page. If not, then the whole thing is above your skills.
Procceed to compile and install.
If this is not the answer they expect from you then the course you are following is not worth the time nor the money (either that, or you asked the question wrongly).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.