How To Install e2fsprogs-libs on CentOS 8

e2fsprogs-libs is Ext2/3/4 file system specific shared libraries Ext2/3/4 file system specific shared libraries

Introduction

In this tutorial we learn how to install e2fsprogs-libs on CentOS 8.

What is e2fsprogs-libs

E2fsprogs-libs contains libe2p and libext2fs, the libraries of the e2fsprogs package. These libraries are used to directly access ext2/3/4 file systems from user space. e2fsprogs-libs 1.45.6 1.el8 x86_64 233 k e2fsprogs-1.45.6-1.el8.src.rpm baseos Ext2/3/4 file system specific shared libraries http GPLv2 and LGPLv2 E2fsprogs-libs contains libe2p and libext2fs, the libraries of the e2fsprogs package. These libraries are used to directly access ext2/3/4 file systems from user space.

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

Install e2fsprogs-libs on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install e2fsprogs-libs using dnf by running the following command:

sudo dnf -y install e2fsprogs-libs

Install e2fsprogs-libs on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install e2fsprogs-libs

How To Uninstall e2fsprogs-libs on CentOS 8

To uninstall only the e2fsprogs-libs package we can use the following command:

sudo dnf remove e2fsprogs-libs

e2fsprogs-libs Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/0da09c3ce6552b1f22ea003f20a77a3fa97872
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/b29d943fc764293d4543878dbd5e41e53e2e06
/usr/lib/libe2p.so.2
/usr/lib/libe2p.so.2.3
/usr/lib/libext2fs.so.2
/usr/lib/libext2fs.so.2.4
/usr/share/licenses/e2fsprogs-libs
/usr/share/licenses/e2fsprogs-libs/NOTICE
/usr/lib/.build-id
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/cad915ddbfe3f473e77886780014e39172b305
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/6761845e9bcdfefdfbf37300c7ae40365e718a
/usr/lib64/libe2p.so.2
/usr/lib64/libe2p.so.2.3
/usr/lib64/libext2fs.so.2
/usr/lib64/libext2fs.so.2.4
/usr/share/licenses/e2fsprogs-libs
/usr/share/licenses/e2fsprogs-libs/NOTICE

References

Summary

In this tutorial we learn how to install e2fsprogs-libs on CentOS 8 using yum and dnf.