I will try to make this as "spoonfed" to new linux users as I can. This is one of many tutorials I will be writing.
Spoonfed Linux Tutorials: Installing Software in Linux from the source
By Showstopper
Most applications come in a .tar.gz, .tar.bz2
I am assuming that you downloaded the file to /home/username/
Change to the /home/username/ directory with the cd (change directory) command.
Another useful command is ls. When typed it will tell you were the file is.cd /home/username/
Next thing to do is unzip the package.
.tar.gz files:
.tar.bz2:Code:tar -zxvf <filename>
There should be a new directory that you just made containing all the files.Code:tar -jxvf <filename>
Now change to the directory.
Code:cd <directory>
Next is to Configure, compile, install.Code:more INSTALL
Code:./configure
Code:make
You may have to switch to the root to install, to do this:
then finally make it install.Code:su
Code:make install
This was written quickly, If I made a mistake let me know. If there is any questions PM me or post here and I will help you to the best of my ability.
Very nice tutorial, +rep.
Also for beginners, there is usually a README or INSTALLATION text file in the directory which may have specific instructions for compiling software from source.
I've seen some source contain an install script that will do all these steps for you.
Code:for (int i;;) { cout << "Smith"; }
It's easy to do, but so many people have issues with installing from source. +rep.
I wonder if people are afraid of "source". Any programmer should be familiar with it.
Many Linux admins are not programmers.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks