Ubuntu Install .tar.gz and .tar.bz2 – Code Example

Total
0
Shares

To install a .tar.gz or .tar.bz2 files in Ubuntu, you need to first extract the tar and then run installation commands.

Code Example –

1. For .tar.gz files –

tar -xzvf YOUR_FILE.tar.gz
cd EXTRACTED_FOLDER
./configure
make
sudo make install

2. For .tar.bz2 files –

tar -xjvf YOUR_FILE.tar.bz2
cd EXTRACTED_FOLDER
./configure
make
sudo make install