23.4 C
New York

Right here's a quicker option to obtain recordsdata on Linux – with out a net browser

Published:


Weiquan Lin/Getty

If you need to obtain recordsdata 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 lead to a lot quicker downloads. On prime 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 sluggish it down or make it much less dependable — particularly useful when it is advisable to obtain a bigger file. Why relegate that to your browser?

Additionally: Wish to save your outdated laptop? Attempt certainly one of these 8 Linux distros free of charge

As an alternative, in case you’re utilizing Linux, choose to go the wget route. Let me present you the way.

The right way to set up wget

What you will want: To utilize wget, you will 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, this is learn 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


Present extra

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 wherein you might be presently working.

As an example you’ve the listing /ISOS and also you need to obtain the Ubuntu ISO to that listing. For that, you employ the -P choice (for Path), like so:


Present extra

wget -P /ISO/ https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-desktop-amd64.iso

The right way to obtain a number of recordsdata without delay with wget

Here is one other cool trick. With wget, you’ll be able to obtain a number of recordsdata without delay. Here is how.

First, it is advisable to create a brand new file that can home the URLs for the recordsdata to be downloaded. As an example you need to obtain ISO recordsdata for Ubuntu, Fedora, and Arch Linux. Create the file with the command:


Present extra

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, concern the command:


Present extra

You’ll be able to then stroll away and let the downloads full.

Additionally: One of the best Linux VPNs: Skilled examined and reviewed

As an example a obtain will get interrupted. As an alternative of downloading your entire file once more, simply run the command with the -c choice, like so:


Present extra

wget -c https://releases.ubuntu.com/24.04.2/ubuntu-24.04.2-desktop-amd64.iso

In case you’re downloading by way of a file (as we did above) and it will get interrupted, you would proceed it like so:

And that is all there may be to utilizing wget to extra reliably (and shortly) obtain recordsdata to your Linux machine. 

Get the morning’s prime tales in your inbox every day with our Tech At the moment e-newsletter.





Supply hyperlink

Related articles

Recent articles

EuroAsia Times