{"id":15923,"date":"2022-03-09T05:14:47","date_gmt":"2022-03-09T05:14:47","guid":{"rendered":"https:\/\/linuxways.net\/?p=15923"},"modified":"2022-03-09T05:14:47","modified_gmt":"2022-03-09T05:14:47","slug":"how-to-install-wget-on-debian","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-install-wget-on-debian\/","title":{"rendered":"How to Install wget on Debian\u00a0"},"content":{"rendered":"<p>GNU wget package is a free command-line tool that allows you to download single or multiple files from the web. It offers different options that allow you to download multiple files using HTTP, HTTPS, and FTP protocols, resume the download process, limit bandwidth, mirror websites, download in the background, etc.<\/p>\n<p>In this tutorial, we will explore how to<a href=\"https:\/\/linuxways.net\/de\/centos\/linux-wget-command-with-examples\/\"> install wget package<\/a> on Debian 11 bullseye distribution.<\/p>\n<p>When you install a package on your system using the `wget` command and you see the following message on the terminal.<\/p>\n<p><strong>Bash: wget command not found<\/strong><\/p>\n<p>It means the `wget` command is not installed on your system. In this case, you need to install the `wget` package on your system to resolve this error.<\/p>\n<h2>Steps to install wget on Debian 11<\/h2>\n<p>The following steps we can perform for the installation of wget on Debian 11 system:<\/p>\n<h3>Step 1: Update system apt repositories<\/h3>\n<p>Update the system packages index files by using the following command:<\/p>\n<pre>$ sudo apt-get update<\/pre>\n<p>It is recommended, always keep the newest version of an application in your system. So, you can upgrade the installed packages using the following command:<\/p>\n<pre>$ sudo apt upgrade<\/pre>\n<h3>Step 2: Find information about the wget package<\/h3>\n<p>First, search for the `wget` package by using the `apt-cache` command:<\/p>\n<pre>$ sudo apt-cache search wget<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"789\" height=\"401\" class=\"wp-image-15924\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-25.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-25.png 789w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-25-300x152.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-25-768x390.png 768w\" sizes=\"auto, (max-width: 789px) 100vw, 789px\" \/><\/p>\n<p>You can also directly retrieve the information about the wget package by using the following command:<\/p>\n<pre>$ sudo apt info wget<\/pre>\n<p>or<\/p>\n<pre>$ sudo apt-cache show wget<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"511\" class=\"wp-image-15925\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-26.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-26.png 790w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-26-300x194.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-26-768x497.png 768w\" sizes=\"auto, (max-width: 790px) 100vw, 790px\" \/><\/p>\n<h3>Step 3: Install Wget on Debian<\/h3>\n<p>Install the `wget` package by using the following command:<\/p>\n<pre>$ sudo apt-get install wget<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"403\" class=\"wp-image-15926\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-27.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-27.png 790w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-27-300x153.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-27-768x392.png 768w\" sizes=\"auto, (max-width: 790px) 100vw, 790px\" \/><\/p>\n<h2>Uninstall wget from Debian<\/h2>\n<p>You can also remove or uninstall the `wget` command by running the following command:<\/p>\n<pre>$ sudo apt-get remove wget<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"216\" class=\"wp-image-15927\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-28.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-28.png 793w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-28-300x82.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2022\/03\/word-image-28-768x209.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/p>\n<h2>How to use the Wget command?<\/h2>\n<p>The wget command allows you to download a package or utility through the command line. The syntax if the wget command is :<\/p>\n<pre>$ wget [options] URL<\/pre>\n<pre>$ wget <a href=\"http:\/\/www.domain.com\/file-name.zip\">http:\/\/www.domain.com\/file-name.zip<\/a><\/pre>\n<h2>Conclusion<\/h2>\n<p>We explained in this tutorial how to install wget command on Debian 11 bullseye distribution. Moreover, we noticed how to use the wget command and get package information. Using the wget command, you can download a single or even multiple files at a time through a command line. You can get more information about the wget command by visiting the <a href=\"https:\/\/www.gnu.org\/software\/wget\/\">official GNU<\/a> website.<\/p>","protected":false},"excerpt":{"rendered":"<p>GNU wget package is a free command-line tool that allows you to download single or multiple files from the web. It offers different options that allow you to&hellip;<\/p>","protected":false},"author":1,"featured_media":15997,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-15923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/15923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=15923"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/15923\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/15997"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=15923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=15923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=15923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}