How To Install libgroup-service1 on Debian 12

Learn how to install libgroup-service1 on Debian 12 with this tutorial. libgroup-service1 is Manage local user groups via DBus (shared client library)

Introduction

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

What is libgroup-service1

libgroup-service1 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 the client library for accessing group-service.

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

sudo apt-get -y install libgroup-service1

Install libgroup-service1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgroup-service1

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

sudo aptitude -y install libgroup-service1

How To Uninstall libgroup-service1 on Debian 12

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

sudo apt-get remove libgroup-service1

Uninstall libgroup-service1 And Its Dependencies

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

sudo apt-get -y autoremove libgroup-service1

Remove libgroup-service1 Configurations and Data

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

sudo apt-get -y purge libgroup-service1

Remove libgroup-service1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgroup-service1

Dependencies

libgroup-service1 have the following dependencies:

References

Summary

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