How To Install ctags.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install ctags.x86_64
on Amazon Linux 2.
What is ctags.x86_64
Ctags generates an index (or tag) file of C language objects found in C source and header files. The index makes it easy for text editors or other utilities to locate the indexed items. Ctags can also generate a cross reference file which lists information about the various objects found in a set of C language files in human readable form. Exuberant Ctags improves on ctags because it can find all types of C language tags, including macro definitions, enumerated values (values inside enum{…}), function and method definitions, enum/struct/union tags, external function prototypes, typedef names and variable declarations. Exuberant Ctags is far less likely to be fooled by code containing #if preprocessor conditional constructs than ctags. Exuberant ctags supports output of Emacs style TAGS files and can be used to print out a list of selected objects found in source files. Install ctags if you are going to use your system for C programming.
We can use yum
to install ctags.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ctags.x86_64.
Install ctags.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ctags.x86_64
using yum
by running the following command:
sudo yum -y install ctags.x86_64
How To Uninstall ctags.x86_64 on Amazon Linux 2
To uninstall only the ctags.x86_64
package we can use the following command:
sudo yum remove ctags.x86_64
ctags.x86_64 Package Contents on Amazon Linux 2
/usr/bin/ctags
/usr/share/doc/ctags-5.8
/usr/share/doc/ctags-5.8/COPYING
/usr/share/doc/ctags-5.8/EXTENDING.html
/usr/share/doc/ctags-5.8/FAQ
/usr/share/doc/ctags-5.8/NEWS
/usr/share/doc/ctags-5.8/README
/usr/share/man/man1/ctags.1.gz
References
Summary
In this tutorial we learn how to install ctags.x86_64
on Amazon Linux 2 using yum.