How To Install global on Fedora 34

global is Source code tag system

Introduction

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

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 34. In this tutorial we discuss both methods but you only need to choose one of method to install global.

Install global on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install global

Install global on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove global

global Package Contents on Fedora 34

/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/0b
/usr/lib/.build-id/0b/a790a34ae2427e3ccc39e53f15fee7b0090bac
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/097ed9a617f3430ef8b1981af597e7be0bc29b
/usr/lib/.build-id/24
/usr/lib/.build-id/24/d791379284ba16cedb1825613b165c7ac63fa5
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/fcb2aa88ad847f45af16266594036d4f9e2b42
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/34adcf7e00a957f15d4523d442c4e76f5def2e
/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
/usr/share/xemacs/site-packages/lisp/gtags.el
/usr/share/xemacs/site-packages/lisp/gtags.elc

References

Summary

In this tutorial we learn how to install global on Fedora 34 using yum and dnf.