9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

exuberant-ctagsじゃなくて、universal-ctagsをインストールしたい

Last updated at Posted at 2018-11-13

何がしたいか

yumでyum install ctagsとやると、exuberant-ctagsがインストールされてしまうけど、
私はuniversal-ctagsをインストールしたい

よしやるぞ

自分でビルドしてインストールする

クローンしてくる

git clone https://github.com/universal-ctags/ctags.git

インストール

こちらに方法書いてあるのでこの通りいきます

# クローンしてきたやつのディレクトリに移動
cd ctags

# なんかしてる
./autogen.sh 

# インストールディレクトリが/usr/local/binになるように
./configure --prefix=/usr/local

# ビルド
make

# インストール
sudo make install

バージョン確認

ctags --version

こんな感じで出力されればOKかな?

Universal Ctags 0.0.0(befcb88), Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Nov 13 2018, 08:36:05
  URL: https://ctags.io/
  Optional compiled features: +wildcards, +regex, +iconv, +option-directory

後片付け

クローンしてきたディレクトリは丸ごと削除しておく

次は

以下を参考に、使っていきたい
CtagsでVimにタグジャンプ機能を追加する - Qiita

参考

universal ctagsをビルドする - Qiita

9
9
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
9
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?