How could I switch from exuberant-ctags to universal-ctags. I am using Ubuntu 16.04 LTS and

ctags --version reports

Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert


It is simple, as in the universal-ctags docs:

git clone https://github.com/universal-ctags/ctags.git
cd ctags
sudo make install
| improve this answer | |
  • where does it get installed? – gregghz Jul 20 '17 at 20:46
  • @gregghz /usr/local/bin/ctags in my case – Yaroslav Molchan Oct 11 '17 at 7:57
  • 3
    In case you want to avoid sudo and install in your user directory, use ./configure --prefix=$HOME (then, no need for sudo for make install). – elias Dec 21 '17 at 13:32
  • 2
    "It is simple", no it isn't. I have a stock Ubuntu 16 LTS, when you run autogen.sh you get autoreconf: not found. 'Simple' is running a deb file. – icc97 Jun 17 '18 at 22:41
  • 3
    I had to install automake and pkg-config before running ./autogen.sh on ubuntu 18.x – nick-s Oct 17 '18 at 10:18

I'm on Ubuntu 19.04, and for me I can use either:

sudo apt install universal-ctags


sudo snap install universal-ctags

The snap tracks a newer version of universal-ctags (snap=2019-10, apt=2018-12), but the snap is currently missing a few important features due to the default isolation of snaps. (For example, reading from config files at ~/.ctags.d/*.ctags.) I intend to fix the snap in the near future.

| improve this answer | |
  • 1
    in ubuntu 16.04: $ sudo snap install universal-ctags works though! – Färid Alijani Jan 30 at 12:16
  • Yes, the same snap works in all (versions of) all distribution, and the snap's functionality is slowly improving as I throw more fixes in. I now use it daily, with no problems. – Jonathan Hartley Jan 30 at 17:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.