Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save StephenGenusa/90f0ecc094eb630975a97732489d4ba4 to your computer and use it in GitHub Desktop.
Save StephenGenusa/90f0ecc094eb630975a97732489d4ba4 to your computer and use it in GitHub Desktop.
Build wget2 with all features on clean Ubuntu 20.04 installation
sudo apt-get -y install doxygen pandoc flex lzip lcov git gcc cmake libpcre3-dev zlib1g-dev libssl-dev libnghttp2-dev autoconf-archive nettle-dev libtool python-is-python3 autopoint texinfo nettle-dev nettle-dev nettle-bin libunistring-dev gettext make libbz2-dev lzma brotli libbrotli-dev libzstd-dev zstd lzip liblz-dev libpcre2-dev libmicrohttpd-dev libgpgme-dev liblzma-dev libgnutls28-dev libgcrypt20-dev git-merge-changelog
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