How To Install qtile on Ubuntu 18.04

In this tutorial we learn how to install qtile on Ubuntu 18.04. qtile is Small, simple, extensible X11 window manager written in Python

Introduction

In this tutorial we learn how to install qtile on Ubuntu 18.04.

What is qtile

qtile is:

Qtile is:

  • simple, small and extensible. It’s easy to write your own layouts, widgets and built-in commands.
  • configured entirely in Python.
  • command-line shell that allows all aspects of Qtile to be manipulated and inspected.
  • complete remote scriptability - write scripts to set up workspaces, manipulate windows, update status bar widgets and more.
  • unit tested. Qtile’s scriptability has made thorough unit testing possible, making it one of the best-tested window managers around.

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

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

sudo apt-get update

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

sudo apt-get -y install qtile

Install qtile Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qtile using apt by running the following command:

sudo apt -y install qtile

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

sudo aptitude -y install qtile

How To Uninstall qtile on Ubuntu 18.04

To uninstall only the qtile package we can use the following command:

sudo apt-get remove qtile

Uninstall qtile And Its Dependencies

To uninstall qtile and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove qtile

Remove qtile Configurations and Data

To remove qtile configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qtile

Remove qtile configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qtile

References

Summary

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