LoginSignup
7
6

More than 5 years have passed since last update.

vimをソースからインストール

Last updated at Posted at 2012-04-29

普段つかっている方法です。

初めての場合

mercurialを利用します。以下のページにmercurialによるソースコードの取得について記述されています。

インストールは以下のとおりです。

$ hg clone https://vim.googlecode.com/hg/ vim
$ cd vim/src
$ ./configure --with-features=huge --enable-multibyte --disable-selinux
$ make
$ sudo make install

HomeBrewでも良いですが、個人的にはこの方法でいれることが多いです。

2回目以降

以下のような簡単なスクリプトを作っておくと楽です。

#!/bin/sh

# please located in vim source directory
hg pull
hg update

cd src
./configure --with-features=huge --enable-multibyte --disable-selinux
make
sudo make install

なお、configureオプションはお好みで。迷ったら./configure --helpを参照しましょう。

7
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
6