How To Install libcom_err.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libcom_err.x86_64 in Amazon Linux 2. libcom_err.x86_64 is Common error description library

Introduction

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

What is libcom_err.x86_64

This is the common error description library, part of e2fsprogs. libcom_err is an attempt to present a common error-handling mechanism.

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

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

sudo yum -y install libcom_err.x86_64

How To Uninstall libcom_err.x86_64 on Amazon Linux 2

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

sudo yum remove libcom_err.x86_64

libcom_err.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libcom_err.so.2
/usr/lib64/libcom_err.so.2.1
/usr/share/doc/libcom_err-1.42.9
/usr/share/doc/libcom_err-1.42.9/COPYING

References

Summary

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