A number of Vim packages are available in the default repositories which have been compiled with different feature-sets. You can search to see which ones are available using:
apt-cache -n search vim
A number of packages provide a version of Vim that has been compiled with the “full” set of Vim features:
If you only want Vim for command-line use, you can install the vim-nox package (it installs the vim-common package as a dependency).
If using a GNOME-based desktop environment, install vim-gnome (it executable has been compiled with dependencies on GNOME libraries such as libgnome2, libbonoboui2).
If using another desktop environment, vim-gtk provides a GTK2 GUI; its only dependency is vim-gui-common (as a Lubuntu user, that’s what I use).
vimdiff tool is under package vim. You should install vim using following command:
Then you can use the vimdiff as:
A number of Vim packages are available in the default repositories which have been compiled with different feature-sets. You can search to see which ones are available using:
A number of packages provide a version of Vim that has been compiled with the “full” set of Vim features:
If you only want Vim for command-line use, you can install the
vim-nox
package (it installs thevim-common
package as a dependency).If using a GNOME-based desktop environment, install
vim-gnome
(it executable has been compiled with dependencies on GNOME libraries such aslibgnome2
,libbonoboui2
).If using another desktop environment,
vim-gtk
provides a GTK2 GUI; its only dependency isvim-gui-common
(as a Lubuntu user, that’s what I use).How to install the latest Vim on Ubuntu 16.04, summary reproduced here: