codingtcher.com
Theme Night
Home
Login

How to install tar.gz ubuntu

Home » Tutorial Post » install tar.gz ubuntu

how to install tar.gz in ubuntu

tar -xzf archive-name.tar.gz
cd archive-name
./configure
make
sudo make install
Source: askubuntu.com

extract tar.gz Ubuntu terminal

cd ~/Downloads/archive.tar.gz #first navigate to file location
tar -xzvf archive.tar.gz -C /path/to/new/directory/ 
#-C flag will change the extraction to a new directory.
#remove -C if you want to extract it to current location.
Source: www.howtogeek.com

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

compress with tar.gz ubuntu

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
Source: www.howtogeek.com

extract tar.gz ubuntu terminal

tar -xvf yourfile.tar.gz

ubuntu install tar.gz

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

how to install tar.gz in ubuntu

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

Related Post