Sunday 5 April 2015

Install a file with the .tar .tar.gz .tar.bz2 extension.



Install a file with the .tar .tar.gz .tar.bz2  extension. 

Assume the program file reside at Desktop
Solution

$tar -zxvf program.tar.gz     

$tar -zjvf program.tar.bz2 

$tar -xvf program.tar     


Assume the .tar file reside at Destop. Change the directory to unzipped folder, i.e.:
cd program/    

dir 

./configure  (if the folder contain configure script)

make
make install
above example is for Kali Linux. But it will be almost the same for all Linux system.

  if it is Ubuntu:
sudo su
(for suse su is enough)

Enter your password.
make install