Tuesday, May 1, 2007

how to install softwares when source code is available

you may have noticed that some softwares are coming as source codes, ie a bundle of '.c' files .Most of them will be in zipped form( .tar.gz) , so you need to right click & extract to some directory. To install these into your system, i recommend the following way.


1) most softwares will have a backend called ' library 'and a front end called ( the name itself or ui ..etc) .Unzip these into the folder.

2) if library is present , use ' cd ' comand to enter the directory . there after you need to enter three commands to install that package.

a) ./configure
b) make
c) make install

3) do this for both

No comments: