h1

how to build a program in linux

July 20, 2007

In linux, its the trinity of commands “configure_make_make-install” which you use to install most programs. But before you do that, it is advisable to take a look at the “install.txt” file before proceeding because there might be some extra flags or commands one have to add to get it correct. Else, first extract the file by right clicking on it in kde (or gnome) and selecting extract here. Then open a terminal, “cd” to the location you have extracted your file to and type:

./configure
//system spits out crap
make
//more console crap
su
//enter root password
make install
//more… yeah! you get it
exit
//goes out of su mode

now all one has to do is to either type the name of the program in the console or make a shortcut on the desktop

One comment

  1. nice site!!



Leave a comment