yacpi command not found

In this troubleshooting guide we learn how to fix yacpi command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

yacpi: command not found

or when using sudo you get the following error message

sudo: yacpi: command not found

Solutions to yacpi: command not found

How To Fix yacpi: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu yacpi is provided by yacpi package.

yacpi is:

yacpi (yet another configuration and power interface) is an ncurses based ACPI monitoring program for notebooks. There is also a text-only output so it is possible to include it in scripts. It displays various ACPI information like battery status, temperature, charging circuits and AC status. Additionally it displays CPU governor and current frequency.

To fix this problem, we can install more using the command below.

sudo apt-get -y install yacpi

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install yacpi.

sudo apt -y install yacpi

Or if you have aptitude installed you can use the following command.

sudo aptitude install yacpi

Summary

In this tutorial we learn how to fix yacpi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.