pmi command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pmi: command not found
or when using sudo you get the following error message
sudo: pmi: command not found
Solutions to pmi: command not found
How To Fix pmi: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pmi is provided by powermanagement-interface package.
powermanagement-interface is:
Provides an abstracted layer above the platform specific power management interfaces, with a consistent API so that higher level tools can interact with those interfaces.
To fix this problem, we can install more using the command below.
sudo apt-get -y install powermanagement-interface
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install powermanagement-interface.
sudo apt -y install powermanagement-interface
Or if you have aptitude installed you can use the following command.
sudo aptitude install powermanagement-interface
Summary
In this tutorial we learn how to fix pmi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.