How To Install dhex on Fedora 34

dhex is Ncurses based hexadecimal editor with a diff mode

Introduction

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

What is dhex

DHEX is a more than just another hex editor can be used to easily and conveniently compare two binary files. Since it is based on ncurses and is themeable, it can run on any number of systems and scenarios. With its utilization of search logs, it is possible to track changes in different iterations of files easily.

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

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

sudo dnf -y install dhex

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

sudo yum -y install dhex

How To Uninstall dhex on Fedora 34

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

sudo dnf remove dhex

dhex Package Contents on Fedora 34

/usr/bin/dhex
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/c00b312c700897274036ff2d7a114f9a1570d6
/usr/share/doc/dhex
/usr/share/doc/dhex/README.txt
/usr/share/doc/dhex/gpl.txt
/usr/share/doc/dhex/todo.txt
/usr/share/man/man1/dhex.1.gz
/usr/share/man/man5/dhex_markers.5.gz
/usr/share/man/man5/dhex_searchlog.5.gz
/usr/share/man/man5/dhexrc.5.gz

References

Summary

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