How to Install and Uninstall yacpi Ubuntu 22.04

Updated: October 7, 2022

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. In this tutorial, I will show you how to install yacpi on Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install yacpi on Ubuntu 22.04

Install yacpi Ubuntu 22.04

yacpi is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install yacpi using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install yacpi on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install yacpi Ubuntu by pasting this command into the terminal and executing it.

sudo apt-get -y install yacpi

Install yacpi using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

Then, you can now install yacpi, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install yacpi Ubuntu by executing this command in the terminal.

sudo aptitude -y install yacpi

Uninstall yacpi on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a yacpi.

This command can be used to uninstall yacpi from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove yacpi

To uninstall yacpi and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge yacpi


In this guide, I showed you ways to install yacpi on Ubuntu 22.04 and some ways to uninstall yacpi too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.