How To Install accountsservice on Fedora 34

accountsservice is D-Bus interfaces for querying and manipulating user account information

Introduction

In this tutorial we learn how to install accountsservice on Fedora 34.

What is accountsservice

The accountsservice project provides a set of D-Bus interfaces for querying and manipulating user account information and an implementation of these interfaces, based on the useradd, usermod and userdel commands.

We can use yum or dnf to install accountsservice on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install accountsservice.

Install accountsservice on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install accountsservice

Install accountsservice on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install accountsservice

How To Uninstall accountsservice on Fedora 34

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

sudo dnf remove accountsservice

accountsservice Package Contents on Fedora 34

/etc/dbus-1/system.d/org.freedesktop.Accounts.conf
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/4dddb3d0701cddad2eaf3024a9c0c727a21d2c
/usr/lib/systemd/system/accounts-daemon.service
/usr/libexec/accounts-daemon
/usr/share/accountsservice
/usr/share/accountsservice/interfaces
/usr/share/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
/usr/share/dbus-1/interfaces/org.freedesktop.Accounts.xml
/usr/share/dbus-1/system-services/org.freedesktop.Accounts.service
/usr/share/doc/accountsservice
/usr/share/doc/accountsservice/AUTHORS
/usr/share/doc/accountsservice/README.md
/usr/share/licenses/accountsservice
/usr/share/licenses/accountsservice/COPYING
/usr/share/locale/af/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ar/LC_MESSAGES/accounts-service.mo
/usr/share/locale/as/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ast/LC_MESSAGES/accounts-service.mo
/usr/share/locale/az/LC_MESSAGES/accounts-service.mo
/usr/share/locale/be/LC_MESSAGES/accounts-service.mo
/usr/share/locale/bg/LC_MESSAGES/accounts-service.mo
/usr/share/locale/bn_IN/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ca/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/accounts-service.mo
/usr/share/locale/cs/LC_MESSAGES/accounts-service.mo
/usr/share/locale/cy/LC_MESSAGES/accounts-service.mo
/usr/share/locale/da/LC_MESSAGES/accounts-service.mo
/usr/share/locale/de/LC_MESSAGES/accounts-service.mo
/usr/share/locale/el/LC_MESSAGES/accounts-service.mo
/usr/share/locale/en/LC_MESSAGES/accounts-service.mo
/usr/share/locale/en_GB/LC_MESSAGES/accounts-service.mo
/usr/share/locale/eo/LC_MESSAGES/accounts-service.mo
/usr/share/locale/es/LC_MESSAGES/accounts-service.mo
/usr/share/locale/et/LC_MESSAGES/accounts-service.mo
/usr/share/locale/eu/LC_MESSAGES/accounts-service.mo
/usr/share/locale/fa/LC_MESSAGES/accounts-service.mo
/usr/share/locale/fi/LC_MESSAGES/accounts-service.mo
/usr/share/locale/fo/LC_MESSAGES/accounts-service.mo
/usr/share/locale/fr/LC_MESSAGES/accounts-service.mo
/usr/share/locale/fur/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ga/LC_MESSAGES/accounts-service.mo
/usr/share/locale/gl/LC_MESSAGES/accounts-service.mo
/usr/share/locale/gu/LC_MESSAGES/accounts-service.mo
/usr/share/locale/he/LC_MESSAGES/accounts-service.mo
/usr/share/locale/hi/LC_MESSAGES/accounts-service.mo
/usr/share/locale/hr/LC_MESSAGES/accounts-service.mo
/usr/share/locale/hu/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ia/LC_MESSAGES/accounts-service.mo
/usr/share/locale/id/LC_MESSAGES/accounts-service.mo
/usr/share/locale/it/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ja/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ka/LC_MESSAGES/accounts-service.mo
/usr/share/locale/kk/LC_MESSAGES/accounts-service.mo
/usr/share/locale/kn/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ko/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ky/LC_MESSAGES/accounts-service.mo
/usr/share/locale/lt/LC_MESSAGES/accounts-service.mo
/usr/share/locale/lv/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ml/LC_MESSAGES/accounts-service.mo
/usr/share/locale/mr/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ms/LC_MESSAGES/accounts-service.mo
/usr/share/locale/nb/LC_MESSAGES/accounts-service.mo
/usr/share/locale/nl/LC_MESSAGES/accounts-service.mo
/usr/share/locale/nn/LC_MESSAGES/accounts-service.mo
/usr/share/locale/oc/LC_MESSAGES/accounts-service.mo
/usr/share/locale/or/LC_MESSAGES/accounts-service.mo
/usr/share/locale/pa/LC_MESSAGES/accounts-service.mo
/usr/share/locale/pl/LC_MESSAGES/accounts-service.mo
/usr/share/locale/pt/LC_MESSAGES/accounts-service.mo
/usr/share/locale/pt_BR/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ro/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ru/LC_MESSAGES/accounts-service.mo
/usr/share/locale/sk/LC_MESSAGES/accounts-service.mo
/usr/share/locale/sl/LC_MESSAGES/accounts-service.mo
/usr/share/locale/sq/LC_MESSAGES/accounts-service.mo
/usr/share/locale/sr/LC_MESSAGES/accounts-service.mo
/usr/share/locale/sr@latin/LC_MESSAGES/accounts-service.mo
/usr/share/locale/sv/LC_MESSAGES/accounts-service.mo
/usr/share/locale/ta/LC_MESSAGES/accounts-service.mo
/usr/share/locale/te/LC_MESSAGES/accounts-service.mo
/usr/share/locale/th/LC_MESSAGES/accounts-service.mo
/usr/share/locale/tr/LC_MESSAGES/accounts-service.mo
/usr/share/locale/uk/LC_MESSAGES/accounts-service.mo
/usr/share/locale/vi/LC_MESSAGES/accounts-service.mo
/usr/share/locale/wa/LC_MESSAGES/accounts-service.mo
/usr/share/locale/zh_CN/LC_MESSAGES/accounts-service.mo
/usr/share/locale/zh_HK/LC_MESSAGES/accounts-service.mo
/usr/share/locale/zh_TW/LC_MESSAGES/accounts-service.mo
/usr/share/polkit-1/actions/org.freedesktop.accounts.policy
/var/lib/AccountsService
/var/lib/AccountsService/icons
/var/lib/AccountsService/users

References

Summary

In this tutorial we learn how to install accountsservice on Fedora 34 using yum and dnf.