GNU Wget2 Was Released as the Successor of the Original Wget App

Designed and written from scratch, GNU Wget2 wraps around libwget, that provides the basic functions needed by a web client.

You probably find yourself needing to download a tarball, or an ISO image, to a server from a web page. Or within a script you need to know that you can query both local and remote web servers over HTTP(S) to check uptime or the presense of certain content.

One of the most popular feature-filled tools is Wget. Wget is a command line utility for downloading files from the internet. It descends from an earlier program named Geturl written by the same author. Wget boasts several supported protocols, namely HTTP, HTTPS and FTP, and also has the ability to look past and query a site beyond HTTP proxies – a powerful feature-set indeed.

In the mid-1990s many Unix users struggled behind extremely slow dial-up connections, leading to a growing need for a downloading agent that could deal with transient network failures without assistance from the human operator. Originally released in January 1996, GNU Wget provided a solution to these issues and became a major application for most Linux/UNIX systems when downloading files from the Internet.

To the delight of all fans of the free and open source software, yesterday GNU Wget2 2.0 has been released for this successor to GNU Wget.

GNU Wget2

GNU Wget2 is a free utility for non-interactive download of files from the internet. It was more than three years in the making. GNU Wget2 supports HTTP and HTTPS protocols, as well as retrieval through HTTP(S) proxies. It is a complete rewrite / new codebase, wget2 + libwget (library for web clients). It is licensed under GPLv3+.

Wget2 is non-interactive, meaning that it can work in the background, while the user is not logged on. This allows you to start a retrieval and disconnect from the system, letting Wget2 finish the work. By contrast, most of the Web browsers require constant user’s presence, which can be a great hindrance when transferring a lot of data.

It’s important to note that GNU Wget2 has many improvements in comparison to Wget. It has some long standing features like multi-threading, compression (gzip, bzip2, lzma/xz), HTTP/2, parses XML sitemaps + RSS / Atom feeds, TCP Fast Open, OCSP (stapling), multiple proxies, etc.

On top on that, in many cases GNU Wget2 downloads much faster than Wget1.x due to HTTP2, HTTP compression, parallel connections and use of If-Modified-Since HTTP header. As we mentioned, it can follow links in HTML, XHTML, CSS, RSS, Atom and sitemap files to create local versions of remote web sites, fully recreating the directory structure of the original site.

GNU Wget2 has been designed for robustness over slow or unstable network connections. That means if a download fails due to a network problem, it will keep retrying until the whole file has been retrieved. In addition, if the server supports partial downloads, it may continue the download from where it left off.

For detailed information on all new features in GNU Wget2, you can refer to the project’s GitLab page.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%

Leave a Reply

Your email address will not be published. Required fields are marked *