How To Install libfdisk.i686 on Amazon Linux 2

In this tutorial we learn how to install libfdisk.i686 in Amazon Linux 2. libfdisk.i686 is Partitioning library for fdisk-like programs.

Introduction

In this tutorial we learn how to install libfdisk.i686 on Amazon Linux 2.

What is libfdisk.i686

This is library for fdisk-like programs, part of util-linux.

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

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

sudo yum -y install libfdisk.i686

How To Uninstall libfdisk.i686 on Amazon Linux 2

To uninstall only the libfdisk.i686 package we can use the following command:

sudo yum remove libfdisk.i686

libfdisk.i686 Package Contents on Amazon Linux 2

/usr/lib/libfdisk.so.1
/usr/lib/libfdisk.so.1.1.0
/usr/share/licenses/libfdisk-2.30.2
/usr/share/licenses/libfdisk-2.30.2/COPYING
/usr/share/licenses/libfdisk-2.30.2/COPYING.LGPLv2.1

References

Summary

In this tutorial we learn how to install libfdisk.i686 on Amazon Linux 2 using yum.