wget -c ftp://sourceware.org/pub/libffi/libffi-3.3.tar.gz tar -xzf libffi-3.3.tar.gz cd libffi-3.3 mkdir -p build cd build ../configure --prefix="/usr" --with-gcc-arch="" # To avoid CPU-specific optimization make # Doesn't mind -j# make install