How To Install yacpi on Debian 10
Introduction
In this tutorial we learn how to install yacpi
on Debian 10.
What is yacpi
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.
There are three methods to install yacpi
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install yacpi Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install yacpi
using apt-get
by running the following command:
sudo apt-get -y install yacpi
Install yacpi Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install yacpi
using apt
by running the following command:
sudo apt -y install yacpi
Install yacpi 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install yacpi
using aptitude
by running the following command:
sudo aptitude -y install yacpi
How To Uninstall yacpi on Debian 10
To uninstall only the yacpi
package we can use the following command:
sudo apt-get remove yacpi
Uninstall yacpi And Its Dependencies
To uninstall yacpi
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove yacpi
Remove yacpi Configurations and Data
To remove yacpi
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge yacpi
Remove yacpi configuration, data, and all of its dependencies
We can use the following command to remove yacpi
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge yacpi
Dependencies
yacpi have the following dependencies:
References
Summary
In this tutorial we learn how to install yacpi
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.