我正在运行 Ubuntu 12.04。
我正在尝试获取一个特定的 vim 插件,它需要 vim 启用 ruby 支持(插件是 command-t)。
人们告诉我,我必须进入我的 vim 目录并运行
./configure --enable-rubyinterp
Run Code Online (Sandbox Code Playgroud)
当我这样做时,我收到以下错误:
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.
Run Code Online (Sandbox Code Playgroud)
现在我已经检查并安装了 ncurses-base。
我需要做什么?
我目前正在使用 Ubuntu 12.04 并安装了 Vim 7.3,我想将其更新到最新版本。我对所有这些包管理器的工作方式仍然不熟悉,但我想知道为什么我不能只执行以下操作:“sudo apt-get update vim”?我的意思是它最初是安装在系统上的,那么为什么不能只输入一行来更新 vim 呢?
我还尝试通过以下方式进行搜索:sudo apt-get search vim以查看安装了哪个,但似乎没有找到。别人如何找出已安装的应用程序,以便我们对其进行更新?
现在我只想用最少的命令将它更新到最新的 vim。

我有vim version: 2:7.4.052-1ubuntu3 installed。
如何使用终端更新到最新版本?