How To Install libgroup-service-dev on Debian 12

Learn how to install libgroup-service-dev on Debian 12 with this tutorial. libgroup-service-dev is Manage local user groups via DBus (client library, development files)

Introduction

In this tutorial we learn how to install libgroup-service-dev on Debian 12.

What is libgroup-service-dev

libgroup-service-dev is:

Using DBus to manage local user groups, you can complete the addition and deletion of local user groups, add/remove users to/from groups, and change the name of local user groups.

This package provides development headers of the client library for accessing group-service.

There are three methods to install libgroup-service-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgroup-service-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 libgroup-service-dev using apt-get by running the following command:

sudo apt-get -y install libgroup-service-dev

Install libgroup-service-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgroup-service-dev

Install libgroup-service-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libgroup-service-dev using aptitude by running the following command:

sudo aptitude -y install libgroup-service-dev

How To Uninstall libgroup-service-dev on Debian 12

To uninstall only the libgroup-service-dev package we can use the following command:

sudo apt-get remove libgroup-service-dev

Uninstall libgroup-service-dev And Its Dependencies

To uninstall libgroup-service-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libgroup-service-dev

Remove libgroup-service-dev Configurations and Data

To remove libgroup-service-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libgroup-service-dev

Remove libgroup-service-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgroup-service-dev

Dependencies

libgroup-service-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libgroup-service-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.