Debian WheezyにVim 7.4をインストールする

タグ: linux vim / 公開: 2014-04-11

Debian WheezyのVimは7.3なので、neocompleteが動作しなくて血を吐いた。 至急、Debian WheezyにVim 7.4をインストールする必要がある。

neocomplete does not work this version of Vim.
It requires Vim 7.3.885 or above and "if_lua" enabled Vim.

以下の手順でソースコードを取得して、ビルドしてインストールした。 依存するライブラリなどはapt-get build-dep vimでインストールしてしまった。 いわゆるgvimが使いたいのと、neocompleteがluaを要求するので、configureはこんな感じにした。 これで/usr/local以下にvimがインストールされるので、パスが通っていれば普通に使えるようになる。

$ hg clone https://vim.googlecode.com/hg/ vim
$ cd vim
$ make distclean
# apt-get build-dep vim
$ ./configure --with-gnome --with-features=huge --enable-pythoninterp --enable-rubyinterp --enable-luainterp
$ make
# make install

別の方法として、公式のソースコードではなくDebian Jessie以降のソースパッケージを使う方法も考えられるが、そちらは試していない。

参考

この記事をSNSでシェアする
タイトルとURLをコピーする
または投稿画面を開く
Author
Icon
ぺけみさお / xmisao
プログラマ。
Subscription
Recent articles
Related to linux
Related to vim