How To Install xubuntu-desktop on Ubuntu 20.04

In this tutorial we learn how to install xubuntu-desktop on Ubuntu 20.04. xubuntu-desktop is Xubuntu desktop system

Introduction

In this tutorial we learn how to install xubuntu-desktop on Ubuntu 20.04.

What is xubuntu-desktop

xubuntu-desktop is:

This package depends on all of the packages in the Xubuntu desktop system

It is safe to remove this package if some of the desktop system packages are not desired. Task: xubuntu-desktop

There are three methods to install xubuntu-desktop 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 xubuntu-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 xubuntu-desktop using apt-get by running the following command:

sudo apt-get -y install xubuntu-desktop

Install xubuntu-desktop Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xubuntu-desktop

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

sudo aptitude -y install xubuntu-desktop

How To Uninstall xubuntu-desktop on Ubuntu 20.04

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

sudo apt-get remove xubuntu-desktop

Uninstall xubuntu-desktop And Its Dependencies

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

sudo apt-get -y autoremove xubuntu-desktop

Remove xubuntu-desktop Configurations and Data

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

sudo apt-get -y purge xubuntu-desktop

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

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

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

References

Summary

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