# Note: depends on perl
wget -c https://curl.haxx.se/download/curl-7.56.1.tar.xz
tar -xJf curl-7.56.1.tar.xz
cd curl-7.56.1
mkdir -p build
cd build
# --with-gnutls/nss makes configure look for/consider these in addition to looking for openssl
../configure --prefix="/usr" --with-gnutls --with-nss
make # Doesn't mind -j#
make install