How To Install setserial.x86_64 on Amazon Linux 2

In this tutorial we learn how to install setserial.x86_64 in Amazon Linux 2. setserial.x86_64 is A utility for configuring serial ports

Introduction

In this tutorial we learn how to install setserial.x86_64 on Amazon Linux 2.

What is setserial.x86_64

Setserial is a basic system utility for displaying or setting serial port information. Setserial can reveal and allow you to alter the I/O port and IRQ that a particular serial device is using, and more.

We can use yum to install setserial.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install setserial.x86_64.

Install setserial.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install setserial.x86_64 using yum by running the following command:

sudo yum -y install setserial.x86_64

How To Uninstall setserial.x86_64 on Amazon Linux 2

To uninstall only the setserial.x86_64 package we can use the following command:

sudo yum remove setserial.x86_64

setserial.x86_64 Package Contents on Amazon Linux 2

/bin/setserial
/usr/share/doc/setserial-2.17
/usr/share/doc/setserial-2.17/README
/usr/share/doc/setserial-2.17/rc.serial
/usr/share/man/man8/setserial.8.gz

References

Summary

In this tutorial we learn how to install setserial.x86_64 on Amazon Linux 2 using yum.