Me gustaría instalar VIM a través de apt-get, pero no estoy seguro de obtener todas sus características.
¿Hay alguna diferencia entre esto y compilarlo desde la fuente?
Me gustaría instalar VIM a través de apt-get, pero no estoy seguro de obtener todas sus características.
¿Hay alguna diferencia entre esto y compilarlo desde la fuente?
Respuestas:
Si observa las opciones utilizadas para compilar los diversos paquetes (en debian/rules), verá
OPTFLAGS+=--with-features=huge
...
NOINTERPFLAGS:=--disable-luainterp
NOINTERPFLAGS+=--disable-mzschemeinterp
NOINTERPFLAGS+=--disable-perlinterp
ifeq ($(DEB_VENDOR),Ubuntu)
NOINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=$(shell python-config --configdir)
else
NOINTERPFLAGS+=--disable-pythoninterp
endif
NOINTERPFLAGS+=--disable-python3interp
NOINTERPFLAGS+=--disable-rubyinterp
NOINTERPFLAGS+=--disable-tclinterp
ALLINTERPFLAGS:=--enable-luainterp
ALLINTERPFLAGS+=--disable-mzschemeinterp
ALLINTERPFLAGS+=--enable-perlinterp
ALLINTERPFLAGS+=--enable-pythoninterp --with-python-config-dir=$(shell python-config --configdir)
ALLINTERPFLAGS+=--disable-python3interp
ALLINTERPFLAGS+=--enable-rubyinterp
ALLINTERPFLAGS+=--enable-tclinterp
ALLINTERPFLAGS+=--with-tclsh=/usr/bin/tclsh
...
CFLAGS_vim-basic:=$(CFLAGS)
CFGFLAGS_vim-basic:=$(CFGFLAGS) $(OPTFLAGS) $(NOXFLAGS) $(NOINTERPFLAGS)
CFLAGS_vim-tiny:=$(CFLAGS) -DTINY_VIMRC
CFGFLAGS_vim-tiny:=$(CFGFLAGS) $(TINYFLAGS)
CFLAGS_vim-gtk:=$(CFLAGS)
CFGFLAGS_vim-gtk:=$(CFGFLAGS) $(OPTFLAGS) $(GUIFLAGS) $(GTKFLAGS) $(ALLINTERPFLAGS)
CFLAGS_vim-gnome:=$(CFLAGS)
CFGFLAGS_vim-gnome:=$(CFGFLAGS) $(OPTFLAGS) $(GUIFLAGS) $(GNOMEFLAGS) $(ALLINTERPFLAGS)
CFLAGS_vim-athena:=$(CFLAGS)
CFGFLAGS_vim-athena:=$(CFGFLAGS) $(OPTFLAGS) $(GUIFLAGS) $(ATHENAFLAGS) $(ALLINTERPFLAGS)
CFLAGS_vim-nox:=$(CFLAGS)
CFGFLAGS_vim-nox:=$(CFGFLAGS) $(OPTFLAGS) $(NOXFLAGS) $(ALLINTERPFLAGS)
Entonces:
vim-tinyse construyen con--with-features=hugevim-basic(aka vim) tiene intérpretes apagadosPara elegir uno:
vim-tiny.vim.vim-nox.vim-athena.vim-gnomevim-gtk3.vim-gtk.:help gui-gnomees bastante obsoleto. En Gnome moderno, no hay mucho que proporcione vim-gnome (cf, Debian bug # 820239 ), por eso lo eliminé .
$ sudo apt-get install vim-gtk(o vim-gnomesi está en Ubuntu) obtendrá el Vim más completo con el menor esfuerzo.
Los paquetes oficiales generalmente se retrasan un poco, por lo que si realmente desea la última versión, tendrá que aplicar los últimos parches y compilarlo usted mismo.
Tenga en cuenta, sin embargo, que surgen nuevos parches cada dos días, por lo que mantenerse al día con la corriente necesita dedicación.