How To Install libsysfs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libsysfs.x86_64 in Amazon Linux 2. libsysfs.x86_64 is Shared library for interfacing with sysfs

Introduction

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

What is libsysfs.x86_64

Library used in handling linux kernel sysfs mounts and their various files.

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

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

sudo yum -y install libsysfs.x86_64

How To Uninstall libsysfs.x86_64 on Amazon Linux 2

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

sudo yum remove libsysfs.x86_64

libsysfs.x86_64 Package Contents on Amazon Linux 2

/lib64/libsysfs.so.2
/lib64/libsysfs.so.2.0.1
/usr/share/doc/libsysfs-2.1.0
/usr/share/doc/libsysfs-2.1.0/AUTHORS
/usr/share/doc/libsysfs-2.1.0/COPYING
/usr/share/doc/libsysfs-2.1.0/CREDITS
/usr/share/doc/libsysfs-2.1.0/ChangeLog
/usr/share/doc/libsysfs-2.1.0/LGPL
/usr/share/doc/libsysfs-2.1.0/NEWS
/usr/share/doc/libsysfs-2.1.0/README
/usr/share/doc/libsysfs-2.1.0/libsysfs.txt

References

Summary

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