acpiexec command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
acpiexec: command not found
or when using sudo you get the following error message
sudo: acpiexec: command not found
Solutions to acpiexec: command not found
How To Fix acpiexec: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu acpiexec is provided by acpica-tools package.
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)
To fix this problem, we can install more using the command below.
sudo apt-get -y install acpica-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install acpica-tools.
sudo apt -y install acpica-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install acpica-tools
Summary
In this tutorial we learn how to fix acpiexec command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.