如何在Ubuntu中安装vim.full?


20

我已经安装了Ubuntu Server,但是只有vim.basic

我该如何安装vim.full

尝试过,aptitude install vim但它说它总是被安装。

因为vim是的软链接vim.basic

Answers:


29

vim-nox如果不需要GUI,请尝试该软件包,否则请尝试vim-gnomevim-gtk。有许多使用不同功能集编译的vim软件包:

% apt-cache search vim | grep vim-
jvim-canna - Japanized VIM (Canna version)
jvim-doc - Documentation for jvim (Japanized VIM)
vim-addon-manager - manager of addons for the Vim editor
vim-gtk - Vi IMproved - enhanced vi editor - with GTK2 GUI
vim-latexsuite - view, edit and compile LaTeX documents from within Vim
vim-nox - Vi IMproved - enhanced vi editor
vim-scripts - plugins for vim, adding bells and whistles
vim-syntax-gtk - Syntax files to highlight GTK+ keywords in vim
vim-vimoutliner - script for building an outline editor on top of Vim
vim-common - Vi IMproved - Common files
vim-dbg - Vi IMproved - enhanced vi editor (debugging symbols)
vim-doc - Vi IMproved - HTML documentation
vim-gnome - Vi IMproved - enhanced vi editor - with GNOME2 GUI
vim-gui-common - Vi IMproved - Common GUI files
vim-runtime - Vi IMproved - Runtime files
vim-tiny - Vi IMproved - enhanced vi editor - compact version
vim-rails - plugins for vim to allow easier editing of Rails Applications

8
您可以使用apt-cache search -n vim仅搜索软件包名称,而不是将输出传递到grep
Sam

正如@Johan指出的(为了使它更明显),在某些旧版本的Ubuntu上,有一个名为vim-full的软件包可以安装。
Kaleb Pederson

之后,您可能需要将链接从/usr/bin/vim.tiny更改为/usr/bin/vim.full。使用whereis vim获取更多信息
user119591 2014年

9

这是我通常安装的内容:

sudo apt-get install vim vim-scripts vim-doc vim-latexsuite vim-gui-common vim-gnome

过去曾经有一个名为“ vim-full”的软件包。


1

在终端中运行以下命令:

sudo apt-get build-dep gnome-vim
sudo apt-get install gnome-vim
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.