安装CTags:
- tar xzvf ctags-5.8
- ./configure --prefix=/home/knight/KnightSoft/ 【将ctags安装到个人目录下】
- make
- make install
- add "PATH=$PATH:/home/knight/KnightSoft/bin" in ~/.profile file 【添加ctags至个人执行路径中.Ubuntu 是.profile文件,普通Linux是.bash_profile】
- source ./profile 【载入路径设置】
安装cscope
安装vim时要加入--enable--cscope选项
评论