• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Install Tar gz in Ubuntu Using Terminal

How To Install Tar gz in Ubuntu Using Terminal

By Sourabh / June 4, 2022 Category: How To, 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 in Ubuntu

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

Primary Sidebar

Latest Posts

Ubuntu 25.04 ‘Plucky Puffin’ Is Available To Download

How to Login as Root User in Linux Terminal

Install Firefox In Ubuntu Terminal Command Line

How To Check Kernel Installed Date In Linux Ubuntu

How To List All Kernel Modules That Are Loaded In Ubuntu

Enable Ubuntu Auto Login Without Password

Download Ubuntu 25.04 Official Default Wallpapers

How To Fix Initramfs Error In Ubuntu Command Line

How To Check All Available Kernel Version In Linux Ubuntu

3 Best Artificial Intelligence Domain Name Generators

© 2025 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap