{"id":27724,"date":"2018-08-09T07:00:04","date_gmt":"2018-08-09T12:00:04","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=27724"},"modified":"2023-04-05T02:19:44","modified_gmt":"2023-04-05T07:19:44","slug":"how-to-install-tar-gz-in-centos","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/","title":{"rendered":"How to Install tar.gz in CentOS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"742\" height=\"372\" class=\"wp-image-27741\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1.jpg\" alt=\"How to Install tar.gz in CentOS\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Most of the time you&#8217;ll be installing packages with the built-in Linux package manager. For CentOS, that&#8217;s yum. For Debian, it&#8217;s apt-get and so on. If you&#8217;re lucky. Unfortunately, not all useful software is neatly packaged in repositories.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"alignright size-large is-resized\"><img decoding=\"async\" class=\"wp-image-37417\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/06\/install-tar.gz-in-centos.png\" alt=\"install tar.gz in centos\" width=\"115\" height=\"115\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/06\/install-tar.gz-in-centos.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/06\/install-tar.gz-in-centos-150x150.png 150w\" sizes=\"(max-width: 115px) 100vw, 115px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>There&#8217;s a lot of it lying wild out there, just waiting to be compiled and installed. In this article, we&#8217;ll show you how to install tar.gz files using the traditional manner on a fresh CentOS install.<\/p>\r\n\r\n\r\n\r\n<p><!--more--><\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id=\"h-the-right-way-to-install-tar-gz-files\">The RIGHT Way to Install tar.gz Files<\/h3>\r\n\r\n\r\n\r\n<p>One of the reasons why package managers like yum are so useful is that they take care of cleaning up after you&#8217;re done. To uninstall a package, we just need to type:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">yum remove xyz<\/pre>\r\n\r\n\r\n\r\n<p>However, packages in the wild might not be well made. There might not be a default way to remove the package and all its files. Later on, we&#8217;ll show you a safe way to do this so that you can remove packages completely even without an uninstaller. But for now, we&#8217;re going to assume that the package you want to install is well made and adheres to the important coding standards.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id=\"h-permissions-to-compile-and-install-tar-gz-files\">Permissions to Compile and Install tar.gz Files<\/h3>\r\n\r\n\r\n\r\n<p>The final process of installing these files requires root permissions. If you&#8217;re not logged in as root (and ideally you shouldn&#8217;t be!), then you&#8217;ll need to use the &#8220;sudo&#8221; command. If you don&#8217;t have a user capable of running sudo, then either you create one, or log in as root yourself. So let&#8217;s get started!<\/p>\r\n\r\n\r\n\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69eff976eaa02\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69eff976eaa02\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#Step-1-Install-the-Development-Tools\" >Step 1: Install the Development Tools<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#Step-2-Get-the-URL-of-the-targz-File-to-Download\" >Step 2: Get the URL of the tar.gz File to Download<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#Step-3-Download-the-File\" >Step 3: Download the File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#Step-4-Unpacking-targz-into-a-New-Folder\" >Step 4: Unpacking tar.gz into a New Folder<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#Step-5-Installing-the-Package\" >Step 5: Installing the Package<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#Step-6-Running-the-Program\" >Step 6: Running the Program<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#Step-7-Removing-the-Package\" >Step 7: Removing the Package<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-step-1-install-the-development-tools\"><span class=\"ez-toc-section\" id=\"Step-1-Install-the-Development-Tools\"><\/span>Step 1: Install the Development Tools<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>The Linux development tools are a bunch of around 100 packages (including dependencies) that are required to compile programs. You can check to see if they&#8217;re installed by typing something like:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">gcc -v<\/pre>\r\n\r\n\r\n\r\n<p>If it says &#8220;command not found&#8221;, then you need to install the tools by typing:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">sudo yum groupinstall \"Development tools\"<\/pre>\r\n\r\n\r\n\r\n<p>This is for CentOS. For Ubuntu, it&#8217;s called the &#8220;build-essential&#8221; package and so on. Installing these requires admin permissions:<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"354\" class=\"wp-image-27725\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Install-tar.gz-Files-in-CentOS-7.jpg\" alt=\"Install tar.gz Files in CentOS 7\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Install-tar.gz-Files-in-CentOS-7.jpg 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Install-tar.gz-Files-in-CentOS-7-150x89.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Install-tar.gz-Files-in-CentOS-7-300x177.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Once the dev tools have been installed, it&#8217;s time to compile!<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-2-get-the-url-of-the-tar-gz-file-to-download\"><span class=\"ez-toc-section\" id=\"Step-2-Get-the-URL-of-the-targz-File-to-Download\"><\/span>Step 2: Get the URL of the tar.gz File to Download<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>For this example, we&#8217;re using the free sample &#8220;Hello World&#8221; packages at gnu.org located here:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">http:\/\/ftp.gnu.org\/gnu\/hello\/<\/pre>\r\n\r\n\r\n\r\n<p>We find the one we want, right click and copy the URL of the target file:<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"304\" class=\"wp-image-27726\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Installing-tar.gz-Files-in-CentOS.jpg\" alt=\"How to Install tar.gz Files in CentOS\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Installing-tar.gz-Files-in-CentOS.jpg 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Installing-tar.gz-Files-in-CentOS-150x76.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Installing-tar.gz-Files-in-CentOS-300x152.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Once we have that, we download it.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-3-download-the-file\"><span class=\"ez-toc-section\" id=\"Step-3-Download-the-File\"><\/span>Step 3: Download the File<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>For this, we just use the &#8220;wget&#8221; command with the file URL that we obtained in Step 2 like this:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">wget http:\/\/ftp.gnu.org\/gnu\/hello\/hello-2.10.tar.gz<\/pre>\r\n\r\n\r\n\r\n<p>This will initiate the transfer to our system:<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"258\" class=\"wp-image-27728\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Install-tar.gz-in-CentOS.jpg\" alt=\" Install tar.gz in CentOS\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Install-tar.gz-in-CentOS.jpg 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Install-tar.gz-in-CentOS-150x65.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Install-tar.gz-in-CentOS-300x129.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Once the transfer bar is complete, we have to unzip it.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-4-unpacking-tar-gz-into-a-new-folder\"><span class=\"ez-toc-section\" id=\"Step-4-Unpacking-targz-into-a-New-Folder\"><\/span>Step 4: Unpacking tar.gz into a New Folder<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>The tar.gz file will now be in your current directory. We unpack it like this:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">tar -zxf hello-2.10.tar.gz<\/pre>\r\n\r\n\r\n\r\n<p>This will create a new folder with the file name minus the extension as shown here:<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"126\" class=\"wp-image-27729\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS.jpg\" alt=\"How to Install tar.gz Files in CentOS\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS.jpg 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-150x32.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-300x63.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Navigate to this folder by typing;<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">cd hello-2.10<\/pre>\r\n\r\n\r\n\r\n<p>Now it&#8217;s time to install the package!<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-5-installing-the-package\"><span class=\"ez-toc-section\" id=\"Step-5-Installing-the-Package\"><\/span>Step 5: Installing the Package<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>The installation process consists of these three commands one after the other:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">.\/configure\r\nmake\r\nsudo make install<\/pre>\r\n\r\n\r\n\r\n<p>Note that you need &#8220;sudo&#8221; permissions for the last one! Type them in one by one, wait for them to complete, and then proceed to the next command. At the end, it should compile and install without any errors:<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"394\" class=\"wp-image-27730\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/install-tar.gz-CentOS.jpg\" alt=\"install tar.gz CentOS\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/install-tar.gz-CentOS.jpg 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/install-tar.gz-CentOS-150x99.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/install-tar.gz-CentOS-300x197.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-6-running-the-program\"><span class=\"ez-toc-section\" id=\"Step-6-Running-the-Program\"><\/span>Step 6: Running the Program<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>The package should have installed its binaries into the system and added the $PATH variables. So just type in the command as shown here:<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"291\" class=\"wp-image-27731\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Set-up-tar.gz-in-CentOS.jpg\" alt=\"Set up tar.gz in CentOS\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Set-up-tar.gz-in-CentOS.jpg 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Set-up-tar.gz-in-CentOS-150x73.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/Set-up-tar.gz-in-CentOS-300x146.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>As you can see, it works! We&#8217;ve successfully compiled and installed a Linux package!<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-step-7-removing-the-package\"><span class=\"ez-toc-section\" id=\"Step-7-Removing-the-Package\"><\/span>Step 7: Removing the Package<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Here you&#8217;ll have to hope and pray that the package developer has included an uninstall script. If not, removing all the files that where installed can be a massive pain in the neck. If the code is good however, you should be able to navigate to the installation folder as in Step 4 and type:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">sudo make uninstall<\/pre>\r\n\r\n\r\n\r\n<p>And this should remove the package from your system. Later on, you&#8217;ll see how to install packages so that you don&#8217;t have to rely on the good graces of the programmer for uninstallation. But right now, this is the &#8220;standard&#8221; way to install tar.gz files in Linux.<\/p>\r\n\r\n\r\n<hr class=\"wp-block-separator\" \/>\r\n\r\n\r\n<p>Of course, if you are one of our\u00a0<a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noreferrer noopener\">CentOS <\/a><a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">Hosting<\/a>\u00a0customers, you don\u2019t have to Install tar.gz in CentOS, simply ask our admins, sit back and relax. Our admins will Install tar.gz in CentOS for you immediately.<\/p>\r\n\r\n\r\n\r\n<p><strong>PS.<\/strong> If you liked this post about How to Install tar.gz in CentOS, please share it with your friends on social networks or simply leave a comment in the comments section. Thanks.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\r\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-vivid-cyan-blue-background-color has-background\" href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\" target=\"_blank\" rel=\"noreferrer noopener\">Try out our fully-managed CentOS hosting today &#8211; starting at just $24.99\/month!<\/a><\/div>\r\n<\/div>\r\n","protected":false},"excerpt":{"rendered":"<p>Most of the time you&#8217;ll be installing packages with the built-in Linux package manager. For CentOS, that&#8217;s yum. For Debian, &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install tar.gz in CentOS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#more-27724\" aria-label=\"Read more about How to Install tar.gz in CentOS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":27741,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,13],"tags":[],"class_list":["post-27724","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-tutorials","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install tar.gz in CentOS - RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install tar.gz in CentOS using this detailed tutorial, explaining how to do it step by step.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install tar.gz in CentOS\" \/>\n<meta property=\"og:description\" content=\"How to Install tar.gz in CentOS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-09T12:00:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-05T07:19:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install tar.gz in CentOS\",\"datePublished\":\"2018-08-09T12:00:04+00:00\",\"dateModified\":\"2023-04-05T07:19:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/\"},\"wordCount\":794,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/How-to-Install-tar.gz-in-CentOS-1.jpg\",\"articleSection\":[\"CentOS\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/\",\"name\":\"How to Install tar.gz in CentOS - RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/How-to-Install-tar.gz-in-CentOS-1.jpg\",\"datePublished\":\"2018-08-09T12:00:04+00:00\",\"dateModified\":\"2023-04-05T07:19:44+00:00\",\"description\":\"Learn how to install tar.gz in CentOS using this detailed tutorial, explaining how to do it step by step.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/How-to-Install-tar.gz-in-CentOS-1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/How-to-Install-tar.gz-in-CentOS-1.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install tar.gz in CentOS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tar-gz-in-centos\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install tar.gz in CentOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install tar.gz in CentOS - RoseHosting","description":"Learn how to install tar.gz in CentOS using this detailed tutorial, explaining how to do it step by step.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/","og_locale":"en_US","og_type":"article","og_title":"How to Install tar.gz in CentOS","og_description":"How to Install tar.gz in CentOS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2018-08-09T12:00:04+00:00","article_modified_time":"2023-04-05T07:19:44+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install tar.gz in CentOS","datePublished":"2018-08-09T12:00:04+00:00","dateModified":"2023-04-05T07:19:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/"},"wordCount":794,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1.jpg","articleSection":["CentOS","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/","name":"How to Install tar.gz in CentOS - RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1.jpg","datePublished":"2018-08-09T12:00:04+00:00","dateModified":"2023-04-05T07:19:44+00:00","description":"Learn how to install tar.gz in CentOS using this detailed tutorial, explaining how to do it step by step.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/07\/How-to-Install-tar.gz-in-CentOS-1.jpg","width":742,"height":372,"caption":"How to Install tar.gz in CentOS"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tar-gz-in-centos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install tar.gz in CentOS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/27724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=27724"}],"version-history":[{"count":7,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/27724\/revisions"}],"predecessor-version":[{"id":43230,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/27724\/revisions\/43230"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/27741"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=27724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=27724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=27724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}