Forked from StephenGenusa/gist:90f0ecc094eb630975a97732489d4ba4
Last active
August 30, 2023 15:57
-
-
Save aachyee/f42c765bcbeade506107457a11c685b3 to your computer and use it in GitHub Desktop.
Build wget2 with all features on clean Ubuntu 20.04 installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get -y install gcc g++ make cmake doxygen pandoc awk sed perl python3 python-is-python3 m4 bison flex lzip lcov git zlib1g-dev libssl-dev libnghttp2-dev autoconf autoconf-archive autogen automake autopoint libtool pkg-config texinfo nettle-dev libunistring-dev gettext make libbz2-dev libbrotli-dev libzstd-dev liblz-dev libpcre2-dev libmicrohttpd-dev libgpgme-dev liblzma-dev libgnutls28-dev libgcrypt20-dev git-merge-changelog libidn2-0 libpsl-dev # libpcre3-dev nettle-bin lzma brotli zstd lzip | |
| cd ~/Downloads | |
| mkdir wget-dev | |
| cd wget-dev | |
| git clone https://gitlab.com/rockdaboot/libhsts | |
| cd libhsts | |
| autoreconf -fi | |
| ./configure | |
| make | |
| make check | |
| sudo make install | |
| cd .. | |
| git clone https://github.com/rockdaboot/libpsl | |
| cd libpsl | |
| ./autogen.sh | |
| ./configure --disable-dependency-tracking | |
| make | |
| make check | |
| sudo make install | |
| cd .. | |
| git clone https://gitlab.com/gnuwget/wget2.git | |
| cd wget2 | |
| ./bootstrap | |
| ./configure | |
| make | |
| make check | |
| sudo make install | |
| cd ~ | |
| wget2 --help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some problems I have run into while using this very helpful script, and suggested solutions: