Update: I’m having some trouble to compile a working release of Wget2 2.0.0. Please use v1.99.2 meanwhile. You can also contribute by trying to compile it (https://gitlab.com/gnuwget/wget2). Thanks for your patience.

Note: I’m now working on a Wget2 2.0.0 release. Please be patient – it will take me some time

Wget2 is the next-generation non-interactive command-line content downloader. It will be the successor of Wget.

It comes with new features, such as file compression and multi threaded downloads. You can view the full comparison table in this link.

Originally, Wget2 was designed and compiled for Linux-based systems, but I have successfully compiled it for Windows (using i686-w64-mingw32).

Also, it includes libwget, so you will be able to develop applications using Wget2 (very unstable).

If you are interested, you can download Wget2 for windows through the button below.

View documentation (very buggy)

Please read before using Wget2 and libwget:

Wget2 is currently under development and it isn’t specifically designed for Windows, so it may be very unstable. Please do not use it for serious things. Also, there are currently some functions that doesn’t work as intended on Windows, such as:

  • –progress bar

However, it is very useful to quickly download files from the internet.

Categories: Releases

Lumito

A junior open-source developer on GitHub (github.com/LumitoLuma) and owner of this website (www.lumito.net). His favorite programming language is C++, followed by C, C# and Java.

2 Comments

msetzerii · December 4, 2021 at 11:47 AM

I’ve used the wget2 that is with Fedora linux, and it works fine, but also have a need to use it in windows environment. I’ve used your 1.99.2 version and it works fine, but have tried to use the latest git version, but trying to compile it using the contrib/mingw fails with a message about libev4 not found.

Has a major issue with dirname not working with the standard git, but found a fix for that since file is in a different location in the contrib/mingw.

Use following lines to download wget2 and build, but gets error about libev4 not found??
These goes thru a major build of it, but then fails with the error message, and I’ve found nothing to solve the libev issue. The Fedora has the latest libev-devel installed, so believe it is something in either the windows or the ming compiler configuration.

Just wonder if you are still working on it? Thanks.
git clone –depth 1 https://gitlab.com/gnuwget/wget2/
cd wget2
sed -i ‘s_/usr/lib/gcc/$PREFIX_/usr/$PREFIX_g’ contrib/mingw
time bash -x contrib/mingw >/root/wget2build-stdout 2>/root/wget2build-stderr

Time till error
real 27m31.013s
user 19m59.693s
sys 5m20.018s

Creates 27981 Dec 4 08:55 wget2build-stderr
Last lines..
configure: WARNING:
You will not be able to create source packages with ‘make dist’
because gtk-doc >= 1.14 is not found.
configure: error: ***
*** libev4 was not found.
***

Creates 1404790 Dec 4 08:55 wget2build-stdout
Last lines.
checking for python extension module directory… ${exec_prefix}/lib64/python3.9/site-packages
checking for libev… no

    Lumito · December 4, 2021 at 11:59 AM

    Hello msetzerii,

    Yes, I’m still working on this project, but as you have just seen, it’s very hard to get a working build for Windows (that’s why I haven’t released Wget2 2.0.0 for Windows yet). But I hope that eventually I’ll get a working release!

    Thanks a lot for using my software.

Leave a Reply

Avatar placeholder