How To Install intelhex on Fedora 36

In this tutorial we learn how to install intelhex in Fedora 36. intelhex is Utilities for manipulating Intel HEX file format

Introduction

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

What is intelhex

The Intel HEX file format is widely used in microprocessors and microcontrollers area (embedded systems etc) as the de facto standard for representation of code to be programmed into microelectronic devices. This work implements an intelhex Python library and a number of utilities to read, write, create from scratch and manipulate data from Intel HEX file format. The distribution package also includes several convenience Python scripts, including “classic” hex2bin and bin2hex converters and more, those based on the library itself. Check the docs to know more.

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

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

sudo dnf -y install intelhex

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

sudo yum -y install intelhex

How To Uninstall intelhex on Fedora 36

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

sudo dnf remove intelhex

intelhex Package Contents on Fedora 36

/usr/bin/bin2hex.py
/usr/bin/hex2bin.py
/usr/bin/hex2dump.py
/usr/bin/hexdiff.py
/usr/bin/hexinfo.py
/usr/bin/hexmerge.py
/usr/share/doc/intelhex
/usr/share/doc/intelhex/NEWS.rst
/usr/share/doc/intelhex/README.rst

References

Summary

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