How To Install libefiboot-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libefiboot-dev on Ubuntu 20.04.
What is libefiboot-dev
libefiboot-dev is:
development headers required to use libefiboot
Package: libefiboot-dev Architecture: amd64 Version: 37-2ubuntu2 Multi-Arch: same Priority: optional Section: libdevel 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: 29 Depends: libefiboot1 (= 37-2ubuntu2) Conflicts: libefivar-dev (« 27-1) Replaces: libefivar-dev (« 27-1) Filename: pool/main/e/efivar/libefiboot-dev_37-2ubuntu2_amd64.deb Size: 3316 MD5sum: c6613c7ec6022b483672f954c83c8c19 SHA1: bdec0a63743539152d13966c43da70b7aa18e81f SHA256: 04023feb340f64df815c631ebcad23f25af218659dedb2ab45ae7ea35b3919fa Homepage: https://github.com/rhinstaller/efivar Description-en: Development headers for libefiboot development headers required to use libefiboot
There are three methods to install libefiboot-dev 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 libefiboot-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libefiboot-dev using apt-get by running the following command:
sudo apt-get -y install libefiboot-dev
Install libefiboot-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libefiboot-dev using apt by running the following command:
sudo apt -y install libefiboot-dev
Install libefiboot-dev 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 libefiboot-dev using aptitude by running the following command:
sudo aptitude -y install libefiboot-dev
How To Uninstall libefiboot-dev on Ubuntu 20.04
To uninstall only the libefiboot-dev package we can use the following command:
sudo apt-get remove libefiboot-dev
Uninstall libefiboot-dev And Its Dependencies
To uninstall libefiboot-dev and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libefiboot-dev
Remove libefiboot-dev Configurations and Data
To remove libefiboot-dev configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libefiboot-dev
Remove libefiboot-dev configuration, data, and all of its dependencies
We can use the following command to remove libefiboot-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libefiboot-dev
References
Summary
In this tutorial we learn how to install libefiboot-dev package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.