no terminal library found checking for tgetent()… configure: error: NOT FOUND! You need to install a terminal library; for example ncurses. Or specify the name of the library with –with-tlib.
解决方法:
1 2 3 4 5 6 7
# Ubuntu下解决方法: $ sudo apt install libncurses5-dev
# CentOS 下 $ yum install ncurses-devel.x86_64
# 完成后重新进行这一步,建议删除
第四步,链接
利用alias将vim指令定向到刚刚安装的vim8,同时修改.bashrc确保之后一直能生效
1 2
alias vim='~/.local/bin/vim' echo"alias vim='~/.local/bin/vim'" >> ~/.bashrc