wget https://bigsearcher.com/mirrors/gcc/releases/gcc-11.2.0/gcc-11.2.0.tar.gz tar zxf gcc-11.2.0.tar.gz cd gcc-11.2.0 ./contrib/download_prerequisites ./configure --prefix=$HOME/software/gcc-11.2.0 --enable-checking=release --enable-languages=c,c++,fortran --disable-multilib --enable-threads=posix make -j8 make install
# ncurses wget https://invisible-mirror.net/archives/ncurses/ncurses-6.2.tar.gz tar zxf ncurses-6.2.tar.gz cd ncurses-6.2/ ./configure --with-shared --prefix=$HOME/software/ncurses-6.2 make -j8 make install
# readline wget ftp://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz tar zxf readline-7.0.tar.gz cd readline-7.0/ ./configure --prefix=$HOME/software/readline-7.0 make -j8 make install
# zlib wget https://www.zlib.net/zlib-1.2.11.tar.gz tar zxf zlib-1.2.11.tar.gz cd zlib-1.2.11/ ./configure --prefix=$HOME/software/zlib-1.2.11 make -j8 make install
# bzip2 wget https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz tar zxf bzip2-1.0.8.tar.gz cd bzip2-1.0.8/ make -j8 CFLAGS="-fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64" make install PREFIX=$HOME/software/bzip2-1.0.8
# liblzma wget https://tukaani.org/xz/xz-5.2.5.tar.gz tar zxf xz-5.2.5.tar.gz cd xz-5.2.5/ ./configure --prefix=$HOME/software/xz-5.2.5 make -j8 make install
# pcre >= 8.20 wget https://ftp.pcre.org/pub/pcre/pcre-8.45.tar.gz tar zxf pcre-8.45.tar.gz cd pcre-8.45/ ./configure --prefix=$HOME/software/pcre-8.45 --enable-utf8 make -j8 make install
# openssl for libcurl wget https://www.openssl.org/source/openssl-1.1.1l.tar.gz tar zxf openssl-1.1.1l.tar.gz cd openssl-1.1.1l/ ./config --prefix=$HOME/software/openssl-1.1.1l make -j8 make install
# libcurl >= 7.22.0 wget https://curl.se/download/curl-7.78.0.tar.gz tar zxf curl-7.78.0.tar.gz cd curl-7.78.0/ ./configure --prefix=$HOME/software/curl-7.78.0 --with-ssl=$HOME/software/openssl-1.1.1l make -j8 make install