How To Install gnutls on Fedora 34

gnutls is A TLS protocol implementation A TLS protocol implementation

Introduction

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

What is gnutls

GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. gnutls 3.7.2 1.fc34 i686 1.0 M gnutls-3.7.2-1.fc34.src.rpm updates A TLS protocol implementation http GPLv3+ and LGPLv2+ GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures.

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

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

sudo dnf -y install gnutls

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

sudo yum -y install gnutls

How To Uninstall gnutls on Fedora 34

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

sudo dnf remove gnutls

gnutls Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/90a16deb25ac9db6247ce9d86f643342948c9d
/usr/lib64/.libgnutls.so.30.29.1.hmac
/usr/lib64/.libgnutls.so.30.hmac
/usr/lib64/libgnutls.so.30
/usr/lib64/libgnutls.so.30.29.1
/usr/share/doc/gnutls
/usr/share/doc/gnutls/AUTHORS
/usr/share/doc/gnutls/NEWS
/usr/share/doc/gnutls/README.md
/usr/share/doc/gnutls/THANKS
/usr/share/licenses/gnutls
/usr/share/licenses/gnutls/COPYING
/usr/share/licenses/gnutls/COPYING.LESSER
/usr/share/licenses/gnutls/LICENSE
/usr/share/locale/cs/LC_MESSAGES/gnutls.mo
/usr/share/locale/de/LC_MESSAGES/gnutls.mo
/usr/share/locale/eo/LC_MESSAGES/gnutls.mo
/usr/share/locale/es/LC_MESSAGES/gnutls.mo
/usr/share/locale/fi/LC_MESSAGES/gnutls.mo
/usr/share/locale/fr/LC_MESSAGES/gnutls.mo
/usr/share/locale/it/LC_MESSAGES/gnutls.mo
/usr/share/locale/ms/LC_MESSAGES/gnutls.mo
/usr/share/locale/nl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnutls.mo
/usr/share/locale/sr/LC_MESSAGES/gnutls.mo
/usr/share/locale/sv/LC_MESSAGES/gnutls.mo
/usr/share/locale/uk/LC_MESSAGES/gnutls.mo
/usr/share/locale/vi/LC_MESSAGES/gnutls.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnutls.mo
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/54f98400d135dc43963ec19c503a185c78da07
/usr/lib/.libgnutls.so.30.29.1.hmac
/usr/lib/.libgnutls.so.30.hmac
/usr/lib/libgnutls.so.30
/usr/lib/libgnutls.so.30.29.1
/usr/share/doc/gnutls
/usr/share/doc/gnutls/AUTHORS
/usr/share/doc/gnutls/NEWS
/usr/share/doc/gnutls/README.md
/usr/share/doc/gnutls/THANKS
/usr/share/licenses/gnutls
/usr/share/licenses/gnutls/COPYING
/usr/share/licenses/gnutls/COPYING.LESSER
/usr/share/licenses/gnutls/LICENSE
/usr/share/locale/cs/LC_MESSAGES/gnutls.mo
/usr/share/locale/de/LC_MESSAGES/gnutls.mo
/usr/share/locale/eo/LC_MESSAGES/gnutls.mo
/usr/share/locale/es/LC_MESSAGES/gnutls.mo
/usr/share/locale/fi/LC_MESSAGES/gnutls.mo
/usr/share/locale/fr/LC_MESSAGES/gnutls.mo
/usr/share/locale/it/LC_MESSAGES/gnutls.mo
/usr/share/locale/ms/LC_MESSAGES/gnutls.mo
/usr/share/locale/nl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnutls.mo
/usr/share/locale/sr/LC_MESSAGES/gnutls.mo
/usr/share/locale/sv/LC_MESSAGES/gnutls.mo
/usr/share/locale/uk/LC_MESSAGES/gnutls.mo
/usr/share/locale/vi/LC_MESSAGES/gnutls.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnutls.mo
/usr/lib/.build-id
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/b74b1316b421e9a97e97958b3a5bd86d678ba8
/usr/lib64/.libgnutls.so.30.30.0.hmac
/usr/lib64/.libgnutls.so.30.hmac
/usr/lib64/libgnutls.so.30
/usr/lib64/libgnutls.so.30.30.0
/usr/share/doc/gnutls
/usr/share/doc/gnutls/AUTHORS
/usr/share/doc/gnutls/NEWS
/usr/share/doc/gnutls/README.md
/usr/share/doc/gnutls/THANKS
/usr/share/licenses/gnutls
/usr/share/licenses/gnutls/COPYING
/usr/share/licenses/gnutls/COPYING.LESSER
/usr/share/licenses/gnutls/LICENSE
/usr/share/locale/cs/LC_MESSAGES/gnutls.mo
/usr/share/locale/de/LC_MESSAGES/gnutls.mo
/usr/share/locale/eo/LC_MESSAGES/gnutls.mo
/usr/share/locale/es/LC_MESSAGES/gnutls.mo
/usr/share/locale/fi/LC_MESSAGES/gnutls.mo
/usr/share/locale/fr/LC_MESSAGES/gnutls.mo
/usr/share/locale/it/LC_MESSAGES/gnutls.mo
/usr/share/locale/ms/LC_MESSAGES/gnutls.mo
/usr/share/locale/nl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnutls.mo
/usr/share/locale/sr/LC_MESSAGES/gnutls.mo
/usr/share/locale/sv/LC_MESSAGES/gnutls.mo
/usr/share/locale/uk/LC_MESSAGES/gnutls.mo
/usr/share/locale/vi/LC_MESSAGES/gnutls.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnutls.mo
/usr/lib/.build-id
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/447e5b09feb6e1523e1d63c8842da4055225c8
/usr/lib/.libgnutls.so.30.30.0.hmac
/usr/lib/.libgnutls.so.30.hmac
/usr/lib/libgnutls.so.30
/usr/lib/libgnutls.so.30.30.0
/usr/share/doc/gnutls
/usr/share/doc/gnutls/AUTHORS
/usr/share/doc/gnutls/NEWS
/usr/share/doc/gnutls/README.md
/usr/share/doc/gnutls/THANKS
/usr/share/licenses/gnutls
/usr/share/licenses/gnutls/COPYING
/usr/share/licenses/gnutls/COPYING.LESSER
/usr/share/licenses/gnutls/LICENSE
/usr/share/locale/cs/LC_MESSAGES/gnutls.mo
/usr/share/locale/de/LC_MESSAGES/gnutls.mo
/usr/share/locale/eo/LC_MESSAGES/gnutls.mo
/usr/share/locale/es/LC_MESSAGES/gnutls.mo
/usr/share/locale/fi/LC_MESSAGES/gnutls.mo
/usr/share/locale/fr/LC_MESSAGES/gnutls.mo
/usr/share/locale/it/LC_MESSAGES/gnutls.mo
/usr/share/locale/ms/LC_MESSAGES/gnutls.mo
/usr/share/locale/nl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pl/LC_MESSAGES/gnutls.mo
/usr/share/locale/pt_BR/LC_MESSAGES/gnutls.mo
/usr/share/locale/sr/LC_MESSAGES/gnutls.mo
/usr/share/locale/sv/LC_MESSAGES/gnutls.mo
/usr/share/locale/uk/LC_MESSAGES/gnutls.mo
/usr/share/locale/vi/LC_MESSAGES/gnutls.mo
/usr/share/locale/zh_CN/LC_MESSAGES/gnutls.mo

References

Summary

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