Wednesday, May 28, 2008

how to build a program in linux

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:

su
//system asks for password. Enter it.
./configure
//system spits out crap
make
//more console crap
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

0 comments:

Post a Comment

 

Subscribe in Bloglines Msn bot last visit powered by MyPagerank.Net Yahoo bot last visit powered by MyPagerank.Net
I heart FeedBurner downtime checker The Ubuntu Counter Project - user number # 31290

 
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by TadPole
FOG FLAMES