acpi_listen command not found

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

Introduction

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

acpi_listen: command not found

or when using sudo you get the following error message

sudo: acpi_listen: command not found

Solutions to acpi_listen: command not found

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

In Ubuntu acpi_listen is provided by acpid package.

acpid is:

Modern computers support the Advanced Configuration and Power Interface (ACPI) to allow intelligent power management on your system and to query battery and configuration status.

ACPID is a completely flexible, totally extensible daemon for delivering ACPI events. It listens on netlink interface (or on the deprecated file /proc/acpi/event), and when an event occurs, executes programs to handle the event. The programs it executes are configured through a set of configuration files, which can be dropped into place by packages or by the admin.

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

sudo apt-get -y install acpid

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

You can also use apt command to install acpid.

sudo apt -y install acpid

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

sudo aptitude install acpid

Summary

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