How To Install gnome-settings-daemon-dev on Ubuntu 18.04

In this tutorial we learn how to install gnome-settings-daemon-dev on Ubuntu 18.04. gnome-settings-daemon-dev is Headers for building applications communicating with gnome-settings-daemon

Introduction

In this tutorial we learn how to install gnome-settings-daemon-dev on Ubuntu 18.04.

What is gnome-settings-daemon-dev

gnome-settings-daemon-dev is:

This package contains header files required to build applications that communicate with the GNOME settings daemon over D-Bus.

There are three methods to install gnome-settings-daemon-dev 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 gnome-settings-daemon-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install gnome-settings-daemon-dev using apt-get by running the following command:

sudo apt-get -y install gnome-settings-daemon-dev

Install gnome-settings-daemon-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gnome-settings-daemon-dev using apt by running the following command:

sudo apt -y install gnome-settings-daemon-dev

Install gnome-settings-daemon-dev 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 gnome-settings-daemon-dev using aptitude by running the following command:

sudo aptitude -y install gnome-settings-daemon-dev

How To Uninstall gnome-settings-daemon-dev on Ubuntu 18.04

To uninstall only the gnome-settings-daemon-dev package we can use the following command:

sudo apt-get remove gnome-settings-daemon-dev

Uninstall gnome-settings-daemon-dev And Its Dependencies

To uninstall gnome-settings-daemon-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove gnome-settings-daemon-dev

Remove gnome-settings-daemon-dev Configurations and Data

To remove gnome-settings-daemon-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gnome-settings-daemon-dev

Remove gnome-settings-daemon-dev configuration, data, and all of its dependencies

We can use the following command to remove gnome-settings-daemon-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gnome-settings-daemon-dev

References

Summary

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