Site icon TechGit

How To Extract & Install tar.gz Files In Ubuntu

How to install a tar.gz file in Ubuntu. How to install downloaded tar.gz in Ubuntu. Command to install tar.gz file in linux – how to extract and install tar.gz files in Ubuntu.

In computing, tar is a computer software utility for collecting many files into one archive file. It is often referred to as a tarball and is used for distribution or backup purposes. The name tar is derived from (t)ape (ar)chive.

A tar archive files usually have the file suffix .tar, e.g., package.tar or package.tar.bz2 or package.tar.bz or package.tar.xz. The term tarball is also used to refer to a tar file.

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.

Example

$ sudo apt-get update
$ wget https://dl.winehq.org/wine/source/1.9/wine-1.9.19.tar.bz2
$ sudo tar xzvf wine-1.9.19.tar.bz2
$ cd wine-1.9.19
$ ./configure
$ make
$ sudo make install
$ sudo reboot

How To Extract & Install tar.gz Files In Ubuntu originally posted on Source Digit – Latest Technology, Gadgets & Gizmos.

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version