View Single Post

  #3 (permalink)  
Old 12-02-2006, 09:31 PM
monk's Avatar
monk monk is offline
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Hello Manish,

First, you will want to unzip or uncompress the file in your home directory or if you compile programs often, create a folder in your home directory.

If downloaded a file and it has extension .tar.gz or .tgz use the following tar command:
Code:
tar -xzvf file.tar.gz
tar -xzvf file.tgz
If you downloaded a file and it has the extension .tar.bz, use the following tar command:
Code:
tar -xjvf file.tar.bz
If you downloaded a file and it has just a .gz extension use the gunzip command:
Code:
gunzip file.gz
If you downloaded a file and it has an extension of .bz use the bunzip2 command:
Code:
bunzip2 file.bz
Now go to extracted the source code directory using cd command:
Code:
cd directory
Now build software binary
Code:
./configure
make
Finally, install software binary
Code:
make install

If the make step does not complete successfully then it means that either the Makefile was created improperly or there is a syntax error in the source which is causing it to fail compiling.

If you are RHN subscriber use up2date command to install all software. http://www.cyberciti.biz/faq/howto-use-up2date-command/
Reply With Quote