How To Install acpi-fakekey on Kali Linux

In this tutorial we learn how to install acpi-fakekey on Kali Linux. acpi-fakekey is tool to generate fake key events

Introduction

In this tutorial we learn how to install acpi-fakekey on Kali Linux.

What is acpi-fakekey

acpi-fakekey is:

This package contains a small tool that can be used to generate key events as if the corresponding key was pressed. It is used by scripts processing ACPI events to translate these events to key presses but can also be used separately.

There are three methods to install acpi-fakekey on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install acpi-fakekey Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install acpi-fakekey using apt-get by running the following command:

sudo apt-get -y install acpi-fakekey

Install acpi-fakekey Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install acpi-fakekey using apt by running the following command:

sudo apt -y install acpi-fakekey

Install acpi-fakekey Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install acpi-fakekey using aptitude by running the following command:

sudo aptitude -y install acpi-fakekey

How To Uninstall acpi-fakekey on Kali Linux

To uninstall only the acpi-fakekey package we can use the following command:

sudo apt-get remove acpi-fakekey

Uninstall acpi-fakekey And Its Dependencies

To uninstall acpi-fakekey and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove acpi-fakekey

Remove acpi-fakekey Configurations and Data

To remove acpi-fakekey configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge acpi-fakekey

Remove acpi-fakekey configuration, data, and all of its dependencies

We can use the following command to remove acpi-fakekey configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge acpi-fakekey

Dependencies

acpi-fakekey have the following dependencies:

References

Summary

In this tutorial we learn how to install acpi-fakekey package on Kali Linux using different package management tools: apt, apt-get and aptitude.