How To Install global on Debian 10

In this tutorial we learn how to install global on Debian 10. global is Source code search and browse tools

Introduction

In this tutorial we learn how to install global on Debian 10.

What is global

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 ways to install global on Debian 10. 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 update

After updating apt database, We can install global using apt-get by running the following command:

sudo apt-get -y install global

Install global Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install global using apt by running the following command:

sudo apt -y install global

Install global Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install global using aptitude by running the following command:

sudo aptitude -y install global

How To Uninstall global on Debian 10

To uninstall only the global package we can use the following command:

sudo apt-get remove global

Uninstall global And Its Dependencies

To uninstall global and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove global

Remove global Configurations and Data

To remove global configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge global

Remove 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 global

References

Summary

In this tutorial we learn how to install global on Debian 10 using different package management tools like apt, apt-get and aptitude.