Introduction
In this tutorial we learn how to install acpica-tools
on Ubuntu 22.04.
What is acpica-tools
acpica-tools is:
The ACPI Component Architecture (ACPICA) project provides an OS-independent
reference implementation of the Advanced Configuration and Power Interface
Specification (ACPI). ACPICA code contains those portions of ACPI meant to
be directly integrated into the host OS as a kernel-resident subsystem, and
a small set of tools to assist in developing and debugging ACPI tables.
This package contains only the user-space tools needed for ACPI table
development, not the kernel implementation of ACPI. The following commands
are installed:
– iasl: compiles ASL (ACPI Source Language) into AML (ACPI Machine
Language), suitable for inclusion as a DSDT in system firmware.
It also can disassemble AML, for debugging purposes.
– acpibin: performs basic operations on binary AML files (e.g.,
comparison, data extraction)
– acpidump: write out the current contents of ACPI tables
– acpiexec: simulate AML execution in order to debug method definitions
– acpihelp: display help messages describing ASL keywords and op-codes
– acpinames: display complete ACPI name space from input AML
– acpisrc: manipulate the ACPICA source tree and format source files
for specific environments
– acpixtract: extract binary ACPI tables from acpidump output (see
also the pmtools package)
There are three methods to install acpica-tools
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install acpica-tools Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install acpica-tools
using apt-get
by running the following command:
sudo apt-get -y install acpica-tools
Install acpica-tools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install acpica-tools
using apt
by running the following command:
sudo apt -y install acpica-tools
Install acpica-tools 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install acpica-tools
using aptitude
by running the following command:
sudo aptitude -y install acpica-tools
How To Uninstall acpica-tools on Ubuntu 22.04
To uninstall only the acpica-tools
package we can use the following command:
sudo apt-get remove acpica-tools
Uninstall acpica-tools And Its Dependencies
To uninstall acpica-tools
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove acpica-tools
Remove acpica-tools Configurations and Data
To remove acpica-tools
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge acpica-tools
Remove acpica-tools configuration, data, and all of its dependencies
We can use the following command to remove acpica-tools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge acpica-tools
References
Summary
In this tutorial we learn how to install acpica-tools
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.