Yes.
You will need to compile it yourself and install it in your home directory.
Download ctags source: http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz
In hour shell:
$ tar zxf ctags-5.8.tar.gz
$ cd ctags-5.8
$ ./configure --prefix=$HOME
$ make && make install
This will compile and install ctags in your home directory. The resulting binary will be: $HOME/bin/ctags
You will now have to modify your PATH environment variable prior to launching vim.
$ vim $HOME/.bashrc (or whichever shell you're using)
put this line in your .bashrc
export PATH="$HOME/bin:$PATH"
You will now need to resource your .bashrc (remember that .bashrc is normally only loaded from non-interactive shells. Make sure that you source .bashrc from .bash_profile)
If you need to, modify your .bash_profile and make sure it has a line like:
. $HOME/.bashrc
or
source $HOME/.bashrc
To continue without closing your shell, simply type:
$ . $HOME/.bashrc
You can now launch vim and ctags will be working.
For me it looks like
.bash_profile
already gets loaded even with just a terminal login (setup by the admin sometime ago). So adding that line made a circular reference, and locked up bash! Usingscp
, I got rid of.bash_profile
and fixed it. Your post is helpful in general. Just wanted to point out the possible problem with pointing to bashrc from bash_profile. – phyatt – 2015-10-22T14:08:37.533Nevermind. I had another portion of my bashrc that was sensitive to being loaded twice. Not related to your answer. Sorry for the misinformation on my part. – phyatt – 2015-10-29T15:08:10.427
No --- the point of Ubuntu and Debian is that you have more than 20,000 sanely built and configured packages available. – None – 2009-11-05T20:33:37.920
4Yes, sometimes you don't have permission to run apt-get install, like when you have an account with a hosting provider where you share the machine with many other users. I find sometimes I need to install a source tarball this way, and these instructions are solid. – Harold L – 2009-11-05T20:40:31.167
debian packages are wonderful and all, but any unix user should know how to install packages from source into a local directory. It's useful for testing packages before installing globally, compiling a personal version that's different from the local version (I always compile a custom mutt for myself), and it works on every unix-like operating system. – None – 2009-11-05T21:44:50.047