How To Install gcr on Fedora 34

gcr is A library for bits of crypto UI and parsing A library for bits of crypto UI and parsing

Introduction

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

What is gcr

gcr is a library for displaying certificates, and crypto UI, accessing key stores. It also provides a viewer for crypto files on the GNOME desktop. gck is a library for accessing PKCS#11 modules like smart cards. gcr 3.40.0 1.fc34 x86_64 456 k gcr-3.40.0-1.fc34.src.rpm fedora A library for bits of crypto UI and parsing https LGPLv2+ gcr is a library for displaying certificates, and crypto UI, accessing key stores. It also provides a viewer for crypto files on the GNOME desktop. gck is a library for accessing PKCS#11 modules like smart cards.

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

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

sudo dnf -y install gcr

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

sudo yum -y install gcr

How To Uninstall gcr on Fedora 34

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

sudo dnf remove gcr

gcr Package Contents on Fedora 34

/usr/bin/gcr-viewer
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/5a587f3b99e1376c1f067d901a2c7721e15f09
/usr/lib/.build-id/66
/usr/lib/.build-id/66/042c8658ae1f1b616342b867d82794b6c382dc
/usr/lib/.build-id/92
/usr/lib/.build-id/92/aa5dcf2b8d918147d1085d26efb1cfd83a5108
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/a8e75c6b4f0a980f3ee0286ff7dfd406793e66
/usr/lib/girepository-1.0
/usr/lib/girepository-1.0/Gck-1.typelib
/usr/lib/girepository-1.0/Gcr-3.typelib
/usr/lib/girepository-1.0/GcrUi-3.typelib
/usr/lib/libgcr-ui-3.so.1
/usr/lib/libgcr-ui-3.so.1.0.0
/usr/libexec/gcr-prompter
/usr/libexec/gcr-ssh-askpass
/usr/share/GConf
/usr/share/GConf/gsettings
/usr/share/GConf/gsettings/org.gnome.crypto.pgp.convert
/usr/share/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert
/usr/share/applications/gcr-prompter.desktop
/usr/share/applications/gcr-viewer.desktop
/usr/share/dbus-1/services/org.gnome.keyring.PrivatePrompter.service
/usr/share/dbus-1/services/org.gnome.keyring.SystemPrompter.service
/usr/share/doc/gcr
/usr/share/doc/gcr/NEWS
/usr/share/doc/gcr/README.md
/usr/share/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
/usr/share/icons/hicolor/16x16/apps/gcr-gnupg.png
/usr/share/icons/hicolor/16x16/apps/gcr-key-pair.png
/usr/share/icons/hicolor/16x16/apps/gcr-key.png
/usr/share/icons/hicolor/16x16/apps/gcr-password.png
/usr/share/icons/hicolor/16x16/apps/gcr-smart-card.png
/usr/share/icons/hicolor/22x22/apps/gcr-gnupg.png
/usr/share/icons/hicolor/22x22/apps/gcr-key-pair.png
/usr/share/icons/hicolor/22x22/apps/gcr-key.png
/usr/share/icons/hicolor/22x22/apps/gcr-password.png
/usr/share/icons/hicolor/22x22/apps/gcr-smart-card.png
/usr/share/icons/hicolor/24x24/apps/gcr-gnupg.png
/usr/share/icons/hicolor/24x24/apps/gcr-key-pair.png
/usr/share/icons/hicolor/24x24/apps/gcr-key.png
/usr/share/icons/hicolor/24x24/apps/gcr-password.png
/usr/share/icons/hicolor/24x24/apps/gcr-smart-card.png
/usr/share/icons/hicolor/256x256/apps/gcr-gnupg.png
/usr/share/icons/hicolor/256x256/apps/gcr-password.png
/usr/share/icons/hicolor/256x256/apps/gcr-smart-card.png
/usr/share/icons/hicolor/32x32/apps/gcr-gnupg.png
/usr/share/icons/hicolor/32x32/apps/gcr-key-pair.png
/usr/share/icons/hicolor/32x32/apps/gcr-key.png
/usr/share/icons/hicolor/32x32/apps/gcr-password.png
/usr/share/icons/hicolor/32x32/apps/gcr-smart-card.png
/usr/share/icons/hicolor/48x48/apps/gcr-gnupg.png
/usr/share/icons/hicolor/48x48/apps/gcr-key-pair.png
/usr/share/icons/hicolor/48x48/apps/gcr-key.png
/usr/share/icons/hicolor/48x48/apps/gcr-password.png
/usr/share/icons/hicolor/48x48/apps/gcr-smart-card.png
/usr/share/licenses/gcr
/usr/share/licenses/gcr/COPYING
/usr/share/locale/af/LC_MESSAGES/gcr.mo
/usr/share/locale/ar/LC_MESSAGES/gcr.mo
/usr/share/locale/as/LC_MESSAGES/gcr.mo
/usr/share/locale/ast/LC_MESSAGES/gcr.mo
/usr/share/locale/az/LC_MESSAGES/gcr.mo
/usr/share/locale/be/LC_MESSAGES/gcr.mo
/usr/share/locale/be@latin/LC_MESSAGES/gcr.mo
/usr/share/locale/bg/LC_MESSAGES/gcr.mo
/usr/share/locale/bn/LC_MESSAGES/gcr.mo
/usr/share/locale/bn_IN/LC_MESSAGES/gcr.mo
/usr/share/locale/bs/LC_MESSAGES/gcr.mo
/usr/share/locale/ca/LC_MESSAGES/gcr.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/gcr.mo
/usr/share/locale/ckb/LC_MESSAGES/gcr.mo
/usr/share/locale/cs/LC_MESSAGES/gcr.mo
/usr/share/locale/cy/LC_MESSAGES/gcr.mo
/usr/share/locale/da/LC_MESSAGES/gcr.mo
/usr/share/locale/de/LC_MESSAGES/gcr.mo
/usr/share/locale/dz/LC_MESSAGES/gcr.mo
/usr/share/locale/el/LC_MESSAGES/gcr.mo
/usr/share/locale/en@shaw/LC_MESSAGES/gcr.mo
/usr/share/locale/en_CA/LC_MESSAGES/gcr.mo
/usr/share/locale/en_GB/LC_MESSAGES/gcr.mo
/usr/share/locale/eo/LC_MESSAGES/gcr.mo
/usr/share/locale/es/LC_MESSAGES/gcr.mo
/usr/share/locale/et/LC_MESSAGES/gcr.mo
/usr/share/locale/eu/LC_MESSAGES/gcr.mo
/usr/share/locale/fa/LC_MESSAGES/gcr.mo
/usr/share/locale/fi/LC_MESSAGES/gcr.mo
/usr/share/locale/fr/LC_MESSAGES/gcr.mo
/usr/share/locale/fur/LC_MESSAGES/gcr.mo
/usr/share/locale/ga/LC_MESSAGES/gcr.mo
/usr/share/locale/gl/LC_MESSAGES/gcr.mo
/usr/share/locale/gu/LC_MESSAGES/gcr.mo
/usr/share/locale/he/LC_MESSAGES/gcr.mo
/usr/share/locale/hi/LC_MESSAGES/gcr.mo
/usr/share/locale/hr/LC_MESSAGES/gcr.mo
/usr/share/locale/hu/LC_MESSAGES/gcr.mo
/usr/share/locale/id/LC_MESSAGES/gcr.mo
/usr/share/locale/is/LC_MESSAGES/gcr.mo
/usr/share/locale/it/LC_MESSAGES/gcr.mo
/usr/share/locale/ja/LC_MESSAGES/gcr.mo
/usr/share/locale/ka/LC_MESSAGES/gcr.mo
/usr/share/locale/kk/LC_MESSAGES/gcr.mo
/usr/share/locale/kn/LC_MESSAGES/gcr.mo
/usr/share/locale/ko/LC_MESSAGES/gcr.mo
/usr/share/locale/lt/LC_MESSAGES/gcr.mo
/usr/share/locale/lv/LC_MESSAGES/gcr.mo
/usr/share/locale/mai/LC_MESSAGES/gcr.mo
/usr/share/locale/mg/LC_MESSAGES/gcr.mo
/usr/share/locale/mk/LC_MESSAGES/gcr.mo
/usr/share/locale/ml/LC_MESSAGES/gcr.mo
/usr/share/locale/mn/LC_MESSAGES/gcr.mo
/usr/share/locale/mr/LC_MESSAGES/gcr.mo
/usr/share/locale/ms/LC_MESSAGES/gcr.mo
/usr/share/locale/nb/LC_MESSAGES/gcr.mo
/usr/share/locale/ne/LC_MESSAGES/gcr.mo
/usr/share/locale/nl/LC_MESSAGES/gcr.mo
/usr/share/locale/nn/LC_MESSAGES/gcr.mo
/usr/share/locale/oc/LC_MESSAGES/gcr.mo
/usr/share/locale/or/LC_MESSAGES/gcr.mo
/usr/share/locale/pa/LC_MESSAGES/gcr.mo
/usr/share/locale/pl/LC_MESSAGES/gcr.mo
/usr/share/locale/pt/LC_MESSAGES/gcr.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gcr.mo
/usr/share/locale/ro/LC_MESSAGES/gcr.mo
/usr/share/locale/ru/LC_MESSAGES/gcr.mo
/usr/share/locale/rw/LC_MESSAGES/gcr.mo
/usr/share/locale/si/LC_MESSAGES/gcr.mo
/usr/share/locale/sk/LC_MESSAGES/gcr.mo
/usr/share/locale/sl/LC_MESSAGES/gcr.mo
/usr/share/locale/sq/LC_MESSAGES/gcr.mo
/usr/share/locale/sr/LC_MESSAGES/gcr.mo
/usr/share/locale/sr@latin/LC_MESSAGES/gcr.mo
/usr/share/locale/sv/LC_MESSAGES/gcr.mo
/usr/share/locale/ta/LC_MESSAGES/gcr.mo
/usr/share/locale/te/LC_MESSAGES/gcr.mo
/usr/share/locale/tg/LC_MESSAGES/gcr.mo
/usr/share/locale/th/LC_MESSAGES/gcr.mo
/usr/share/locale/tr/LC_MESSAGES/gcr.mo
/usr/share/locale/ug/LC_MESSAGES/gcr.mo
/usr/share/locale/uk/LC_MESSAGES/gcr.mo
/usr/share/locale/vi/LC_MESSAGES/gcr.mo
/usr/share/locale/xh/LC_MESSAGES/gcr.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gcr.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gcr.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gcr.mo
/usr/share/mime/packages/gcr-crypto-types.xml
/usr/bin/gcr-viewer
/usr/lib/.build-id
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/56d330f306c3767f9ca0b7a8d66abcef35b803
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/1d9122297fbaab6cf3ad08405305ebcd7bc27e
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/820543668ecc35786fd828287bbf1728d2e476
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/4669bea1669d9fbd261aa4bd1af046bea2a49a
/usr/lib64/girepository-1.0
/usr/lib64/girepository-1.0/Gck-1.typelib
/usr/lib64/girepository-1.0/Gcr-3.typelib
/usr/lib64/girepository-1.0/GcrUi-3.typelib
/usr/lib64/libgcr-ui-3.so.1
/usr/lib64/libgcr-ui-3.so.1.0.0
/usr/libexec/gcr-prompter
/usr/libexec/gcr-ssh-askpass
/usr/share/GConf
/usr/share/GConf/gsettings
/usr/share/GConf/gsettings/org.gnome.crypto.pgp.convert
/usr/share/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert
/usr/share/applications/gcr-prompter.desktop
/usr/share/applications/gcr-viewer.desktop
/usr/share/dbus-1/services/org.gnome.keyring.PrivatePrompter.service
/usr/share/dbus-1/services/org.gnome.keyring.SystemPrompter.service
/usr/share/doc/gcr
/usr/share/doc/gcr/NEWS
/usr/share/doc/gcr/README.md
/usr/share/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
/usr/share/icons/hicolor/16x16/apps/gcr-gnupg.png
/usr/share/icons/hicolor/16x16/apps/gcr-key-pair.png
/usr/share/icons/hicolor/16x16/apps/gcr-key.png
/usr/share/icons/hicolor/16x16/apps/gcr-password.png
/usr/share/icons/hicolor/16x16/apps/gcr-smart-card.png
/usr/share/icons/hicolor/22x22/apps/gcr-gnupg.png
/usr/share/icons/hicolor/22x22/apps/gcr-key-pair.png
/usr/share/icons/hicolor/22x22/apps/gcr-key.png
/usr/share/icons/hicolor/22x22/apps/gcr-password.png
/usr/share/icons/hicolor/22x22/apps/gcr-smart-card.png
/usr/share/icons/hicolor/24x24/apps/gcr-gnupg.png
/usr/share/icons/hicolor/24x24/apps/gcr-key-pair.png
/usr/share/icons/hicolor/24x24/apps/gcr-key.png
/usr/share/icons/hicolor/24x24/apps/gcr-password.png
/usr/share/icons/hicolor/24x24/apps/gcr-smart-card.png
/usr/share/icons/hicolor/256x256/apps/gcr-gnupg.png
/usr/share/icons/hicolor/256x256/apps/gcr-password.png
/usr/share/icons/hicolor/256x256/apps/gcr-smart-card.png
/usr/share/icons/hicolor/32x32/apps/gcr-gnupg.png
/usr/share/icons/hicolor/32x32/apps/gcr-key-pair.png
/usr/share/icons/hicolor/32x32/apps/gcr-key.png
/usr/share/icons/hicolor/32x32/apps/gcr-password.png
/usr/share/icons/hicolor/32x32/apps/gcr-smart-card.png
/usr/share/icons/hicolor/48x48/apps/gcr-gnupg.png
/usr/share/icons/hicolor/48x48/apps/gcr-key-pair.png
/usr/share/icons/hicolor/48x48/apps/gcr-key.png
/usr/share/icons/hicolor/48x48/apps/gcr-password.png
/usr/share/icons/hicolor/48x48/apps/gcr-smart-card.png
/usr/share/licenses/gcr
/usr/share/licenses/gcr/COPYING
/usr/share/locale/af/LC_MESSAGES/gcr.mo
/usr/share/locale/ar/LC_MESSAGES/gcr.mo
/usr/share/locale/as/LC_MESSAGES/gcr.mo
/usr/share/locale/ast/LC_MESSAGES/gcr.mo
/usr/share/locale/az/LC_MESSAGES/gcr.mo
/usr/share/locale/be/LC_MESSAGES/gcr.mo
/usr/share/locale/be@latin/LC_MESSAGES/gcr.mo
/usr/share/locale/bg/LC_MESSAGES/gcr.mo
/usr/share/locale/bn/LC_MESSAGES/gcr.mo
/usr/share/locale/bn_IN/LC_MESSAGES/gcr.mo
/usr/share/locale/bs/LC_MESSAGES/gcr.mo
/usr/share/locale/ca/LC_MESSAGES/gcr.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/gcr.mo
/usr/share/locale/ckb/LC_MESSAGES/gcr.mo
/usr/share/locale/cs/LC_MESSAGES/gcr.mo
/usr/share/locale/cy/LC_MESSAGES/gcr.mo
/usr/share/locale/da/LC_MESSAGES/gcr.mo
/usr/share/locale/de/LC_MESSAGES/gcr.mo
/usr/share/locale/dz/LC_MESSAGES/gcr.mo
/usr/share/locale/el/LC_MESSAGES/gcr.mo
/usr/share/locale/en@shaw/LC_MESSAGES/gcr.mo
/usr/share/locale/en_CA/LC_MESSAGES/gcr.mo
/usr/share/locale/en_GB/LC_MESSAGES/gcr.mo
/usr/share/locale/eo/LC_MESSAGES/gcr.mo
/usr/share/locale/es/LC_MESSAGES/gcr.mo
/usr/share/locale/et/LC_MESSAGES/gcr.mo
/usr/share/locale/eu/LC_MESSAGES/gcr.mo
/usr/share/locale/fa/LC_MESSAGES/gcr.mo
/usr/share/locale/fi/LC_MESSAGES/gcr.mo
/usr/share/locale/fr/LC_MESSAGES/gcr.mo
/usr/share/locale/fur/LC_MESSAGES/gcr.mo
/usr/share/locale/ga/LC_MESSAGES/gcr.mo
/usr/share/locale/gl/LC_MESSAGES/gcr.mo
/usr/share/locale/gu/LC_MESSAGES/gcr.mo
/usr/share/locale/he/LC_MESSAGES/gcr.mo
/usr/share/locale/hi/LC_MESSAGES/gcr.mo
/usr/share/locale/hr/LC_MESSAGES/gcr.mo
/usr/share/locale/hu/LC_MESSAGES/gcr.mo
/usr/share/locale/id/LC_MESSAGES/gcr.mo
/usr/share/locale/is/LC_MESSAGES/gcr.mo
/usr/share/locale/it/LC_MESSAGES/gcr.mo
/usr/share/locale/ja/LC_MESSAGES/gcr.mo
/usr/share/locale/ka/LC_MESSAGES/gcr.mo
/usr/share/locale/kk/LC_MESSAGES/gcr.mo
/usr/share/locale/kn/LC_MESSAGES/gcr.mo
/usr/share/locale/ko/LC_MESSAGES/gcr.mo
/usr/share/locale/lt/LC_MESSAGES/gcr.mo
/usr/share/locale/lv/LC_MESSAGES/gcr.mo
/usr/share/locale/mai/LC_MESSAGES/gcr.mo
/usr/share/locale/mg/LC_MESSAGES/gcr.mo
/usr/share/locale/mk/LC_MESSAGES/gcr.mo
/usr/share/locale/ml/LC_MESSAGES/gcr.mo
/usr/share/locale/mn/LC_MESSAGES/gcr.mo
/usr/share/locale/mr/LC_MESSAGES/gcr.mo
/usr/share/locale/ms/LC_MESSAGES/gcr.mo
/usr/share/locale/nb/LC_MESSAGES/gcr.mo
/usr/share/locale/ne/LC_MESSAGES/gcr.mo
/usr/share/locale/nl/LC_MESSAGES/gcr.mo
/usr/share/locale/nn/LC_MESSAGES/gcr.mo
/usr/share/locale/oc/LC_MESSAGES/gcr.mo
/usr/share/locale/or/LC_MESSAGES/gcr.mo
/usr/share/locale/pa/LC_MESSAGES/gcr.mo
/usr/share/locale/pl/LC_MESSAGES/gcr.mo
/usr/share/locale/pt/LC_MESSAGES/gcr.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gcr.mo
/usr/share/locale/ro/LC_MESSAGES/gcr.mo
/usr/share/locale/ru/LC_MESSAGES/gcr.mo
/usr/share/locale/rw/LC_MESSAGES/gcr.mo
/usr/share/locale/si/LC_MESSAGES/gcr.mo
/usr/share/locale/sk/LC_MESSAGES/gcr.mo
/usr/share/locale/sl/LC_MESSAGES/gcr.mo
/usr/share/locale/sq/LC_MESSAGES/gcr.mo
/usr/share/locale/sr/LC_MESSAGES/gcr.mo
/usr/share/locale/sr@latin/LC_MESSAGES/gcr.mo
/usr/share/locale/sv/LC_MESSAGES/gcr.mo
/usr/share/locale/ta/LC_MESSAGES/gcr.mo
/usr/share/locale/te/LC_MESSAGES/gcr.mo
/usr/share/locale/tg/LC_MESSAGES/gcr.mo
/usr/share/locale/th/LC_MESSAGES/gcr.mo
/usr/share/locale/tr/LC_MESSAGES/gcr.mo
/usr/share/locale/ug/LC_MESSAGES/gcr.mo
/usr/share/locale/uk/LC_MESSAGES/gcr.mo
/usr/share/locale/vi/LC_MESSAGES/gcr.mo
/usr/share/locale/xh/LC_MESSAGES/gcr.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gcr.mo
/usr/share/locale/zh_HK/LC_MESSAGES/gcr.mo
/usr/share/locale/zh_TW/LC_MESSAGES/gcr.mo
/usr/share/mime/packages/gcr-crypto-types.xml

References

Summary

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