1: Uncompress tarball
To uncompress them, execute the following command(s) depending on the extension:
root@bt: tar -zxvf file.tar.gz
root@bt: tar- zxf file.tgz
root@bt: tar -jxf file.tar.bz2
root@bt: tar -jxf file.tbz2
Now change directory
root@bt: ls
root@bt: cd path-to-software/
2: Build and install software
Generally you need to type 3 commands as follows for building and compiling software:
root@bt:# ./configure
root@bt:# make
root@bt:# make install
Where,
./configure will configure the software to ensure your system has the necessary functionality and libraries to successfully compile the package
make will compile all the source files into executable binaries.
Finally, make install will install the binaries and any supporting files into the appropriate locations.