{"id":21146,"date":"2017-01-27T07:43:14","date_gmt":"2017-01-27T13:43:14","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=21146"},"modified":"2023-03-23T05:27:35","modified_gmt":"2023-03-23T10:27:35","slug":"how-to-install-and-use-wget-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/","title":{"rendered":"How to Install wget on Ubuntu"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\r\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1200\" height=\"630\" class=\"wp-image-24038\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu.jpg\" alt=\"install and use wget on Ubuntu\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu.jpg 1200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-150x79.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-300x158.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-768x403.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-1024x538.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-860x452.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-680x357.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-500x263.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-400x210.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-200x105.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu-50x26.jpg 50w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>We&#8217;ll show you, how to install and use wget on Ubuntu. Wget is a free software package that can be used for retrieving files using HTTP, HTTPS, and FTP which are considered as the most widely-used Internet protocols. Its name comes from World Wide Web + get. Installing wget on Ubuntu is an easy task, just carefully follow our tutorial below. wget has many features to make retrieving large files or mirroring entire web or FTP sites easy, including:<\/p>\r\n\r\n\r\n\r\n<p><!--more--><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Can resume aborted downloads, using REST and RANGE;<\/li>\r\n<li>Can use filename wild cards and recursively mirror directories;<\/li>\r\n<li>NLS-based message files for many different languages;<\/li>\r\n<li>Optionally converts absolute links in downloaded documents to relative, so that downloaded documents may link to each other locally;<\/li>\r\n<li>Runs on most UNIX-like operating systems as well as Microsoft Windows;<\/li>\r\n<li>Supports HTTP proxies;<\/li>\r\n<li>Supports HTTP cookies;<\/li>\r\n<li>Supports persistent HTTP connections;<\/li>\r\n<li>Unattended \/ background operation;<\/li>\r\n<li>Uses local file timestamps to determine whether documents need to be re-downloaded when mirroring;<\/li>\r\n<li>GNU Wget is distributed under the GNU General Public License.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>wget<\/strong> is non-interactive which gives great flexibility in using it. It can be easily called from scripts, cron jobs, terminals, etc. It can work in the background even if a user is not logged in.<\/p>\r\n\r\n\r\n\r\n<p>In this article, we will install <strong>wget<\/strong> on an <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Ubuntu VPS<\/a> and provide some useful <strong>wget<\/strong> example commands. Please note that even though tested on Ubuntu 16.04, the instructions can be used on any other Ubuntu version.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id=\"h-requirements\">REQUIREMENTS<\/h3>\r\n\r\n\r\n\r\n<p>We will be using our SSD 1 <a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\">managed VPS hosting<\/a> plan running Ubuntu 16.04<\/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-69f0ab38c888e\" 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-69f0ab38c888e\"  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-and-use-wget-on-ubuntu\/#1-LOG-IN-TO-YOUR-SERVER-VIA-SSH\" >1. LOG IN TO YOUR SERVER VIA SSH<\/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-and-use-wget-on-ubuntu\/#2-UPDATE-THE-SYSTEM\" >2. UPDATE THE SYSTEM<\/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-and-use-wget-on-ubuntu\/#3-INSTALL-AND-USE-WGET\" >3. INSTALL AND USE WGET<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-1-log-in-to-your-server-via-ssh\"><span class=\"ez-toc-section\" id=\"1-LOG-IN-TO-YOUR-SERVER-VIA-SSH\"><\/span>1. LOG IN TO YOUR SERVER VIA SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># ssh root@server_ip<\/pre>\r\n\r\n\r\n\r\n<p>You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># lsb_release -a<\/pre>\r\n\r\n\r\n\r\n<p>You should get this output:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">Distributor ID: Ubuntu\r\nDescription:    Ubuntu 16.04.1 LTS\r\nRelease:        16.04\r\nCodename:       xenial<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-2-update-the-system\"><span class=\"ez-toc-section\" id=\"2-UPDATE-THE-SYSTEM\"><\/span>2. UPDATE THE SYSTEM<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Make sure your server is fully up to date using:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># apt update &amp;&amp; apt upgrade<\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-3-install-and-use-wget\"><span class=\"ez-toc-section\" id=\"3-INSTALL-AND-USE-WGET\"><\/span>3. INSTALL AND USE WGET<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p>Once the upgrades are done, install wget using:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># apt install wget<\/pre>\r\n\r\n\r\n\r\n<p>We can now start using wget.<\/p>\r\n\r\n\r\n\r\n<p>I will now download the latest WordPress version using wget:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget https:\/\/wordpress.org\/latest.zip<\/pre>\r\n\r\n\r\n\r\n<p>The output from this command will include a download status bar which will tell you how far the download has come and what is the download speed.<\/p>\r\n\r\n\r\n\r\n<p>wget by default picks the filename according to the last word after the forward slash. Sometimes this can be an issue as some downloads will have a clumsy name. To avoid this, you can save the file into a value of your choice. Let&#8217;s modify the WordPress download command a little bit:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget -o wordpress.zip https:\/\/wordpress.org\/latest.zip<\/pre>\r\n\r\n\r\n\r\n<p>Now the downloaded file will be named <strong>wordpress.zip<\/strong> and not latest.zip as the default use of wget would have named it.<\/p>\r\n\r\n\r\n\r\n<p>You can even specify the download speed. For example:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget --limit-rate=400k https:\/\/wordpress.org\/latest.zip<\/pre>\r\n\r\n\r\n\r\n<p>I had cases when I downloaded big files and due to a temporarily lost connection, the download was interrupted. But have no fear, because the -c flag is here. Using -c in the command will continue with the download from where it stopped. Example:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget -c http:\/\/sampledomain.com\/file.zip<\/pre>\r\n\r\n\r\n\r\n<p>This is why it is recommended to put the download in the background when the file is big. This can be done using -b:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget -b http:\/\/sampledomain.com\/file.zip<\/pre>\r\n\r\n\r\n\r\n<p>Sometimes the servers that the files are being downloaded from can be busy and slow. So using wget in its most natural form is not recommended. You can set up a number of retries for wget to download the file.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget --tries=15 https:\/\/wordpress.org\/latest.zip<\/pre>\r\n\r\n\r\n\r\n<p>You can also download multiple files using one command. First, let&#8217;s open a file. Call it download.txt:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># touch download.txt<\/pre>\r\n\r\n\r\n\r\n<p>Now using a text editor of your choice enter the download URL&#8217;s in the file. We are using nano:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># nano download.txt<\/pre>\r\n\r\n\r\n\r\n<p>We are closing and saving the file. Let&#8217;s see what we entered:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># cat download.txt\r\n\r\nhttps:\/\/wordpress.org\/latest.zip\r\n\r\nhttps:\/\/downloads.joomla.org\/us\/cms\/joomla3\/3-6-5\/joomla_3-6-5-stable-full_package-zip\r\n\r\nhttps:\/\/ftp.drupal.org\/files\/projects\/drupal-8.2.4.tar.gz<\/pre>\r\n\r\n\r\n\r\n<p>Now use the below command to download all the files from the download.txt file:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget -i download.txt<\/pre>\r\n\r\n\r\n\r\n<p>Very useful, right?<\/p>\r\n\r\n\r\n\r\n<p>You can also find out the date when a web page has been modified last:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget \u2010\u2010server-response \u2010\u2010spider http:\/\/google.com<\/pre>\r\n\r\n\r\n\r\n<p>We mentioned in the introduction of this article that wget can download recursively. This way you can download a whole directory. Example:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget -r sampledomain.com\/directory<\/pre>\r\n\r\n\r\n\r\n<p>Once, I had to <a href=\"https:\/\/www.rosehosting.com\/website-migration.html\">migrate a Magento website<\/a>, but only had FTP access to the account, and believe me, migrating over FTP can be slow. So I had to use wget to download the data. You are probably wondering how? Well, this is what I did:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Created an archive file that contains the Magento files\/directories;<\/li>\r\n<li>Moved that file into the website document root;<\/li>\r\n<li>Used wget to download the file.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>I reckon that you already know how I downloaded the file, but here goes that magic command that saved me from a slow migration:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget http:\/\/magento_domain.com\/archivedmagento.zip<\/pre>\r\n\r\n\r\n\r\n<p>Since Magento data can be big, you can use some of the above options (flags) to put wget in the background or continue from where the download was interrupted.<\/p>\r\n\r\n\r\n\r\n<p>While we are talking about FTP, you can also use wget to perform an FTP download:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget ftp-URL<\/pre>\r\n\r\n\r\n\r\n<p>Or download using the FTP username and password:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># wget --ftp-user=USERNAME --ftp-password=FTP_PASSWORD URL<\/pre>\r\n\r\n\r\n\r\n<p>As you can see, wget is a very useful tool for everyday Linux administration. You can find more info about wget and its options from the wget man page.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># man wget\r\n\r\nWGET(1)                                                                      GNU Wget                                          WGET(1)\r\n\r\nNAME\r\n       Wget - The non-interactive network downloader.\r\n\r\nSYNOPSIS\r\n       wget [option]... [URL]...\r\n\r\nDESCRIPTION\r\n  GNU Wget is a free utility for non-interactive download of files from the Web.  It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through\r\n  HTTP proxies.\r\n\r\n  Wget is non-interactive, meaning that it can work in the background, while the user is not logged on.  This allows you to start a retrieval and disconnect\r\n  from the system, letting Wget finish the work.  By contrast, most of the Web browsers require constant user's presence, which can be a great hindrance when\r\n  transferring a lot of data.\r\n\r\n  Wget can follow links in HTML, XHTML, and CSS pages, to create local versions of remote web sites, fully recreating the directory structure of the original\r\n  site.  This is sometimes referred to as \"recursive downloading.\"  While doing that, Wget respects the Robot Exclusion Standard (\/robots.txt).  Wget can be\r\n  instructed to convert the links in downloaded files to point at the local files, for offline viewing.\r\n\r\n  Wget has been designed for robustness over slow or unstable network connections; if a download fails due to a network problem, it will keep retrying until\r\n  the whole file has been retrieved.  If the server supports regetting, it will instruct the server to continue the download from where it left off.\r\n\r\nOPTIONS\r\n Option Syntax\r\n  Since Wget uses GNU getopt to process command-line arguments, every option has a long form along with the short one.  Long options are more convenient to\r\n  remember, but take time to type.  You may freely mix different option styles, or specify options after the command-line arguments.  Thus you may write:\r\n\r\n          wget -r --tries=10 http:\/\/fly.srk.fer.hr\/ -o log\r\n\r\n  The space between the option accepting an argument and the argument may be omitted.  Instead of -o log you can write -olog.\r\n\r\n  You may put several options that do not require arguments together, like:\r\n\r\n          wget -drc \r\n\r\n  This is completely equivalent to:\r\n\r\n          wget -d -r -c<\/pre>\r\n\r\n\r\n\r\n<p>Hopefully, you now have a clearer view of what <strong>wget<\/strong> can do for you.<\/p>\r\n\r\n\r\n\r\n<p>Of course, if you use one of our <a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\">VPS Hosting<\/a> services, all you have to do is ask our expert Linux admins to installblog\/how-to-speed-up-magento\/<strong>\u00a0<\/strong>or offer some advice on how to use it. They are available 24\u00d77 and will take care of your request immediately. If this post helped you, you may also like our post on <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-linux\/\">How to Install and Use Wget on Linux<\/a>.<\/p>\r\n\r\n\r\n\r\n<p><span style=\"color: #ff0000;\">PS.<\/span> If you liked this post on how to install and use wget on Ubuntu, please share it with your friends on social networks or simply leave a reply below. Thanks.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ll show you, how to install and use wget on Ubuntu. Wget is a free software package that can be &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install wget on Ubuntu\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#more-21146\" aria-label=\"Read more about How to Install wget on Ubuntu\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":24038,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,1698],"tags":[59,1479],"class_list":["post-21146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-and-tricks","category-ubuntu","tag-ubuntu","tag-wget","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 wget on Ubuntu | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install wget on Ubuntu in this step-by-step tutorial. Setting up wget on Ubuntu is pretty straightforward.\" \/>\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-and-use-wget-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install wget on Ubuntu\" \/>\n<meta property=\"og:description\" content=\"How to Install wget on Ubuntu | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/\" \/>\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=\"2017-01-27T13:43:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-23T10:27:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\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=\"7 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-and-use-wget-on-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install wget on Ubuntu\",\"datePublished\":\"2017-01-27T13:43:14+00:00\",\"dateModified\":\"2023-03-23T10:27:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/\"},\"wordCount\":944,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/install-and-use-wget-on-Ubuntu.jpg\",\"keywords\":[\"ubuntu\",\"wget\"],\"articleSection\":[\"Tips and Tricks\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/\",\"name\":\"How To Install wget on Ubuntu | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/install-and-use-wget-on-Ubuntu.jpg\",\"datePublished\":\"2017-01-27T13:43:14+00:00\",\"dateModified\":\"2023-03-23T10:27:35+00:00\",\"description\":\"Learn how to install wget on Ubuntu in this step-by-step tutorial. Setting up wget on Ubuntu is pretty straightforward.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/install-and-use-wget-on-Ubuntu.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/install-and-use-wget-on-Ubuntu.jpg\",\"width\":1200,\"height\":630,\"caption\":\"how to install and use wget on Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-use-wget-on-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install wget on Ubuntu\"}]},{\"@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 wget on Ubuntu | RoseHosting","description":"Learn how to install wget on Ubuntu in this step-by-step tutorial. Setting up wget on Ubuntu is pretty straightforward.","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-and-use-wget-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Install wget on Ubuntu","og_description":"How to Install wget on Ubuntu | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2017-01-27T13:43:14+00:00","article_modified_time":"2023-03-23T10:27:35+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu.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":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install wget on Ubuntu","datePublished":"2017-01-27T13:43:14+00:00","dateModified":"2023-03-23T10:27:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/"},"wordCount":944,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu.jpg","keywords":["ubuntu","wget"],"articleSection":["Tips and Tricks","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/","name":"How To Install wget on Ubuntu | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu.jpg","datePublished":"2017-01-27T13:43:14+00:00","dateModified":"2023-03-23T10:27:35+00:00","description":"Learn how to install wget on Ubuntu in this step-by-step tutorial. Setting up wget on Ubuntu is pretty straightforward.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2017\/01\/install-and-use-wget-on-Ubuntu.jpg","width":1200,"height":630,"caption":"how to install and use wget on Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-use-wget-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install wget on Ubuntu"}]},{"@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\/21146","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=21146"}],"version-history":[{"count":7,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/21146\/revisions"}],"predecessor-version":[{"id":43223,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/21146\/revisions\/43223"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/24038"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=21146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=21146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=21146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}