Tuesday, July 13, 2010

Installing Source files

Sources files comes as ".tar.gz", "tar.bz2" and ".zip" files. So what we want to do is unzip these zip files. It is better to use "usr/local/src" directory to unzip them.
  • For .tar.gz -> use : tar -zxvf < file_name_of_zip>
  • For tar.bz2 -> use : tar -jxvf < file_name_of_zip>
  • For .zip -> use : unzip < file_name_of_zip>
Now go in to the unzip file directory and issue follwing commands.(It is better read README.txt or INSTALL.txt files before you installing the source packages).
  • First configure the source -> ./configure
  • Then compile the source -> make
  • Last install the source -> make install
  • To clean up temp files -> make clean

No comments:

Post a Comment