• 下载

https://ftp.gnu.org/pub/gnu/ncurses/

  • 解压
  • 编译
BUILD_LIBS=${HOME}/build_libs
 
./configure \
     --prefix=${BUILD_LIBS} \
    CFLAGS=-fPIC \
    --enable-shared
 
make

make install