{"id":1708,"date":"2021-12-16T13:06:17","date_gmt":"2021-12-16T10:06:17","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/02\/25\/how-to-extract-tar-gz-archives-in-ubuntu-guide\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/02\/25\/how-to-extract-tar-gz-archives-in-ubuntu-guide\/"},"modified":"2021-12-16T13:06:17","modified_gmt":"2021-12-16T10:06:17","slug":"how-to-extract-tar-gz-archives-in-ubuntu-guide","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1708-how-to-extract-tar-gz-archives-in-ubuntu-guide\/","title":{"rendered":"How to extract Tar GZ archives in Ubuntu [Guide]"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Not all Linux programs come in DEB or RPM packages. Some programs are distributed to Linux users inside of Tar GZ archive files. These files are compressed and the user must manually extract the contents.\u00a0<\/p>\n<p>A whole lot of new Ubuntu users do not understand how to extract Tar GZ archives. As a result, many users give up on Tar GZ archives. This guide will show you various ways you can extract Tar GZ archive files on Ubuntu.\u00a0<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395952 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-extract-tar-gz-archives-in-ubuntu-guide.png\" alt=\"\" width=\"1200\" height=\"668\"\/><\/p>\n<h2>Extract Tar GZ archives in Ubuntu \u2013 Ubuntu file manager<\/h2>\n<p>If you have a Tar GZ archive that you need to extract in Ubuntu, the Ubuntu File Manager is probably the best way to go. It\u2019s got a built-in feature that allows users to right-click on any archive and select the \u201cExtract\u201d button to extract the contents.<\/p>\n<p>In this section of the guide, we\u2019ll go over how you can use the Ubuntu file manager to extract tar archives. First, open up the Ubuntu file manager and use it to navigate the Tar GZ archive location you wish to extract.<\/p>\n<h3>Extract here<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395952 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-extract-tar-gz-archives-in-ubuntu-guide.png\" alt=\"\" width=\"1200\" height=\"668\"\/><\/p>\n<p>When you right-click on an archive in the Ubuntu file manager, you\u2019ll see \u201cExtract here.\u201d This function allows you to quickly extract the contents of any archive, including a Tar GZ file, and place it in the folder you\u2019re in, rather than having to specify exactly where to extract.<\/p>\n<p>First, right-click on the Tar GZ archive in the Ubuntu file manager with the mouse to do this on your system. Once in the right-click menu, look for the option \u201cExtract here,\u201d and click on it with the mouse.<\/p>\n<p>When you select the \u201cExtract here\u201d option, the Ubuntu file manager will not prompt you for any input. Instead, it will instantly extract the Tar GZ archive contents in the same folder as the Tar GZ archive.\u00a0<\/p>\n<h3>Extract to<\/h3>\n<p>If you wish to extract a Tar GZ archive contents on your Ubuntu system to a specific folder, rather than the same folder as the archive, you can use the \u201cExtract to\u201d function.\u00a0<\/p>\n<p>The \u201cExtract to\u201d function allows Ubuntu users to specify, before archive extraction, exactly where the archive\u2019s contents should go. So, if you want to place your Tar GZ archive contents in \u201cDocuments,\u201d you can select \u201cDocuments,\u201d and it\u2019ll go there.<\/p>\n<p>To use the \u201cExtract to\u201d function with the Ubuntu file manager, do the following. First, right-click on the Tar GZ archive within the Ubuntu file manager. Then, look through the right-click menu for \u201cExtract to,\u201d and select it with the mouse.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395951 size-full\" src=\"https:\/\/www.addictivetips.com\/app\/uploads\/2021\/02\/extract-to-fs8.png\" alt=\"\" width=\"1200\" height=\"827\"\/><\/p>\n<p>After selecting \u201cExtract to,\u201d a pop-up window will appear. In this pop-up window, locate the folder you wish to empty the Tar GZ archive contents to. Then, click the \u201cSelect\u201d button.<\/p>\n<p>Once you\u2019ve selected the \u201cSelect\u201d button, the Ubuntu file manager will extract your Tar GZ archive to the folder you\u2019ve specified.<\/p>\n<h2>Extract Tar GZ archives in Ubuntu \u2013 Archive Manager<\/h2>\n<p>Another way to extract Tar GZ archives on Ubuntu is with the pre-installed Archive Manager tool. To start the extraction process, press the\u00a0<strong>Win\u00a0<\/strong>key on the keyboard to open up the Gnome Shell search box.\u00a0<\/p>\n<p>Once the Gnome Shell search box is open, type in \u201cArchive Manager.\u201d Then, click on the app with the name \u201cArchive Manager\u201d in the search results.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395950 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-extract-tar-gz-archives-in-ubuntu-guide-2.png\" alt=\"\" width=\"1200\" height=\"891\"\/><\/p>\n<p>When the Archive Manager application is open on the Ubuntu desktop, search for the menu on the right and click on it. Inside the menu, find the \u201cOpen\u201d button, and select it.<\/p>\n<p>After selecting the \u201cOpen\u201d button in the menu, a file browser will appear. In the file browser, locate your Tar GZ archive. Once you\u2019ve selected your Tar GZ archive, the Archive Manager will load it up into the UI.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-395979 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-extract-tar-gz-archives-in-ubuntu-guide-3.png\" alt=\"\" width=\"1200\" height=\"897\"\/><\/p>\n<p>To extract, find the \u201cExtract\u201d button, and click it to extract the contents\u00a0of your Tar GZ archive.<\/p>\n<h2>Extract Tar GZ archives in Ubuntu \u2013 Terminal<\/h2>\n<p>A third way to extract Tar GZ archives in Ubuntu is with the terminal, using the\u00a0<strong>tar\u00a0<\/strong>command. The terminal extraction method is very versatile, especially if you prefer to use the command-line for most things on Ubuntu.<\/p>\n<p>To start the extraction process, you will need to navigate the Tar GZ archive location on your PC. In this example, our Tar GZ archive is located in the \u201cDocuments\u201d folder. Yours will differ.<\/p>\n<pre>\ncd ~\/Documents\n<\/pre>\n<p>Once inside of the directory that has your Tar GZ archive, the extraction can begin. Using the\u00a0<strong>tar xvf<\/strong>, extract your Tar GZ archive. Keep in mind that the contents will be extracted in the same folder as the archive.<\/p>\n<pre>\ntar xvf my-tar-gz-archive.tar.gz\n<\/pre>\n<p>If you\u2019d like to specify where the contents are extracted, use the <strong>-C\u00a0<\/strong>command-line switch. For example, to extract the Tar GZ archive to the \u201cDownloads\u201d folder, you\u2019d enter:<\/p>\n<pre>\ntar xvf my-tar-gz-archive.tar.gz -C ~\/Downloads\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Not all Linux programs come in DEB or RPM packages. Some programs are distributed to Linux users inside of Tar GZ archive files. These files are compressed and the user must manually extract the contents.\u00a0 A whole lot of new Ubuntu users do not understand how to extract Tar GZ archives. As a &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1709,"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\/1708"}],"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=1708"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1708\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1709"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}