How To Install autokey-gtk on Ubuntu 20.04

In this tutorial we learn how to install autokey-gtk on Ubuntu 20.04. autokey-gtk is desktop automation utility - GTK+ version

Introduction

In this tutorial we learn how to install autokey-gtk on Ubuntu 20.04.

What is autokey-gtk

autokey-gtk is:

AutoKey is a desktop automation utility for Linux and X11. It allows the automation of virtually any task by responding to typed abbreviations and hotkeys. It offers a full-featured GUI that makes it highly accessible for novices, as well as a scripting interface offering the full flexibility and power of the Python language.

This package contains the GTK+ frontend.

There are three methods to install autokey-gtk on Ubuntu 20.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 autokey-gtk Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install autokey-gtk

Install autokey-gtk Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install autokey-gtk

Install autokey-gtk 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 autokey-gtk using aptitude by running the following command:

sudo aptitude -y install autokey-gtk

How To Uninstall autokey-gtk on Ubuntu 20.04

To uninstall only the autokey-gtk package we can use the following command:

sudo apt-get remove autokey-gtk

Uninstall autokey-gtk And Its Dependencies

To uninstall autokey-gtk and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove autokey-gtk

Remove autokey-gtk Configurations and Data

To remove autokey-gtk configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge autokey-gtk

Remove autokey-gtk configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge autokey-gtk

References

Summary

In this tutorial we learn how to install autokey-gtk package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.