download application tar gz ubuntu code example
Example 1: install tar.bz2 file
#Extract the file tar.bz2
tar -xjvf file.tar.bz2
#Compile and install
cd file
./configure
make
sudo make install
Example 2: run tar.xz ubuntu
tar xf [filename]
#Extract the file tar.bz2
tar -xjvf file.tar.bz2
#Compile and install
cd file
./configure
make
sudo make install
tar xf [filename]