Installation of Ncurses patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch Prepare Ncurses to be compiled: ./configure --prefix=/usr --with-shared \     --without-debug Continue with compiling the package: make Install the package: make install Give the ncurses libraries executable permission: chmod 755 /usr/lib/*.&ncurses-version; Move the libraries to the /lib directory, where they're expected to reside: mv /usr/lib/libncurses.so.5* /lib Since the libraries have been moved to /lib, a few symlinks are currently pointing towards non-existing files. Recreate those symlinks: ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so && ln -sf libncurses.so /usr/lib/libcurses.so