Command explanations patch -Np1 -F10 -i ../ncurses-&ncurses-version;-&ncurses-patch-version;.patch: Regular updates to the ncurses package are provided as patch files so this is to make the source tree up to date. --with-shared: This enables the build of the shared ncurses library files. --disable-termcap: Disabled the compilation of termcap fall back support.