How To Install gcr on CentOS 8
Introduction
In this tutorial we learn how to install gcr
on CentOS 8.
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.28.0 1.el8 x86_64 692 k gcr-3.28.0-1.el8.src.rpm appstream 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gcr.
Install gcr on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the gcr
package we can use the following command:
sudo dnf remove gcr
gcr Package Contents on CentOS 8
/usr/bin/gcr-viewer
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/2d69cd37f53f5e9b8b889c1e4dba032a7dfa2c
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/f50da7f3a103d0b729d1c90d12e2887fc1428b
/usr/lib/.build-id/61
/usr/lib/.build-id/61/54bf5948158a23dd8a85fa9a0c04abaca6e7ca
/usr/lib/.build-id/83
/usr/lib/.build-id/83/d4d93cb2f11dccb021edc94c5be4765d5a0782
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/b6fb2e34b3c283e1df39f7624d719981eadd53
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/e2021028b338c6037ed502c3fad7dfd87bdec9
/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/libgck-1.so.0
/usr/lib/libgck-1.so.0.0.0
/usr/lib/libgcr-3.so.1
/usr/lib/libgcr-3.so.1.0.0
/usr/lib/libgcr-base-3.so.1
/usr/lib/libgcr-base-3.so.1.0.0
/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
/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/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/61
/usr/lib/.build-id/61/3b6facbf075f920b96dbfcf89155017f32e294
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/4c6a499c50594bf0a06046634495524591a856
/usr/lib/.build-id/70
/usr/lib/.build-id/70/056bccc9b763796a99c8e78ff7d35cfe013c57
/usr/lib/.build-id/df
/usr/lib/.build-id/df/e4a9b4d262c68ea5c3c2401bb7a731ae8cfc3f
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/0a95554fa93e7f6e6385a22245f1a751460f3d
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/d827044a6e5c9655cd858642133cb64370799a
/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/libgck-1.so.0
/usr/lib64/libgck-1.so.0.0.0
/usr/lib64/libgcr-3.so.1
/usr/lib64/libgcr-3.so.1.0.0
/usr/lib64/libgcr-base-3.so.1
/usr/lib64/libgcr-base-3.so.1.0.0
/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
/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/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
- [gcr website](https://wiki.gnome.org/Projects/CryptoGlue https://wiki.gnome.org/Projects/CryptoGlue)
Summary
In this tutorial we learn how to install gcr
on CentOS 8 using yum and dnf.