How To Install gitg on Fedora 34

gitg is GTK+ graphical interface for the git revision control system GTK+ graphical interface for the git revision control system

Introduction

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

What is gitg

gitg is the GNOME GUI client to view git repositories. gitg 3.32.1 8.fc34 x86_64 565 k gitg-3.32.1-8.fc34.src.rpm fedora GTK+ graphical interface for the git revision control system https GPLv2+ gitg is the GNOME GUI client to view git repositories.

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

Install gitg 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 gitg using dnf by running the following command:

sudo dnf -y install gitg

Install gitg 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 gitg using yum by running the following command:

sudo yum -y install gitg

How To Uninstall gitg on Fedora 34

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

sudo dnf remove gitg

gitg Package Contents on Fedora 34

/usr/bin/gitg
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/e400d559c7d546b53f5a7f165dcbff35093fd7
/usr/share/applications/org.gnome.gitg.desktop
/usr/share/doc/gitg
/usr/share/doc/gitg/AUTHORS
/usr/share/doc/gitg/NEWS
/usr/share/doc/gitg/README.md
/usr/share/gitg
/usr/share/gitg/icons
/usr/share/gitg/icons/hicolor
/usr/share/gitg/icons/hicolor/scalable
/usr/share/gitg/icons/hicolor/scalable/actions
/usr/share/gitg/icons/hicolor/scalable/actions/diff-symbolic.svg
/usr/share/glib-2.0/schemas/org.gnome.gitg.gschema.xml
/usr/share/icons/hicolor/16x16/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/22x22/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/24x24/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/256x256/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/32x32/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/48x48/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/scalable/apps/org.gnome.gitg-symbolic.svg
/usr/share/licenses/gitg
/usr/share/licenses/gitg/COPYING
/usr/share/locale/as/LC_MESSAGES/gitg.mo
/usr/share/locale/bg/LC_MESSAGES/gitg.mo
/usr/share/locale/bs/LC_MESSAGES/gitg.mo
/usr/share/locale/ca/LC_MESSAGES/gitg.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/gitg.mo
/usr/share/locale/cs/LC_MESSAGES/gitg.mo
/usr/share/locale/da/LC_MESSAGES/gitg.mo
/usr/share/locale/de/LC_MESSAGES/gitg.mo
/usr/share/locale/el/LC_MESSAGES/gitg.mo
/usr/share/locale/en_GB/LC_MESSAGES/gitg.mo
/usr/share/locale/eo/LC_MESSAGES/gitg.mo
/usr/share/locale/es/LC_MESSAGES/gitg.mo
/usr/share/locale/eu/LC_MESSAGES/gitg.mo
/usr/share/locale/fi/LC_MESSAGES/gitg.mo
/usr/share/locale/fr/LC_MESSAGES/gitg.mo
/usr/share/locale/fur/LC_MESSAGES/gitg.mo
/usr/share/locale/gl/LC_MESSAGES/gitg.mo
/usr/share/locale/he/LC_MESSAGES/gitg.mo
/usr/share/locale/hu/LC_MESSAGES/gitg.mo
/usr/share/locale/id/LC_MESSAGES/gitg.mo
/usr/share/locale/it/LC_MESSAGES/gitg.mo
/usr/share/locale/ja/LC_MESSAGES/gitg.mo
/usr/share/locale/kk/LC_MESSAGES/gitg.mo
/usr/share/locale/ko/LC_MESSAGES/gitg.mo
/usr/share/locale/lt/LC_MESSAGES/gitg.mo
/usr/share/locale/lv/LC_MESSAGES/gitg.mo
/usr/share/locale/ml/LC_MESSAGES/gitg.mo
/usr/share/locale/nb/LC_MESSAGES/gitg.mo
/usr/share/locale/ne/LC_MESSAGES/gitg.mo
/usr/share/locale/nl/LC_MESSAGES/gitg.mo
/usr/share/locale/oc/LC_MESSAGES/gitg.mo
/usr/share/locale/pa/LC_MESSAGES/gitg.mo
/usr/share/locale/pl/LC_MESSAGES/gitg.mo
/usr/share/locale/pt/LC_MESSAGES/gitg.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gitg.mo
/usr/share/locale/ro/LC_MESSAGES/gitg.mo
/usr/share/locale/ru/LC_MESSAGES/gitg.mo
/usr/share/locale/sk/LC_MESSAGES/gitg.mo
/usr/share/locale/sl/LC_MESSAGES/gitg.mo
/usr/share/locale/sr/LC_MESSAGES/gitg.mo
/usr/share/locale/sr@latin/LC_MESSAGES/gitg.mo
/usr/share/locale/sv/LC_MESSAGES/gitg.mo
/usr/share/locale/tr/LC_MESSAGES/gitg.mo
/usr/share/locale/uk/LC_MESSAGES/gitg.mo
/usr/share/locale/vi/LC_MESSAGES/gitg.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gitg.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gitg.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gitg.mo
/usr/share/man/man1/gitg.1.gz
/usr/share/metainfo/org.gnome.gitg.appdata.xml
/usr/bin/gitg
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/5083af8470eca629bc5e7c0b470d652b558324
/usr/share/applications/org.gnome.gitg.desktop
/usr/share/doc/gitg
/usr/share/doc/gitg/AUTHORS
/usr/share/doc/gitg/NEWS
/usr/share/doc/gitg/README.md
/usr/share/gitg
/usr/share/gitg/icons
/usr/share/gitg/icons/hicolor
/usr/share/gitg/icons/hicolor/scalable
/usr/share/gitg/icons/hicolor/scalable/actions
/usr/share/gitg/icons/hicolor/scalable/actions/diff-symbolic.svg
/usr/share/glib-2.0/schemas/org.gnome.gitg.gschema.xml
/usr/share/icons/hicolor/16x16/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/22x22/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/24x24/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/256x256/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/32x32/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/48x48/apps/org.gnome.gitg.png
/usr/share/icons/hicolor/scalable/apps/org.gnome.gitg-symbolic.svg
/usr/share/licenses/gitg
/usr/share/licenses/gitg/COPYING
/usr/share/locale/as/LC_MESSAGES/gitg.mo
/usr/share/locale/bg/LC_MESSAGES/gitg.mo
/usr/share/locale/bs/LC_MESSAGES/gitg.mo
/usr/share/locale/ca/LC_MESSAGES/gitg.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/gitg.mo
/usr/share/locale/cs/LC_MESSAGES/gitg.mo
/usr/share/locale/da/LC_MESSAGES/gitg.mo
/usr/share/locale/de/LC_MESSAGES/gitg.mo
/usr/share/locale/el/LC_MESSAGES/gitg.mo
/usr/share/locale/en_GB/LC_MESSAGES/gitg.mo
/usr/share/locale/eo/LC_MESSAGES/gitg.mo
/usr/share/locale/es/LC_MESSAGES/gitg.mo
/usr/share/locale/eu/LC_MESSAGES/gitg.mo
/usr/share/locale/fi/LC_MESSAGES/gitg.mo
/usr/share/locale/fr/LC_MESSAGES/gitg.mo
/usr/share/locale/fur/LC_MESSAGES/gitg.mo
/usr/share/locale/gl/LC_MESSAGES/gitg.mo
/usr/share/locale/he/LC_MESSAGES/gitg.mo
/usr/share/locale/hu/LC_MESSAGES/gitg.mo
/usr/share/locale/id/LC_MESSAGES/gitg.mo
/usr/share/locale/it/LC_MESSAGES/gitg.mo
/usr/share/locale/ja/LC_MESSAGES/gitg.mo
/usr/share/locale/kk/LC_MESSAGES/gitg.mo
/usr/share/locale/ko/LC_MESSAGES/gitg.mo
/usr/share/locale/lt/LC_MESSAGES/gitg.mo
/usr/share/locale/lv/LC_MESSAGES/gitg.mo
/usr/share/locale/ml/LC_MESSAGES/gitg.mo
/usr/share/locale/nb/LC_MESSAGES/gitg.mo
/usr/share/locale/ne/LC_MESSAGES/gitg.mo
/usr/share/locale/nl/LC_MESSAGES/gitg.mo
/usr/share/locale/oc/LC_MESSAGES/gitg.mo
/usr/share/locale/pa/LC_MESSAGES/gitg.mo
/usr/share/locale/pl/LC_MESSAGES/gitg.mo
/usr/share/locale/pt/LC_MESSAGES/gitg.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gitg.mo
/usr/share/locale/ro/LC_MESSAGES/gitg.mo
/usr/share/locale/ru/LC_MESSAGES/gitg.mo
/usr/share/locale/sk/LC_MESSAGES/gitg.mo
/usr/share/locale/sl/LC_MESSAGES/gitg.mo
/usr/share/locale/sr/LC_MESSAGES/gitg.mo
/usr/share/locale/sr@latin/LC_MESSAGES/gitg.mo
/usr/share/locale/sv/LC_MESSAGES/gitg.mo
/usr/share/locale/tr/LC_MESSAGES/gitg.mo
/usr/share/locale/uk/LC_MESSAGES/gitg.mo
/usr/share/locale/vi/LC_MESSAGES/gitg.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gitg.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gitg.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gitg.mo
/usr/share/man/man1/gitg.1.gz
/usr/share/metainfo/org.gnome.gitg.appdata.xml

References

Summary

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