LoginSignup
1
2

More than 3 years have passed since last update.

Ubuntu18.04LTSにvim(+clipboard,+clientserver)をソースからインストールする手順

Last updated at Posted at 2019-08-13

モチベーション

  • Ubuntu の vim からクリップボードへコピーを使いたかったため.
  • vimtex でバックグラウンドでコンパイルをさせるためには vim の clientserver が有効になっている必要があるため( vimtex の wiki 参照).

手順

bash
$ git clone git@github.com:vim/vim.git
$ cd vim
$ make distclean
$ rm src/auto/config.cache
$ sudo apt install \
  lua5.2 \
  liblua5.2-dev \
  luajit \
  libluajit-5.2 \
  ruby-dev \
  xorg-dev
$ ./configure \
  --with-features=huge \
  --with-x \
  --enable-multibyte \
  --enable-luainterp=dynamic \
  --enable-gpm \
  --enable-cscope \
  --enable-fontset \
  --enable-fail-if-missing \
  --prefix=/usr/local \
  --enable-pythoninterp=dynamic \
  --enable-python3interp=dynamic \
  --enable-rubyinterp=dynamic \
  --enable-gui=auto \
  --enable-gtk2-check
$ make
$ sudo make install

参考文献

1
2
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
1
2