How To Install accountsservice-libs on CentOS 7

In this tutorial we learn how to install accountsservice-libs on CentOS 7. accountsservice-libs is Client-side library to talk to accountsservice

Introduction

In this tutorial we learn how to install accountsservice-libs on CentOS 7.

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. 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install accountsservice-libs.

Install accountsservice-libs on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install accountsservice-libs

Install accountsservice-libs on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install accountsservice-libs

How To Uninstall accountsservice-libs on CentOS 7

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

sudo dnf remove accountsservice-libs

References

Summary

In this tutorial we learn how to install accountsservice-libs on CentOS 7 using yum and dnf.