readline
1.1、readline简介
是什么 ?:library that allows application users to edit command lines as they are typed in.
开发语言:C
开发组织:GNU
官方主页:https://www.gnu.org/software/readline
1.2、通过包管理器安装readline
操作系统包管理器安装命令
macOSHomeBrewbrew install readline
GNU/LinuxHomeBrewbrew install greadline
aptsudo apt-get install -y readline
CentOSyumsudo yum install -y readline
dnfsudo dnf install -y readline
openSUSEzyppersudo zypper install -y readline
Alpine Linuxapksudo apk add readline

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm readline
Gentoo LinuxPortagesudo emerge readline
1.3、通过编译源码安装readline
1.4、readline中包含的头文件
1.5、readline中包含的库文件
  • libreadline.{a | so | dylib}
  • libhistory.{a | so | dylib}