How to install universal-ctags on Ubuntu ?

Universal Ctags generates an index (or tag) file of language objects found in source files for many popular programming languages. This index makes it easy for text editors and other tools to locate the indexed items. Universal Ctags improves on traditional ctags because of its multilanguage support, its ability for the user to define new languages searched by regular expressions, and its ability to generate emacs-style TAGS files.

We can install universal ctags on Ubuntu as,

$ sudo apt-get remove exuberant-ctags
$ sudo snap install universal-ctags

as you can see, just to avoid conflicts of understanding which ctags we are using, I have removed exuberant-ctags to make sure we are only using universal-ctags..

Now, lets verify that we have installed universal-ctags using below command,

$ which ctags
/snap/bin/ctags
$ ctags --help
Universal Ctags 0.0.0(e0a976d7), Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Dec 16 2019, 17:58:44
  URL: https://ctags.io/
  Optional compiled features: +wildcards, +regex, +iconv, +option-directory, +xpath, +json, +interactive, +yaml, +packcc
Google Cloud Hosting Bitnami WordPr... x
Google Cloud Hosting Bitnami WordPress - GCP Increase Disk Size on Go Fix 524/ 522 Error Cloudflare

1 thought on “How to install universal-ctags on Ubuntu ?”

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development, Debugging and Performance Tools Development and Build Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web Design and Development Website Hosting Wordpress Yocto Embedded Linux