How To Install accountsservice-libs on Rocky Linux 8

In this tutorial we learn how to install accountsservice-libs on Rocky Linux 8. accountsservice-libs is Client-side library to talk to accountsservice

Introduction

In this tutorial we learn how to install accountsservice-libs on Rocky Linux 8.

What is accountsservice-libs

The accountsservice-libs package contains a library that can be used by applications that want to interact with the accountsservice daemon.

We can use yum or dnf to install accountsservice-libs on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install accountsservice-libs.

Install accountsservice-libs on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install accountsservice-libs using dnf by running the following command:

sudo dnf -y install accountsservice-libs

Install accountsservice-libs on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install accountsservice-libs using yum by running the following command:

sudo yum -y install accountsservice-libs

How To Uninstall accountsservice-libs on Rocky Linux 8

To uninstall only the accountsservice-libs package we can use the following command:

sudo dnf remove accountsservice-libs

accountsservice-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/c3f70352ef80ec05507a5c9662a7b5914b9eea
/usr/lib/girepository-1.0/AccountsService-1.0.typelib
/usr/lib/libaccountsservice.so.0
/usr/lib/libaccountsservice.so.0.0.0
/usr/lib/.build-id
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/7c3f1e82f987b9c000d261fe918f5ab375a8a2
/usr/lib64/girepository-1.0/AccountsService-1.0.typelib
/usr/lib64/libaccountsservice.so.0
/usr/lib64/libaccountsservice.so.0.0.0

References

Summary

In this tutorial we learn how to install accountsservice-libs on Rocky Linux 8 using yum and dnf.