universal-ctags是exuberant-ctags的替代者,相比gtags可以解析更多的語言,但是其他方面比如操作,數據庫的組織方式等就不夠好。需要自己編譯安裝
先用 git clone https://github.com/universal-ctags/ctags.git 下載,然后參考ctags/docs/autotools.rst,用以下命令編譯(Ubuntu要先用 sudo apt-get install autoconf 安裝autoconf)
$ ./autogen.sh $ ./configure --prefix=/where/you/want # defaults to /usr/local $ make $ sudo make install # may require extra privileges depending on where to install