How To Install cscope.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install cscope.x86_64
on Amazon Linux 2.
What is cscope.x86_64
cscope is a mature, ncurses based, C source code tree browsing tool. It allows users to search large source code bases for variables, functions, macros, etc, as well as perform general regex and plain text searches. Results are returned in lists, from which the user can select individual matches for use in file editing.
We can use yum
to install cscope.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install cscope.x86_64.
Install cscope.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 cscope.x86_64
using yum
by running the following command:
sudo yum -y install cscope.x86_64
How To Uninstall cscope.x86_64 on Amazon Linux 2
To uninstall only the cscope.x86_64
package we can use the following command:
sudo yum remove cscope.x86_64
cscope.x86_64 Package Contents on Amazon Linux 2
/usr/bin/cscope
/usr/bin/cscope-indexer
/usr/bin/ocs
/usr/share/cscope
/usr/share/cscope/cctree.vim
/usr/share/cscope/xcscope.el
/usr/share/doc/cscope-15.8
/usr/share/doc/cscope-15.8/AUTHORS
/usr/share/doc/cscope-15.8/COPYING
/usr/share/doc/cscope-15.8/ChangeLog
/usr/share/doc/cscope-15.8/README
/usr/share/doc/cscope-15.8/TODO
/usr/share/doc/cscope-15.8/cctree.txt
/usr/share/emacs/site-lisp/xcscope.el
/usr/share/emacs/site-lisp/xcscope.elc
/usr/share/man/man1/cscope.1.gz
/var/lib/cs
References
Summary
In this tutorial we learn how to install cscope.x86_64
on Amazon Linux 2 using yum.