How To Install libsecret on Fedora 36

In this tutorial we learn how to install libsecret in Fedora 36. libsecret is Library for storing and retrieving passwords and other secrets

Introduction

In this tutorial we learn how to install libsecret on Fedora 36.

What is libsecret

libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the “Secret Service” using DBus. gnome-keyring and KSecretService are both implementations of a Secret Service.

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

Install libsecret on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsecret

Install libsecret on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libsecret

How To Uninstall libsecret on Fedora 36

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

sudo dnf remove libsecret

libsecret Package Contents on Fedora 36

/usr/bin/secret-tool
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/5491d56eab4f773b4070da927ad50505f68f17
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/c83141645bfde8b4595371e01d67265136cc28
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Secret-1.typelib
/usr/lib64/libsecret-1.so.0
/usr/lib64/libsecret-1.so.0.0.0
/usr/share/doc/libsecret
/usr/share/doc/libsecret/NEWS
/usr/share/doc/libsecret/README.md
/usr/share/licenses/libsecret
/usr/share/licenses/libsecret/COPYING
/usr/share/locale/ab/LC_MESSAGES/libsecret.mo
/usr/share/locale/an/LC_MESSAGES/libsecret.mo
/usr/share/locale/ar/LC_MESSAGES/libsecret.mo
/usr/share/locale/as/LC_MESSAGES/libsecret.mo
/usr/share/locale/be/LC_MESSAGES/libsecret.mo
/usr/share/locale/bg/LC_MESSAGES/libsecret.mo
/usr/share/locale/bs/LC_MESSAGES/libsecret.mo
/usr/share/locale/ca/LC_MESSAGES/libsecret.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/libsecret.mo
/usr/share/locale/ckb/LC_MESSAGES/libsecret.mo
/usr/share/locale/cs/LC_MESSAGES/libsecret.mo
/usr/share/locale/da/LC_MESSAGES/libsecret.mo
/usr/share/locale/de/LC_MESSAGES/libsecret.mo
/usr/share/locale/el/LC_MESSAGES/libsecret.mo
/usr/share/locale/en_GB/LC_MESSAGES/libsecret.mo
/usr/share/locale/eo/LC_MESSAGES/libsecret.mo
/usr/share/locale/es/LC_MESSAGES/libsecret.mo
/usr/share/locale/eu/LC_MESSAGES/libsecret.mo
/usr/share/locale/fa/LC_MESSAGES/libsecret.mo
/usr/share/locale/fi/LC_MESSAGES/libsecret.mo
/usr/share/locale/fr/LC_MESSAGES/libsecret.mo
/usr/share/locale/fur/LC_MESSAGES/libsecret.mo
/usr/share/locale/gl/LC_MESSAGES/libsecret.mo
/usr/share/locale/he/LC_MESSAGES/libsecret.mo
/usr/share/locale/hr/LC_MESSAGES/libsecret.mo
/usr/share/locale/hu/LC_MESSAGES/libsecret.mo
/usr/share/locale/id/LC_MESSAGES/libsecret.mo
/usr/share/locale/it/LC_MESSAGES/libsecret.mo
/usr/share/locale/ja/LC_MESSAGES/libsecret.mo
/usr/share/locale/kk/LC_MESSAGES/libsecret.mo
/usr/share/locale/ko/LC_MESSAGES/libsecret.mo
/usr/share/locale/lt/LC_MESSAGES/libsecret.mo
/usr/share/locale/lv/LC_MESSAGES/libsecret.mo
/usr/share/locale/ml/LC_MESSAGES/libsecret.mo
/usr/share/locale/ms/LC_MESSAGES/libsecret.mo
/usr/share/locale/nb/LC_MESSAGES/libsecret.mo
/usr/share/locale/ne/LC_MESSAGES/libsecret.mo
/usr/share/locale/nl/LC_MESSAGES/libsecret.mo
/usr/share/locale/oc/LC_MESSAGES/libsecret.mo
/usr/share/locale/pa/LC_MESSAGES/libsecret.mo
/usr/share/locale/pl/LC_MESSAGES/libsecret.mo
/usr/share/locale/pt/LC_MESSAGES/libsecret.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libsecret.mo
/usr/share/locale/ro/LC_MESSAGES/libsecret.mo
/usr/share/locale/ru/LC_MESSAGES/libsecret.mo
/usr/share/locale/sk/LC_MESSAGES/libsecret.mo
/usr/share/locale/sl/LC_MESSAGES/libsecret.mo
/usr/share/locale/sr/LC_MESSAGES/libsecret.mo
/usr/share/locale/sr@latin/LC_MESSAGES/libsecret.mo
/usr/share/locale/sv/LC_MESSAGES/libsecret.mo
/usr/share/locale/tg/LC_MESSAGES/libsecret.mo
/usr/share/locale/tr/LC_MESSAGES/libsecret.mo
/usr/share/locale/uk/LC_MESSAGES/libsecret.mo
/usr/share/locale/vi/LC_MESSAGES/libsecret.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libsecret.mo
/usr/share/locale/zh_HK/LC_MESSAGES/libsecret.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libsecret.mo
/usr/share/man/man1/secret-tool.1.gz

References

Summary

In this tutorial we learn how to install libsecret on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).