How To Install global on Kali Linux
Introduction
In this tutorial we learn how to install global on Kali Linux.
What is global
global is:
GNU GLOBAL is a source code tag system that works the same way across diverse environments. Currently, it supports the following:
o command line, and the ‘globash’ query subshell. o vim plugin, and support for other vi clones. o less o emacs o web browser
Supported languages are C, C++, yacc and Java. You can locate a specified function in the source files and move there easily. It is especially useful for hacking large projects containing many subdirectories, many ‘#ifdef’ and many main() functions, like X or kernel source.
Doxygen now supports using global as its source browser, with the USE_HTAGS option.
There are three methods to install global on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install global Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install global using apt-get by running the following command:
sudo apt-get -y install globalInstall global Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install global using apt by running the following command:
sudo apt -y install globalInstall global Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install global using aptitude by running the following command:
sudo aptitude -y install globalHow To Uninstall global on Kali Linux
To uninstall only the global package we can use the following command:
sudo apt-get remove globalUninstall global And Its Dependencies
To uninstall global and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove globalRemove global Configurations and Data
To remove global configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge globalRemove global configuration, data, and all of its dependencies
We can use the following command to remove global configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge globalDependencies
global have the following dependencies:
References
Summary
In this tutorial we learn how to install global package on Kali Linux using different package management tools: apt, apt-get and aptitude.