libedit
1.1、libedit简介
是什么 ?:a command-line editor library provides generic line editing, history, and tokenization functions, similar to those found in GNU readline.
开发语言:C
官方主页:https://thrysoee.dk/editline
1.2、通过包管理器安装libedit
操作系统包管理器安装命令
macOSHomeBrewbrew install libedit
GNU/LinuxHomeBrewbrew install libedit
aptsudo apt-get install -y libedit
CentOSyumsudo yum install -y libedit
dnfsudo dnf install -y libedit
openSUSEzyppersudo zypper install -y libedit
Alpine Linuxapksudo apk add libedit

Arch Linux

ArcoLinux

Manjaro Linux

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