Linux wget missing URL?Use CentOS wget install command

just installedCentOS After 7, want to download using wget commandInstall VestaCPfile, an error message like this may appear:

wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

The reason you get the error "wget ​​is missing a url" is because usuallyLinuxSystem, when installing CentOS minimally, wget is not installed by default.

How to install wget on CentOS 7?

Please enter the following wget install command ▼

yum -y install wget
yum -y install setup 
yum -y install perl

If this happens, GCC is not installed ▼

Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]

Install GCC and make together ▼

yum install gcc make

what is wget?

CentOS wget is a free tool for automatically downloading files from the web.

  • It supports HTTP, HTTPS and FTP protocols and can use HTTP proxy.
  • The so-called automatic download means that CentOS wget can be executed in the background after the user logs out of the system.
  • This means that you can log into the system, start the CentOS wget download task, and then log out of the system.
  • CentOS wget will execute in the background until the task is complete.
  • Compared to most other browsers, downloading large amounts of data requires constant user involvement and less hassle.

recursive download

Wget can follow link-related downloads on HTML pages to create local versions of remote servers, completely rebuilding the original website's directory structure.This is also known as "recursive download".

When downloading recursively, wget follows the robots exclusion criteria (/robots.txt). Wget can be converted to point to a local file and download it for offline browsing.

wget is very stable

It has strong adaptability when the bandwidth is very narrow and the network is unstable.

  • If due to network failure, wget will keep trying to download the entire file.
  • If the server interrupts the download process, it will reconnect to the server and continue downloading from where it left off.
  • This is useful for downloading large files on servers with limited download link times.

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Linux wget missing URL?Use the CentOS wget install command" to help you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-703.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top