How To Install global on Fedora 36

In this tutorial we learn how to install global in Fedora 36. global is Source code tag system

Introduction

In this tutorial we learn how to install global on Fedora 36.

What is global

GNU GLOBAL is a source code tag system that works the same way across diverse environments. It supports C, C++, Yacc, Java, PHP and assembler source code.

We can use yum or dnf to install global on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install global.

Install global on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install global

Install global on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install global

How To Uninstall global on Fedora 36

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

sudo dnf remove global

global Package Contents on Fedora 36

/etc/gtags.conf
/usr/bin/global
/usr/bin/globash
/usr/bin/gozilla
/usr/bin/gtags
/usr/bin/gtags-cscope
/usr/bin/htags
/usr/bin/htags-server
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/92a3276cdf236290f4265cf1e7d12256d40f64
/usr/lib/.build-id/26
/usr/lib/.build-id/26/e1437f566cd1621e0f2805d1635822d4a22392
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/6a514527730d43c2b87c6e6018a4627349c8f6
/usr/lib/.build-id/52
/usr/lib/.build-id/52/9ee617eab5d7b46643941db3c223e5627b836c
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/2e4a7c4ae6e3098314e970a9429b2b4750003e
/usr/share/doc/global
/usr/share/doc/global/AUTHORS
/usr/share/doc/global/ChangeLog
/usr/share/doc/global/DONORS
/usr/share/doc/global/FAQ
/usr/share/doc/global/NEWS
/usr/share/doc/global/README
/usr/share/doc/global/THANKS
/usr/share/emacs/site-lisp/gtags.el
/usr/share/emacs/site-lisp/gtags.elc
/usr/share/gtags
/usr/share/gtags/BUILD_TOOLS
/usr/share/gtags/COPYING.LIB
/usr/share/gtags/PLUGIN_HOWTO
/usr/share/gtags/PLUGIN_HOWTO.pygments
/usr/share/gtags/README.PATCHES
/usr/share/gtags/SERVERSIDE_HOWTO
/usr/share/gtags/completion.cgi
/usr/share/gtags/dot_htaccess
/usr/share/gtags/elvis-2.2_0.patch
/usr/share/gtags/elvis.rc
/usr/share/gtags/geco.rc
/usr/share/gtags/global.cgi
/usr/share/gtags/globash.rc
/usr/share/gtags/gtags-cscope.vim
/usr/share/gtags/gtags.pl
/usr/share/gtags/gtags.vim
/usr/share/gtags/icons
/usr/share/gtags/icons/back.png
/usr/share/gtags/icons/bottom.png
/usr/share/gtags/icons/c.png
/usr/share/gtags/icons/dir.png
/usr/share/gtags/icons/first.png
/usr/share/gtags/icons/help.png
/usr/share/gtags/icons/index.png
/usr/share/gtags/icons/last.png
/usr/share/gtags/icons/left.png
/usr/share/gtags/icons/n_bottom.png
/usr/share/gtags/icons/n_first.png
/usr/share/gtags/icons/n_last.png
/usr/share/gtags/icons/n_left.png
/usr/share/gtags/icons/n_right.png
/usr/share/gtags/icons/n_top.png
/usr/share/gtags/icons/pglobe.png
/usr/share/gtags/icons/right.png
/usr/share/gtags/icons/text.png
/usr/share/gtags/icons/top.png
/usr/share/gtags/jquery
/usr/share/gtags/jquery/images
/usr/share/gtags/jquery/images/file.png
/usr/share/gtags/jquery/images/folder-closed.png
/usr/share/gtags/jquery/images/folder.png
/usr/share/gtags/jquery/images/minus.png
/usr/share/gtags/jquery/images/plus.png
/usr/share/gtags/jquery/images/treeview-black-line.png
/usr/share/gtags/jquery/images/treeview-black.png
/usr/share/gtags/jquery/images/treeview-default-line.png
/usr/share/gtags/jquery/images/treeview-default.png
/usr/share/gtags/jquery/images/treeview-famfamfam-line.png
/usr/share/gtags/jquery/images/treeview-famfamfam.png
/usr/share/gtags/jquery/images/treeview-gray-line.png
/usr/share/gtags/jquery/images/treeview-gray.png
/usr/share/gtags/jquery/images/treeview-red-line.png
/usr/share/gtags/jquery/images/treeview-red.png
/usr/share/gtags/jquery/jquery.js
/usr/share/gtags/jquery/jquery.suggest.css
/usr/share/gtags/jquery/jquery.suggest.js
/usr/share/gtags/jquery/jquery.treeview.css
/usr/share/gtags/jquery/jquery.treeview.js
/usr/share/gtags/jscode_suggest
/usr/share/gtags/jscode_treeview
/usr/share/gtags/script
/usr/share/gtags/script/elvis-global
/usr/share/gtags/script/global-client
/usr/share/gtags/script/gtags-client
/usr/share/gtags/script/htags-client
/usr/share/gtags/script/less-global
/usr/share/gtags/script/maps2conf.pl
/usr/share/gtags/script/pygments_parser.py
/usr/share/gtags/style.css
/usr/share/gtags/vim74-gtags-cscope.patch
/usr/share/info/global.info.gz
/usr/share/licenses/global
/usr/share/licenses/global/COPYING
/usr/share/licenses/global/LICENSE
/usr/share/man/man1/global.1.gz
/usr/share/man/man1/globash.1.gz
/usr/share/man/man1/gozilla.1.gz
/usr/share/man/man1/gtags-cscope.1.gz
/usr/share/man/man1/gtags.1.gz
/usr/share/man/man1/htags-server.1.gz
/usr/share/man/man1/htags.1.gz
/usr/share/man/man5/gtags.conf.5.gz

References

Summary

In this tutorial we learn how to install global on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).