ncurses
1.1、ncurses简介
short for:new curses
是什么 ?:text-based UI library, a free software emulation of curses in System V Release 4.0 (SVr4), and more.
开发语言:C
开发组织:GNU
官方主页:https://www.gnu.org/software/ncurses
1.2、通过包管理器安装ncurses
操作系统包管理器安装命令
macOSHomeBrewbrew install ncurses
GNU/LinuxHomeBrewbrew install ncurses
aptsudo apt-get install -y libncurses5-dev
PCLinuxOSaptsudo apt-get install -y ncurses lib64ncursesw6
CentOSyumsudo yum install -y ncurses-devel
dnfsudo dnf install -y ncurses-devel
openSUSEzyppersudo zypper install -y ncurses-devel ncurses-utils
Alpine Linuxapksudo apk add ncurses-dev

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm ncurses
Gentoo LinuxPortagesudo emerge ncurses
1.3、通过编译源码安装ncurses
1.4、ncurses中包含的工具
1.5、ncurses中包含的头文件
1.6、ncurses中包含的库文件
  • libncurses.{a | so | dylib}
  • libncurses++.{a | so | dylib}
  • libpanel.{a | so | dylib}
  • libform.{a | so | dylib}
  • libmenu.{a | so | dylib}