How To Install desktop-profiles on Ubuntu 18.04

In this tutorial we learn how to install desktop-profiles on Ubuntu 18.04. desktop-profiles is framework for setting up desktop profiles

Introduction

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

What is desktop-profiles

desktop-profiles is:

This package offers a standard cross-desktop way of managing the conditional activation of available profiles. As such it is useful to both administrators (allowing different configurations for different sets of users) and CDD’s (who want to have a configuration customized for a certain target group).

The different Desktop environments in Debian all offer the possibility of customizing them through the use of profiles (sets of configuration and/or data files). Usually it’s also possible to stack configuration sets, combining the customizations provided by a number of profiles.

This package currently supports setting up profiles for KDE, GNOME, ROX, Xfce (>=4.2), GNUSTEP, UDE, and Freedesktop. Freedesktop profiles allow you to do a (growing amount of) cross-desktop customization, while the other profile kinds allow you to customize the respective desktop environments to various degrees.

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

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

sudo apt-get update

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

sudo apt-get -y install desktop-profiles

Install desktop-profiles Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install desktop-profiles

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

sudo aptitude -y install desktop-profiles

How To Uninstall desktop-profiles on Ubuntu 18.04

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

sudo apt-get remove desktop-profiles

Uninstall desktop-profiles And Its Dependencies

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

sudo apt-get -y autoremove desktop-profiles

Remove desktop-profiles Configurations and Data

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

sudo apt-get -y purge desktop-profiles

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

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

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

References

Summary

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