How To Install alt-key on Debian 9

In this tutorial we learn how to install alt-key on Debian 9. alt-key is tool to help developers improve keyboard accelerators

Introduction

In this tutorial we learn how to install alt-key on Debian 9.

What is alt-key

alt-key is:

Alt_Key is an application that instantly shows where keyboard accelerators should go in menu option texts and dialog labels. It is very fast because it uses the Kuhn-Munkres algorithm, easily outperforming all the naive algorithms.

The program makes it straightforward for developers to find the right characters to use as accelerators for menu option texts and for dialog labels. This helps make GUI programs more usable by catering for users who can’t use the mouse and for fast typists who don’t want to use the mouse.

There are three methods to install alt-key on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install alt-key Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install alt-key

Install alt-key Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install alt-key

Install alt-key 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install alt-key

How To Uninstall alt-key on Debian 9

To uninstall only the alt-key package we can use the following command:

sudo apt-get remove alt-key

Uninstall alt-key And Its Dependencies

To uninstall alt-key and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove alt-key

Remove alt-key Configurations and Data

To remove alt-key configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge alt-key

Remove alt-key configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge alt-key

Dependencies

alt-key have the following dependencies:

References

Summary

In this tutorial we learn how to install alt-key package on Debian 9 using different package management tools: apt, apt-get and aptitude.