How To Install libsecret on Fedora 34

libsecret is Library for storing and retrieving passwords and other secrets Library for storing and retrieving passwords and other secrets

Introduction

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

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. libsecret 0.20.4 2.fc34 x86_64 161 k libsecret-0.20.4-2.fc34.src.rpm fedora Library for storing and retrieving passwords and other secrets https LGPLv2+ 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libsecret.

Install libsecret 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 libsecret using dnf by running the following command:

sudo dnf -y install libsecret

Install libsecret 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 libsecret using yum by running the following command:

sudo yum -y install libsecret

How To Uninstall libsecret on Fedora 34

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

sudo dnf remove libsecret

libsecret Package Contents on Fedora 34

/usr/bin/secret-tool
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/9e0119316a9e9546d6e9442363d6362bc592f1
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/cf84ef933959cef2c52482e121b5130fd8350c
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Secret-1.typelib
/usr/lib/libsecret-1.so.0
/usr/lib/libsecret-1.so.0.0.0
/usr/share/doc/libsecret
/usr/share/doc/libsecret/AUTHORS
/usr/share/doc/libsecret/NEWS
/usr/share/doc/libsecret/README
/usr/share/licenses/libsecret
/usr/share/licenses/libsecret/COPYING
/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/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/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
/usr/bin/secret-tool
/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/ff092eab0f277c0342b62b39b64f08b4bf0255
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/f6bd4f9520686d6d30f19a145079968efa41e4
/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/AUTHORS
/usr/share/doc/libsecret/NEWS
/usr/share/doc/libsecret/README
/usr/share/licenses/libsecret
/usr/share/licenses/libsecret/COPYING
/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/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/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 34 using yum and dnf.