• About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy Policy
  • Change the purpose of use

Tnhelearning.edu.vn - Various useful general information portal

  • Photo
  • Bio
  • How To
  • Tech

How to Unzip a tar file in Linux

January 23, 2024 by admin Category: How To

You are viewing the article How to Unzip a tar file in Linux  at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.

X

wikiHow is a “wiki” site, which means that many of the articles here are written by multiple authors. To create this article, volunteer authors have edited and improved the article over time.

This article has been viewed 2,988 times.

Decompress TAR files (files) whether or not they are compressed with Gzip.

Table of Contents

  • Steps
  • Advice
  • Warning

Steps

Image titled Extract Tar Files in Linux Step 1

Image titled Extract Tar Files in Linux Step 1

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/e1/Extract-Tar-Files-in-Linux-Step-1-Version-2.jpg/v4-728px-Extract- Tar-Files-in-Linux-Step-1-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/e/e1/Extract-Tar-Files-in- Linux-Step-1-Version-2.jpg/v4-728px-Extract-Tar-Files-in-Linux-Step-1-Version-2.jpg”,”smallWidth”:460,”smallHeight”:345,” bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Open Terminal (command line interface).
Image titled Extract Tar Files in Linux Step 2

Image titled Extract Tar Files in Linux Step 2

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/72/Extract-Tar-Files-in-Linux-Step-2-Version-2.jpg/v4-728px-Extract- Tar-Files-in-Linux-Step-2-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/7/72/Extract-Tar-Files-in- Linux-Step-2-Version-2.jpg/v4-728px-Extract-Tar-Files-in-Linux-Step-2-Version-2.jpg”,”smallWidth”:460,”smallHeight”:345,” bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Type tar .
Image titled Extract Tar Files in Linux Step 3

Image titled Extract Tar Files in Linux Step 3

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/46/Extract-Tar-Files-in-Linux-Step-3.jpg/v4-728px-Extract-Tar-Files- in-Linux-Step-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/4/46/Extract-Tar-Files-in-Linux-Step-3.jpg/ v4-728px-Extract-Tar-Files-in-Linux-Step-3.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type a space.
Image titled Extract Tar Files in Linux Step 4

Image titled Extract Tar Files in Linux Step 4

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/7a/Extract-Tar-Files-in-Linux-Step-4.jpg/v4-728px-Extract-Tar-Files- in-Linux-Step-4.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/7/7a/Extract-Tar-Files-in-Linux-Step-4.jpg/ v4-728px-Extract-Tar-Files-in-Linux-Step-4.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type -x .
Image titled Extract Tar Files in Linux Step 5

Image titled Extract Tar Files in Linux Step 5

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/0e/Extract-Tar-Files-in-Linux-Step-5.jpg/v4-728px-Extract-Tar-Files- in-Linux-Step-5.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/0/0e/Extract-Tar-Files-in-Linux-Step-5.jpg/ v4-728px-Extract-Tar-Files-in-Linux-Step-5.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
If the tar file is gzip compressed (with the extension .tar.gz or .tgz), type z .
Image titled Extract Tar Files in Linux Step 6

Image titled Extract Tar Files in Linux Step 6

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/8c/Extract-Tar-Files-in-Linux-Step-6.jpg/v4-728px-Extract-Tar-Files- in-Linux-Step-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/8/8c/Extract-Tar-Files-in-Linux-Step-6.jpg/ v4-728px-Extract-Tar-Files-in-Linux-Step-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type f .
Image titled Extract Tar Files in Linux Step 7

Image titled Extract Tar Files in Linux Step 7

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/be/Extract-Tar-Files-in-Linux-Step-7.jpg/v4-728px-Extract-Tar-Files- in-Linux-Step-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/b/be/Extract-Tar-Files-in-Linux-Step-7.jpg/ v4-728px-Extract-Tar-Files-in-Linux-Step-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type a space.
Image titled Extract Tar Files in Linux Step 8

Image titled Extract Tar Files in Linux Step 8

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/5a/Extract-Tar-Files-in-Linux-Step-8.jpg/v4-728px-Extract-Tar-Files- in-Linux-Step-8.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/5a/Extract-Tar-Files-in-Linux-Step-8.jpg/ v4-728px-Extract-Tar-Files-in-Linux-Step-8.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
Type the name of the file you want to extract.
  • Image titled Extract Tar Files in Linux Step 9

    Image titled Extract Tar Files in Linux Step 9

    {“smallUrl”:”https://www.wikihow.com/images_en/thumb/c/ce/Extract-Tar-Files-in-Linux-Step-9.jpg/v4-728px-Extract-Tar-Files- in-Linux-Step-9.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/c/ce/Extract-Tar-Files-in-Linux-Step-9.jpg/ v4-728px-Extract-Tar-Files-in-Linux-Step-9.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:” <div class=”mw-parser-output”></div>”}
    Type Enter.
  • Advice

    • For the command verbose output (to look up), add v to the drop-down list.

    Warning

    • Unpacking may overwrite the file in several places if it includes a file with the same name.
    X

    wikiHow is a “wiki” site, which means that many of the articles here are written by multiple authors. To create this article, volunteer authors have edited and improved the article over time.

    READ More:   How to Remove Bumps on Tongue

    This article has been viewed 2,988 times.

    Decompress TAR files (files) whether or not they are compressed with Gzip.

    Thank you for reading this post How to Unzip a tar file in Linux at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.

    Related Search:

    Related Posts

    How to Create Curved Text in Photoshop
    How to fall asleep faster
    How to Install FBReader to Read eBooks

    Category: How To

    Previous Post: « How to make crispy fried fish with tomato sauce to stimulate the taste
    Next Post: How to make delicious and nutritious duck soup cake for breakfast »

    Copyright © 2025 · Tnhelearning.edu.vn - Useful Knowledge