# Note: depends on zlib wget -c https://github.com/libgd/libgd/releases/download/gd-2.3.0/libgd-2.3.0.tar.xz tar -xJf libgd-2.3.0.tar.xz cd libgd-2.3.0 mkdir -p build cd build ../configure --prefix="/usr" make # Doesn't mind -j# make install