{"id":1540,"date":"2021-12-16T12:04:48","date_gmt":"2021-12-16T09:04:48","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/05\/19\/how-to-unzip-targz-files-in-linux\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/05\/19\/how-to-unzip-targz-files-in-linux\/"},"modified":"2021-12-16T12:04:48","modified_gmt":"2021-12-16T09:04:48","slug":"how-to-unzip-targz-files-in-linux","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1540-how-to-unzip-targz-files-in-linux\/","title":{"rendered":"How to unzip TarGZ files in Linux"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>TarGZ archives are a staple of Linux. Many programs are distributed in this file format, as well as other files. Despite this, many Linux users do not know how to unzip TarGZ files in Linux.\u00a0<\/p>\n<p>In this guide, we\u2019ll show you that it\u2019s effortless to unzip TarGZ files on Linux. To get started, download your favorite TarGZ file and follow along!<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-402155 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-unzip-targz-files-in-linux.png\" alt=\"unzip TarGZ files in Linux\" width=\"1200\" height=\"744\"\/><\/p>\n<h2>Unzip TarGZ files with Gnome file manager<\/h2>\n<p>If you use the Gnome desktop environment, you also use the Gnome file manager. It is known as \u201cFiles,\u201d and it has a built-in ability to decompress and extract TarGZ archive files. Here\u2019s how to do it.<\/p>\n<p>First, launch the Gnome file manager. You can do this by pressing the\u00a0<strong>Win\u00a0<\/strong>key on the keyboard to open up the search area. Inside the search box, type in \u201cFiles\u201d and select the file manager icon.<\/p>\n<p>Once inside of files, locate the TarGZ archive file you wish to extract. In this example, our TarGZ file is in the \u201chome\u201d directory. After you\u2019ve found your TarGZ file, select it with the mouse.<\/p>\n<p>With the TarGZ archive file selected with the mouse, right-click on it to open up the right-click menu. Inside the right-click menu, there are many options to choose from. Look through for the \u201cExtract Here\u201d option, and click on it.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-402143 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-unzip-targz-files-in-linux-1.png\" alt=\"\" width=\"1200\" height=\"1035\"\/><\/p>\n<p>Upon clicking on the \u201cExtract here\u201d button, the Gnome file manager will decompress and then extract your TarGZ archive file in the same folder that the TarGZ archive is located in.<\/p>\n<p>From here, you can access the contents of your TarGZ archive now that they are extracted. Be sure to repeat this process when you wish to decompress a TarGZ file on the Gnome desktop.<\/p>\n<h2>Unzip TarGZ files with KDE Plasma file manager<\/h2>\n<p>On KDE Plasma 5, the Dolphin file manager is used. Dolphin is excellent, and one of the reasons it is well-loved in the community is it is packed full of features. One of the wonderful features it includes is the ability to extract the contents of TarGZ archive files right from the file manager.<\/p>\n<p>If you\u2019d like to decompress a TarGZ file within the Dolphin file manager in KDE Plasma 5, start by launching the file manager. You can launch the Dolphin file manager by opening up the KDE app menu and searching for \u201cDolphin.\u201d<\/p>\n<p>Once the Dolphin file manager is open, browse to where your TarGZ archive file is located on your computer. In this example, our TarGZ file is in the \u201chome\u201d directory. After browsing to the folder where the TarGZ file is, select it with the mouse.<\/p>\n<p>Upon selecting the TarGZ archive file with your mouse, right-click on it. By right-clicking on it, you will bring up the right-click menu. From here, look through the right-click menu and find the \u201cExtract\u201d menu, and select it with the mouse.<\/p>\n<p>Inside the \u201cExtract\u201d menu, you can choose from \u201cExtract archive here,\u201d \u201cExtract archive to,\u201d or \u201cExtract archive here, autodetect subfolder.\u201d Choose one of the options that suit your use case best to decompress the TarGZ archive file.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-402144 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-unzip-targz-files-in-linux-2.png\" alt=\"\" width=\"1200\" height=\"745\"\/><\/p>\n<p>Once the TarGZ archive is extracted, you\u2019ll be able to make use of the contents of your TarGZ archive in KDE Plasma 5. Be sure to repeat this process each time you need to decompress a TarGZ file on KDE.<\/p>\n<h2>Unzip TarGZ files in XFCE<\/h2>\n<p>If you\u2019re using XFCE and need to extract a TarGZ archive file, you\u2019ll need to deal with the Thunar file manager. To start, open up the Thunar file manager on the XFCE desktop. To do that, click on the home folder on the desktop, or search for \u201cThunar\u201d in the app menu.<\/p>\n<p>Once it is open, go to the location of your TarGZ archive file. In this example, the TarGZ archive file is in the \u201chome\u201d directory. From here, select the archive with the mouse. Then, right-click on it to open up the right-click menu.<\/p>\n<p>Inside the right-click menu, select the \u201cExtract Here\u201d option. Selecting this option will allow the Thunar file manager to instantly decompress the contents of your TarGZ archive file to the folder the file is located in.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-402155 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-unzip-targz-files-in-linux.png\" alt=\"\" width=\"1200\" height=\"744\"\/><\/p>\n<p>When the decompression is finished, you\u2019ll be able to access the decompressed files. Be sure to repeat this process on XFCE each time you need to unzip a TarGZ archive.<\/p>\n<h2>Unzip TarGZ files in MATE<\/h2>\n<p>Those on the Mate desktop that need to unzip a TarGZ file will need to make use of the Caja file manager. This file manager, like all Linux file managers, has support for decompressing Tar archives built-in. Here\u2019s how to do it.\u00a0<\/p>\n<p>To start, open up the Caja file manager. You can do this by clicking on the home folder on the desktop or by searching for the file manager in the app menu. From here, go to the folder in which the TarGZ file is located. In this example, it is the \u201chome\u201d folder.<\/p>\n<p>Once in the location of the TarGZ archive, select it with the mouse. Then, right-click on it with the mouse to open up the right-click menu. In this menu, find the \u201cExtract Here\u201d option, and select it. When you choose this option, the TarGZ archive will decompress.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-402145 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-unzip-targz-files-in-linux-3.png\" alt=\"\" width=\"1200\" height=\"661\"\/><\/p>\n<p>After everything is decompressed, you\u2019ll have access to the contents inside of the TarGZ file in Mate. Be sure to repeat this process each time you wish to extract a TarGZ archive in Mate.<\/p>\n<h2>Unzip TarGZ files with the terminal<\/h2>\n<p>If you don\u2019t want to deal with the file manager, it\u2019s also possible to extract via the command line. To start, open up a terminal window by pressing <strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard.\u00a0<\/p>\n<p>With the terminal open, use the command below to extract it.<\/p>\n<pre>\ntar xvf \/home\/USERNAME\/location\/of\/tar\/archive\/my-archive.tar.gz\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles TarGZ archives are a staple of Linux. Many programs are distributed in this file format, as well as other files. Despite this, many Linux users do not know how to unzip TarGZ files in Linux.\u00a0 In this guide, we\u2019ll show you that it\u2019s effortless to unzip TarGZ files on Linux. To get started, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1540"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1540"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1540\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1541"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}