How To Install irda-utils on CentOS 7

In this tutorial we learn how to install irda-utils on CentOS 7. irda-utils is Utilities for infrared communication between devices

Introduction

In this tutorial we learn how to install irda-utils on CentOS 7.

What is irda-utils

IrDA(TM) (Infrared Data Association) is an industry standard for wireless, infrared communication between devices. IrDA speeds range from 9600 bps to 4 Mbps, and IrDA can be used by many modern devices including laptops, LAN adapters, PDAs, printers, and mobile phones. The Linux-IrDA project is a GPL’d implementation, written from scratch, of the IrDA protocols. Supported IrDA protocols include IrLAP, IrLMP, IrIAP, IrTTP, IrLPT, IrLAN, IrCOMM and IrOBEX. The irda-utils package contains a collection of programs that enable the use of IrDA protocols. Most IrDA features are implemented in the kernel, so IrDA support must be enabled in the kernel before any IrDA tools or programs can be used. Some configuration outside the kernel is required, however, and some IrDA features, like IrOBEX, are actually implemented outside the kernel.

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

Install irda-utils on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install irda-utils using yum by running the following command:

sudo yum -y install irda-utils

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

sudo dnf -y install irda-utils

How To Uninstall irda-utils on CentOS 7

To uninstall only the irda-utils package we can use the following command:

sudo dnf remove irda-utils

References

Summary

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