**Here’s how you can fix the “bash: wget command not found” error in Debian, Ubuntu and other distros.**
The famous wget utility is used to download any files from a URL via a terminal. It’s one of the most popular and fastest utilities for Linux terminals.
Being a GNU utility, wget brings some fantastic features to the table. You can implement any project, such as extracting information from the web, downloading files, pausing/resuming, etc.
However, many [Linux distros][1] do not come with this utility with default installation. So, when you want to download some files using wget, you get the wget command not found error.
Fixing it is really easy.
### Fixing wget command not found
All you need to do is open a terminal prompt and run the following command to install wget.
For Ubuntu, Linux Mint, elementaryOS, Debian and related distros:
```
sudo apt install wget
```
Arch Linux:
```
pacman -S wget
```
For Fedora (although it includes by default):
```
sudo dnf install wget
```
After installation, you can use the wget program. You can also verify whether it’s installed correctly by checking its version.
```
wget --version
```
### How to use wget
Here are some examples of how you can use the wget program.
The syntax of the command is below:
```
wget [OPTION]… [URL]…
```
For example, if I want to download an Ubuntu ISO file, then I can run the following command to download with the direct URL.
Similarly, you can also download using the above command or, by combining several switches as described below. You can also get this via `wget --help` command.