How To Install libgcrypt-devel on Rocky Linux 8

In this tutorial we learn how to install libgcrypt-devel on Rocky Linux 8. libgcrypt-devel is Development files for the libgcrypt package

Introduction

In this tutorial we learn how to install libgcrypt-devel on Rocky Linux 8.

What is libgcrypt-devel

Libgcrypt is a general purpose crypto library based on the code used in GNU Privacy Guard. This package contains files needed to develop applications using libgcrypt.

We can use yum or dnf to install libgcrypt-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libgcrypt-devel.

Install libgcrypt-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libgcrypt-devel

Install libgcrypt-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libgcrypt-devel using yum by running the following command:

sudo yum -y install libgcrypt-devel

How To Uninstall libgcrypt-devel on Rocky Linux 8

To uninstall only the libgcrypt-devel package we can use the following command:

sudo dnf remove libgcrypt-devel

libgcrypt-devel Package Contents on Rocky Linux 8

/usr/bin/dumpsexp
/usr/bin/hmac256
/usr/bin/libgcrypt-config
/usr/bin/mpicalc
/usr/include/gcrypt.h
/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/391e1c2281b51734e061b36f94aa86bc8fffd4
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/33c410c7d716c4bec800740c40966b026e516e
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/cef22af2aeba1b3a15a094d839241e2ebd4284
/usr/lib/libgcrypt.so
/usr/share/aclocal/libgcrypt.m4
/usr/share/info/gcrypt.info-1.gz
/usr/share/info/gcrypt.info-2.gz
/usr/share/info/gcrypt.info.gz
/usr/share/licenses/libgcrypt-devel
/usr/share/licenses/libgcrypt-devel/COPYING
/usr/share/man/man1/hmac256.1.gz
/usr/bin/dumpsexp
/usr/bin/hmac256
/usr/bin/libgcrypt-config
/usr/bin/mpicalc
/usr/include/gcrypt.h
/usr/lib/.build-id
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/17fe82c9bc593eea0267e00b84f0c39abac421
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/939aba616cb41f9e503ece386ac6bf5f829df8
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/a48f584f2013b67c1e7af113b9dcc3a87ce5aa
/usr/lib64/libgcrypt.so
/usr/share/aclocal/libgcrypt.m4
/usr/share/info/gcrypt.info-1.gz
/usr/share/info/gcrypt.info-2.gz
/usr/share/info/gcrypt.info.gz
/usr/share/licenses/libgcrypt-devel
/usr/share/licenses/libgcrypt-devel/COPYING
/usr/share/man/man1/hmac256.1.gz

References

Summary

In this tutorial we learn how to install libgcrypt-devel on Rocky Linux 8 using yum and dnf.