How To Install qtubuntu-desktop on Ubuntu 18.04

In this tutorial we learn how to install qtubuntu-desktop on Ubuntu 18.04. qtubuntu-desktop is Qt plugins for Mir support on Ubuntu (desktop)

Introduction

In this tutorial we learn how to install qtubuntu-desktop on Ubuntu 18.04.

What is qtubuntu-desktop

qtubuntu-desktop is:

QtUbuntu is a QPA plugin for Qt5 adding support for the Mir display server.

This variant of the package is for GNU-based desktops.

There are three methods to install qtubuntu-desktop 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 qtubuntu-desktop Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install qtubuntu-desktop

Install qtubuntu-desktop Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install qtubuntu-desktop

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

sudo aptitude -y install qtubuntu-desktop

How To Uninstall qtubuntu-desktop on Ubuntu 18.04

To uninstall only the qtubuntu-desktop package we can use the following command:

sudo apt-get remove qtubuntu-desktop

Uninstall qtubuntu-desktop And Its Dependencies

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

sudo apt-get -y autoremove qtubuntu-desktop

Remove qtubuntu-desktop Configurations and Data

To remove qtubuntu-desktop configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qtubuntu-desktop

Remove qtubuntu-desktop configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qtubuntu-desktop

References

Summary

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