While you wish to obtain recordsdata from the web, you usually 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 quicker downloads. On high of that, wget is able to resuming downloads that have been interrupted by networking points, and, in contrast to net browsers, wget is not burdened by cookies, add-ons, and different options that may sluggish it down or make it much less dependable — particularly useful when that you must obtain a bigger file. Why relegate that to your browser?
Additionally: Need to save your outdated pc? Strive considered one of these 8 Linux distros without cost
As a substitute, for those who’re utilizing Linux, decide to go the wget route. Let me present you the way.
Tips on how to set up wget
What you may want: To utilize wget, you may want a working occasion of Linux and a person 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 here 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 presently working.
For example you may have the listing /ISOS and also you wish 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
Tips on how to obtain a number of recordsdata without delay with wget
This is one other cool trick. With wget, you’ll be able to obtain a number of recordsdata without delay. This is how.
First, that you must create a brand new file that may home the URLs for the recordsdata to be downloaded. For example you wish to obtain ISO recordsdata 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-Reside-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 begin the obtain, problem the command:
You possibly can then stroll away and let the downloads full.
Additionally: The perfect Linux VPNs: Skilled examined and reviewed
For example a obtain will get interrupted. As a substitute of downloading the whole 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
When you’re downloading by way of a file (as we did above) and it will get interrupted, you can proceed it like so:
And that is all there’s to utilizing wget to extra reliably (and rapidly) obtain recordsdata to your Linux machine.
Get the morning’s high tales in your inbox every day with our Tech Immediately e-newsletter.