efi-readvar command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
efi-readvar: command not found
or when using sudo you get the following error message
sudo: efi-readvar: command not found
Solutions to efi-readvar: command not found
How To Fix efi-readvar: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu efi-readvar is provided by efitools package.
efitools is:
This package installs a variety of tools for manipulating keys and binary signatures on UEFI secure boot platforms. The tools provide access to the keys and certificates stored in the secure variables of the UEFI firmware, usually in the NVRAM area.
To fix this problem, we can install more using the command below.
sudo apt-get -y install efitools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install efitools.
sudo apt -y install efitools
Or if you have aptitude installed you can use the following command.
sudo aptitude install efitools
Summary
In this tutorial we learn how to fix efi-readvar command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.