Whenever you need to obtain information from the web, you sometimes open your net browser, go to the file in query, and let the downloading start. However do you know you are able to do the identical factor from the Linux command line? The command is wget.
The wget command makes use of a number of simultaneous connections that end in a lot sooner downloads. On high of that, wget is able to resuming downloads that had been interrupted by networking points, and, not like net browsers, wget is not burdened by cookies, add-ons, and different options that may gradual it down or make it much less dependable — particularly useful when you have to obtain a bigger file. Why relegate that to your browser?
Additionally: Want to save your old computer? Try one of these 8 Linux distros for free
As a substitute, when you’re utilizing Linux, choose to go the wget route. Let me present you the way.
Easy methods to set up wget
What you may want: To utilize wget, you may want a operating occasion of Linux and a consumer with sudo privileges (for the set up).
Wget ought to be put in in your distribution by default. If not, here is tips on how to get it. Log into Linux and open a terminal window. From there, listed below are the instructions for putting in wget on Ubuntu, Arch, and Fedora-based distributions.
- For Ubuntu-based distributions – sudo apt-get set up wget -y
- For Arch-based distributions – sudo pacman -S wget
- For Fedora-based distributions – sudo dnf set up wget -y
- For openSUSE – sudo zypper wget
wget https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-desktop-amd64.iso
One factor to bear in mind is that the file will obtain to the listing during which you’re at present working.
As an example you might have the listing /ISOS and also you need to obtain the Ubuntu ISO to that listing. For that, you utilize the -P choice (for Path), like so:
wget -P /ISO/ https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-desktop-amd64.iso
Easy methods to obtain a number of information directly with wget
Here is one other cool trick. With wget, you’ll be able to obtain a number of information directly. Here is how.
First, you have to create a brand new file that can home the URLs for the information to be downloaded. As an example you need to obtain ISO information for Ubuntu, Fedora, and Arch Linux. Create the file with the command:
In that file, add the three URLs for the downloads, like so:
https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-desktop-amd64.iso https://obtain.fedoraproject.org/pub/fedora/linux/releases/42/Workstation/x86_64/iso/Fedora-Workstation-Stay-42-1.1.x86_64.iso https://mirror.adectra.com/archlinux/iso/2025.06.01/archlinux-2025.06.01-x86_64.iso
Save and shut the file.
To start out the obtain, challenge the command:
You’ll be able to then stroll away and let the downloads full.
Additionally: The best Linux VPNs: Expert tested and reviewed
As an example a obtain will get interrupted. As a substitute of downloading your complete file once more, simply run the command with the -c choice, like so:
wget -c https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-desktop-amd64.iso
Should you’re downloading by way of a file (as we did above) and it will get interrupted, you might proceed it like so:
And that is all there may be to utilizing wget to extra reliably (and shortly) obtain information to your Linux machine.
Get the morning’s high tales in your inbox every day with our Tech Today newsletter.