Question: How to Extract Tgz File in Linux?
Contents

Untar a File in Linux/Ubuntu

  • If Your File Extension is .tar.gz (or .tgz) If your tar file is compressed using a gZip compressor, use this command: tar xvzf file.tar.gz.
  • If Your File Extension is .tar.bz2 (or .tbz)
  • Mind-Blowingly-Simple Extraction (The dtrx Function)

How do you extract a TGZ file?

How to open TGZ files

  1. Save the .tgz file to the desktop.
  2. Launch WinZip from your start menu or Desktop shortcut.
  3. Select all the files and folders inside the compressed file.
  4. Click 1-click Unzip and choose Unzip to PC or Cloud in the WinZip toolbar under the Unzip/Share tab.

How do you install .TGZ file in Linux?

3 Answers

  • .tgz is an archive like zip or rar.
  • Right click on the file and select Extract Here.
  • cd to the extracted folder.
  • Then type ./configure.
  • To install type make and then make install.
  • There will be a Read me file with instruction on how to install the file.
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest