How To Install efivar-libs on CentOS 8
Introduction
In this tutorial we learn how to install efivar-libs
on CentOS 8.
What is efivar-libs
Library to allow for the simple manipulation of UEFI variables. efivar-libs 37 4.el8 x86_64 107 k efivar-37-4.el8.src.rpm baseos Library to manage UEFI variables https LGPL-2.1 Library to allow for the simple manipulation of UEFI variables.
We can use yum
or dnf
to install efivar-libs
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install efivar-libs.
Install efivar-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 efivar-libs
using dnf
by running the following command:
sudo dnf -y install efivar-libs
Install efivar-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 efivar-libs
using yum
by running the following command:
sudo yum -y install efivar-libs
How To Uninstall efivar-libs on CentOS 8
To uninstall only the efivar-libs
package we can use the following command:
sudo dnf remove efivar-libs
efivar-libs Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/f809afdc603e68b2490db79f63c66a4462bdb5
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/eb03966980d81ed50d95b291d3b58330c415ac
/usr/lib64/libefiboot.so.1
/usr/lib64/libefiboot.so.1.37
/usr/lib64/libefivar.so.1
/usr/lib64/libefivar.so.1.37
/usr/lib/.build-id
/usr/lib/.build-id/98
/usr/lib/.build-id/98/4f6dda2cce887717e42798d26ad5fab29ebcc8
/usr/lib/.build-id/df
/usr/lib/.build-id/df/da3de69713f020dc32f30afb52c089a5d8923b
/usr/lib/libefiboot.so.1
/usr/lib/libefiboot.so.1.37
/usr/lib/libefivar.so.1
/usr/lib/libefivar.so.1.37
References
- [efivar-libs website](https://github.com/rhboot/efivar https://github.com/rhboot/efivar)
Summary
In this tutorial we learn how to install efivar-libs
on CentOS 8 using yum and dnf.