How To Install srecord on CentOS 7

In this tutorial we learn how to install srecord on CentOS 7. srecord is Manipulate EPROM load files

Introduction

In this tutorial we learn how to install srecord on CentOS 7.

What is srecord

The SRecord package is a collection of powerful tools for manipulating EPROM load files. - The SRecord package understands a number of file formats Motorola S-Record, Intel, Tektronix, Binary. These file formats may be read and written. Also C array definitions, for output only. - The SRecord package has a number of tools and and converting files, srec_cmp for comparing files and srec_info for printing summaries. - The SRecord package has a number for filters checksums to the data, crop to keep address ranges, exclude to remove address ranges, fill to plug holes in the data, length to insert the data length, maximum to insert the data address maximum, minimum to insert the data address minimum, offset to adjust addresses, and split for wide data buses and memory striping. More than one filter may be applied to each input file. Different filters may be applied to each input file. All filters may be applied to all file formats.

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

Install srecord on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install srecord

Install srecord on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install srecord

How To Uninstall srecord on CentOS 7

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

sudo dnf remove srecord

References

Summary

In this tutorial we learn how to install srecord on CentOS 7 using yum and dnf.