How To Install ghex on Fedora 34

ghex is Binary editor for GNOME

Introduction

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

What is ghex

GHex can load raw data from binary files and display them for editing in the traditional hex editor view. The display is split in two columns, with hexadecimal values in one column and the ASCII representation in the other. A useful tool for working with raw data.

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

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

sudo dnf -y install ghex

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

sudo yum -y install ghex

How To Uninstall ghex on Fedora 34

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

sudo dnf remove ghex

ghex Package Contents on Fedora 34

/usr/bin/ghex
/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/0b8eab45366cdc3ad4267ecb3819caaca06e75
/usr/share/applications/org.gnome.GHex.desktop
/usr/share/doc/ghex
/usr/share/doc/ghex/AUTHORS
/usr/share/doc/ghex/NEWS
/usr/share/doc/ghex/README
/usr/share/glib-2.0/schemas/org.gnome.GHex.gschema.xml
/usr/share/help/C/ghex
/usr/share/help/C/ghex/figures
/usr/share/help/C/ghex/figures/ghex_window_open.png
/usr/share/help/C/ghex/index.docbook
/usr/share/help/C/ghex/legal.xml
/usr/share/help/cs/ghex
/usr/share/help/cs/ghex/figures
/usr/share/help/cs/ghex/figures/ghex_window_open.png
/usr/share/help/cs/ghex/index.docbook
/usr/share/help/cs/ghex/legal.xml
/usr/share/help/de/ghex
/usr/share/help/de/ghex/figures
/usr/share/help/de/ghex/figures/ghex_window_open.png
/usr/share/help/de/ghex/index.docbook
/usr/share/help/de/ghex/legal.xml
/usr/share/help/el/ghex
/usr/share/help/el/ghex/figures
/usr/share/help/el/ghex/figures/ghex_window_open.png
/usr/share/help/el/ghex/index.docbook
/usr/share/help/el/ghex/legal.xml
/usr/share/help/es/ghex
/usr/share/help/es/ghex/figures
/usr/share/help/es/ghex/figures/ghex_window_open.png
/usr/share/help/es/ghex/index.docbook
/usr/share/help/es/ghex/legal.xml
/usr/share/help/fr/ghex
/usr/share/help/fr/ghex/figures
/usr/share/help/fr/ghex/figures/ghex_window_open.png
/usr/share/help/fr/ghex/index.docbook
/usr/share/help/fr/ghex/legal.xml
/usr/share/help/id/ghex
/usr/share/help/id/ghex/figures
/usr/share/help/id/ghex/figures/ghex_window_open.png
/usr/share/help/id/ghex/index.docbook
/usr/share/help/id/ghex/legal.xml
/usr/share/help/it/ghex
/usr/share/help/it/ghex/figures
/usr/share/help/it/ghex/figures/ghex_window_open.png
/usr/share/help/it/ghex/index.docbook
/usr/share/help/it/ghex/legal.xml
/usr/share/help/ja/ghex
/usr/share/help/ja/ghex/figures
/usr/share/help/ja/ghex/figures/ghex_window_open.png
/usr/share/help/ja/ghex/index.docbook
/usr/share/help/ja/ghex/legal.xml
/usr/share/help/ko/ghex
/usr/share/help/ko/ghex/figures
/usr/share/help/ko/ghex/figures/ghex_window_open.png
/usr/share/help/ko/ghex/index.docbook
/usr/share/help/ko/ghex/legal.xml
/usr/share/help/oc/ghex
/usr/share/help/oc/ghex/figures
/usr/share/help/oc/ghex/figures/ghex_window_open.png
/usr/share/help/oc/ghex/index.docbook
/usr/share/help/oc/ghex/legal.xml
/usr/share/help/pl/ghex
/usr/share/help/pl/ghex/figures
/usr/share/help/pl/ghex/figures/ghex_window_open.png
/usr/share/help/pl/ghex/index.docbook
/usr/share/help/pl/ghex/legal.xml
/usr/share/help/pt_BR/ghex
/usr/share/help/pt_BR/ghex/figures
/usr/share/help/pt_BR/ghex/figures/ghex_window_open.png
/usr/share/help/pt_BR/ghex/index.docbook
/usr/share/help/pt_BR/ghex/legal.xml
/usr/share/help/ru/ghex
/usr/share/help/ru/ghex/figures
/usr/share/help/ru/ghex/figures/ghex_window_open.png
/usr/share/help/ru/ghex/index.docbook
/usr/share/help/ru/ghex/legal.xml
/usr/share/help/sl/ghex
/usr/share/help/sl/ghex/figures
/usr/share/help/sl/ghex/figures/ghex_window_open.png
/usr/share/help/sl/ghex/index.docbook
/usr/share/help/sl/ghex/legal.xml
/usr/share/help/sv/ghex
/usr/share/help/sv/ghex/figures
/usr/share/help/sv/ghex/figures/ghex_window_open.png
/usr/share/help/sv/ghex/index.docbook
/usr/share/help/sv/ghex/legal.xml
/usr/share/help/th/ghex
/usr/share/help/th/ghex/figures
/usr/share/help/th/ghex/figures/ghex_window_open.png
/usr/share/help/th/ghex/index.docbook
/usr/share/help/th/ghex/legal.xml
/usr/share/help/zh_CN/ghex
/usr/share/help/zh_CN/ghex/figures
/usr/share/help/zh_CN/ghex/figures/ghex_window_open.png
/usr/share/help/zh_CN/ghex/index.docbook
/usr/share/help/zh_CN/ghex/legal.xml
/usr/share/help/zh_TW/ghex
/usr/share/help/zh_TW/ghex/figures
/usr/share/help/zh_TW/ghex/figures/ghex_window_open.png
/usr/share/help/zh_TW/ghex/index.docbook
/usr/share/help/zh_TW/ghex/legal.xml
/usr/share/icons/hicolor/16x16/apps/org.gnome.GHex.png
/usr/share/icons/hicolor/22x22/apps/org.gnome.GHex.png
/usr/share/icons/hicolor/24x24/apps/org.gnome.GHex.png
/usr/share/icons/hicolor/256x256/apps/org.gnome.GHex.png
/usr/share/icons/hicolor/32x32/apps/org.gnome.GHex.png
/usr/share/icons/hicolor/48x48/apps/org.gnome.GHex.png
/usr/share/icons/hicolor/512x512/apps/org.gnome.GHex.png
/usr/share/icons/hicolor/scalable/apps/org.gnome.GHex-symbolic.svg
/usr/share/licenses/ghex
/usr/share/licenses/ghex/COPYING
/usr/share/licenses/ghex/COPYING-DOCS
/usr/share/locale/am/LC_MESSAGES/ghex.mo
/usr/share/locale/ar/LC_MESSAGES/ghex.mo
/usr/share/locale/az/LC_MESSAGES/ghex.mo
/usr/share/locale/be/LC_MESSAGES/ghex.mo
/usr/share/locale/bg/LC_MESSAGES/ghex.mo
/usr/share/locale/bs/LC_MESSAGES/ghex.mo
/usr/share/locale/ca/LC_MESSAGES/ghex.mo
/usr/share/locale/cs/LC_MESSAGES/ghex.mo
/usr/share/locale/da/LC_MESSAGES/ghex.mo
/usr/share/locale/de/LC_MESSAGES/ghex.mo
/usr/share/locale/dz/LC_MESSAGES/ghex.mo
/usr/share/locale/el/LC_MESSAGES/ghex.mo
/usr/share/locale/en_CA/LC_MESSAGES/ghex.mo
/usr/share/locale/en_GB/LC_MESSAGES/ghex.mo
/usr/share/locale/es/LC_MESSAGES/ghex.mo
/usr/share/locale/et/LC_MESSAGES/ghex.mo
/usr/share/locale/eu/LC_MESSAGES/ghex.mo
/usr/share/locale/fi/LC_MESSAGES/ghex.mo
/usr/share/locale/fr/LC_MESSAGES/ghex.mo
/usr/share/locale/ga/LC_MESSAGES/ghex.mo
/usr/share/locale/gl/LC_MESSAGES/ghex.mo
/usr/share/locale/he/LC_MESSAGES/ghex.mo
/usr/share/locale/hr/LC_MESSAGES/ghex.mo
/usr/share/locale/hu/LC_MESSAGES/ghex.mo
/usr/share/locale/id/LC_MESSAGES/ghex.mo
/usr/share/locale/it/LC_MESSAGES/ghex.mo
/usr/share/locale/ja/LC_MESSAGES/ghex.mo
/usr/share/locale/ko/LC_MESSAGES/ghex.mo
/usr/share/locale/lt/LC_MESSAGES/ghex.mo
/usr/share/locale/lv/LC_MESSAGES/ghex.mo
/usr/share/locale/mk/LC_MESSAGES/ghex.mo
/usr/share/locale/ml/LC_MESSAGES/ghex.mo
/usr/share/locale/ms/LC_MESSAGES/ghex.mo
/usr/share/locale/nb/LC_MESSAGES/ghex.mo
/usr/share/locale/ne/LC_MESSAGES/ghex.mo
/usr/share/locale/nl/LC_MESSAGES/ghex.mo
/usr/share/locale/nn/LC_MESSAGES/ghex.mo
/usr/share/locale/oc/LC_MESSAGES/ghex.mo
/usr/share/locale/pa/LC_MESSAGES/ghex.mo
/usr/share/locale/pl/LC_MESSAGES/ghex.mo
/usr/share/locale/pt/LC_MESSAGES/ghex.mo
/usr/share/locale/pt_BR/LC_MESSAGES/ghex.mo
/usr/share/locale/ro/LC_MESSAGES/ghex.mo
/usr/share/locale/ru/LC_MESSAGES/ghex.mo
/usr/share/locale/rw/LC_MESSAGES/ghex.mo
/usr/share/locale/sk/LC_MESSAGES/ghex.mo
/usr/share/locale/sl/LC_MESSAGES/ghex.mo
/usr/share/locale/sq/LC_MESSAGES/ghex.mo
/usr/share/locale/sr/LC_MESSAGES/ghex.mo
/usr/share/locale/sr@latin/LC_MESSAGES/ghex.mo
/usr/share/locale/sv/LC_MESSAGES/ghex.mo
/usr/share/locale/th/LC_MESSAGES/ghex.mo
/usr/share/locale/tr/LC_MESSAGES/ghex.mo
/usr/share/locale/uk/LC_MESSAGES/ghex.mo
/usr/share/locale/vi/LC_MESSAGES/ghex.mo
/usr/share/locale/wa/LC_MESSAGES/ghex.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ghex.mo
/usr/share/locale/zh_TW/LC_MESSAGES/ghex.mo
/usr/share/metainfo/org.gnome.GHex.appdata.xml

References

Summary

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