How To Install xfce4-panel-dev on Ubuntu 18.04

In this tutorial we learn how to install xfce4-panel-dev on Ubuntu 18.04. xfce4-panel-dev is Xfce4 panel development files

Introduction

In this tutorial we learn how to install xfce4-panel-dev on Ubuntu 18.04.

What is xfce4-panel-dev

xfce4-panel-dev is:

In this package, you can find the development files distributed with the Xfce4 panel, the main panel of Xfce4 desktop environment. The files in this package are mainly going to be of interest for you if you intend to code applications which use some of the Xfce4 C panel functions.

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

sudo apt-get -y install xfce4-panel-dev

Install xfce4-panel-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xfce4-panel-dev using apt by running the following command:

sudo apt -y install xfce4-panel-dev

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

sudo aptitude -y install xfce4-panel-dev

How To Uninstall xfce4-panel-dev on Ubuntu 18.04

To uninstall only the xfce4-panel-dev package we can use the following command:

sudo apt-get remove xfce4-panel-dev

Uninstall xfce4-panel-dev And Its Dependencies

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

sudo apt-get -y autoremove xfce4-panel-dev

Remove xfce4-panel-dev Configurations and Data

To remove xfce4-panel-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xfce4-panel-dev

Remove xfce4-panel-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xfce4-panel-dev

References

Summary

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