Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Linux install from .tar.gz

Install .tar.gz or (.tar.bz2) File
Installing a .tar.gz or (.tar.bz2) file is very easy. Ubuntu users can extract the .tar.gz file and compile a program from its source. Follow the steps given below to extract and install tar.gz files in Ubuntu.

It is wise to navigate to the downloaded .tar.bz folder and open and read the README file. It normally has the installation instructions. If not, you can install .tar.gz or (.tar.bz2) file via Terminal.

Download the desired .tar.gz or (.tar.bz2) file
Open Terminal
Extract the .tar.gz or (.tar.bz2) file with the following commands
tar xvzf PACKAGENAME.tar.gz
tar xvjf PACKAGENAME.tar.bz2
Navigate to the extracted folder using cd command
cd PACKAGENAME
Now run the following command to install the tarball
./configure
make
sudo make install
Source by websetnet.net #
 
PREVIOUS NEXT
Tagged: #Linux #install
ADD COMMENT
Topic
Name
1+5 =