How To Install libefivar1 on Ubuntu 20.04

In this tutorial we learn how to install libefivar1 on Ubuntu 20.04. libefivar1 is Library to manage UEFI variables Library to manage UEFI variables

Introduction

In this tutorial we learn how to install libefivar1 on Ubuntu 20.04.

What is libefivar1

libefivar1 is:

Library to allow for the simple manipulation of UEFI variables. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-live, kubuntu-desktop, kubuntu-live, xubuntu-core, xubuntu-desktop, xubuntu-live, lubuntu-desktop, lubuntu-live, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntustudio-dvd-live, ubuntukylin-desktop, ubuntukylin-live, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-live, ubuntu-budgie-desktop, ubuntu-budgie-live

Package: libefivar1 Architecture: amd64 Version: 37-2ubuntu2 Multi-Arch: same Priority: optional Section: libs Source: efivar Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian UEFI Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 170 Depends: libc6 (>= 2.14) Breaks: efibootmgr (« 0.12-2) Filename: pool/main/e/efivar/libefivar1_37-2ubuntu2_amd64.deb Size: 47756 MD5sum: 55f70949d7770c5c7830dcc0e04b0f4a SHA1: b33830698e7f8f102e00312ddd8d0fc11973773a SHA256: 73158f41667366e532089e4b64ce9bbd3ad2feb74c8e4042a9e3d3167ae69904 Homepage: https://github.com/rhinstaller/efivar Description-en: Library to manage UEFI variables Library to allow for the simple manipulation of UEFI variables. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-live, kubuntu-desktop, kubuntu-live, xubuntu-core, xubuntu-desktop, xubuntu-live, lubuntu-desktop, lubuntu-live, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntustudio-dvd-live, ubuntukylin-desktop, ubuntukylin-live, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-live, ubuntu-budgie-desktop, ubuntu-budgie-live

There are three methods to install libefivar1 on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libefivar1 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libefivar1 using apt-get by running the following command:

sudo apt-get -y install libefivar1

Install libefivar1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libefivar1 using apt by running the following command:

sudo apt -y install libefivar1

Install libefivar1 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libefivar1 using aptitude by running the following command:

sudo aptitude -y install libefivar1

How To Uninstall libefivar1 on Ubuntu 20.04

To uninstall only the libefivar1 package we can use the following command:

sudo apt-get remove libefivar1

Uninstall libefivar1 And Its Dependencies

To uninstall libefivar1 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libefivar1

Remove libefivar1 Configurations and Data

To remove libefivar1 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libefivar1

Remove libefivar1 configuration, data, and all of its dependencies

We can use the following command to remove libefivar1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libefivar1

References

Summary

In this tutorial we learn how to install libefivar1 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.