How To Install libmongocrypt-devel on Rocky Linux 8

In this tutorial we learn how to install libmongocrypt-devel on Rocky Linux 8. libmongocrypt-devel is Header files and development libraries for libmongocrypt

Introduction

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

What is libmongocrypt-devel

This package contains the header files and development libraries for libmongocrypt.

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

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

sudo dnf -y install libmongocrypt-devel

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

sudo yum -y install libmongocrypt-devel

How To Uninstall libmongocrypt-devel on Rocky Linux 8

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

sudo dnf remove libmongocrypt-devel

libmongocrypt-devel Package Contents on Rocky Linux 8

/usr/include/kms_message
/usr/include/kms_message/kms_azure_request.h
/usr/include/kms_message/kms_b64.h
/usr/include/kms_message/kms_caller_identity_request.h
/usr/include/kms_message/kms_decrypt_request.h
/usr/include/kms_message/kms_encrypt_request.h
/usr/include/kms_message/kms_gcp_request.h
/usr/include/kms_message/kms_message.h
/usr/include/kms_message/kms_message_defines.h
/usr/include/kms_message/kms_request.h
/usr/include/kms_message/kms_request_opt.h
/usr/include/kms_message/kms_response.h
/usr/include/kms_message/kms_response_parser.h
/usr/include/mongocrypt
/usr/include/mongocrypt/mongocrypt-compat.h
/usr/include/mongocrypt/mongocrypt-config.h
/usr/include/mongocrypt/mongocrypt-export.h
/usr/include/mongocrypt/mongocrypt.h
/usr/lib64/cmake/kms_message
/usr/lib64/cmake/kms_message/kms_message-config-version.cmake
/usr/lib64/cmake/kms_message/kms_message-config.cmake
/usr/lib64/cmake/kms_message/kms_message_targets-noconfig.cmake
/usr/lib64/cmake/kms_message/kms_message_targets.cmake
/usr/lib64/cmake/mongocrypt
/usr/lib64/cmake/mongocrypt/mongocrypt-config-version.cmake
/usr/lib64/cmake/mongocrypt/mongocrypt-config.cmake
/usr/lib64/cmake/mongocrypt/mongocrypt_targets-noconfig.cmake
/usr/lib64/cmake/mongocrypt/mongocrypt_targets.cmake
/usr/lib64/libkms_message.so
/usr/lib64/libmongocrypt.so
/usr/lib64/pkgconfig/libkms_message.pc
/usr/lib64/pkgconfig/libmongocrypt.pc
/usr/share/doc/libmongocrypt-devel
/usr/share/doc/libmongocrypt-devel/CHANGELOG.md
/usr/share/doc/libmongocrypt-devel/README.md
/usr/share/doc/libmongocrypt-devel/html
/usr/share/doc/libmongocrypt-devel/html/bc_s.png
/usr/share/doc/libmongocrypt-devel/html/bdwn.png
/usr/share/doc/libmongocrypt-devel/html/closed.png
/usr/share/doc/libmongocrypt-devel/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
/usr/share/doc/libmongocrypt-devel/html/doc.png
/usr/share/doc/libmongocrypt-devel/html/doxygen.css
/usr/share/doc/libmongocrypt-devel/html/doxygen.png
/usr/share/doc/libmongocrypt-devel/html/dynsections.js
/usr/share/doc/libmongocrypt-devel/html/files.html
/usr/share/doc/libmongocrypt-devel/html/folderclosed.png
/usr/share/doc/libmongocrypt-devel/html/folderopen.png
/usr/share/doc/libmongocrypt-devel/html/globals.html
/usr/share/doc/libmongocrypt-devel/html/globals_defs.html
/usr/share/doc/libmongocrypt-devel/html/globals_enum.html
/usr/share/doc/libmongocrypt-devel/html/globals_func.html
/usr/share/doc/libmongocrypt-devel/html/globals_type.html
/usr/share/doc/libmongocrypt-devel/html/index.html
/usr/share/doc/libmongocrypt-devel/html/jquery.js
/usr/share/doc/libmongocrypt-devel/html/menu.js
/usr/share/doc/libmongocrypt-devel/html/menudata.js
/usr/share/doc/libmongocrypt-devel/html/mongocrypt-compat_8h_source.html
/usr/share/doc/libmongocrypt-devel/html/mongocrypt-config_8h_source.html
/usr/share/doc/libmongocrypt-devel/html/mongocrypt-export_8h_source.html
/usr/share/doc/libmongocrypt-devel/html/mongocrypt_8h.html
/usr/share/doc/libmongocrypt-devel/html/mongocrypt_8h_source.html
/usr/share/doc/libmongocrypt-devel/html/nav_f.png
/usr/share/doc/libmongocrypt-devel/html/nav_g.png
/usr/share/doc/libmongocrypt-devel/html/nav_h.png
/usr/share/doc/libmongocrypt-devel/html/open.png
/usr/share/doc/libmongocrypt-devel/html/search
/usr/share/doc/libmongocrypt-devel/html/search/all_0.html
/usr/share/doc/libmongocrypt-devel/html/search/all_0.js
/usr/share/doc/libmongocrypt-devel/html/search/all_1.html
/usr/share/doc/libmongocrypt-devel/html/search/all_1.js
/usr/share/doc/libmongocrypt-devel/html/search/close.png
/usr/share/doc/libmongocrypt-devel/html/search/defines_0.html
/usr/share/doc/libmongocrypt-devel/html/search/defines_0.js
/usr/share/doc/libmongocrypt-devel/html/search/enums_0.html
/usr/share/doc/libmongocrypt-devel/html/search/enums_0.js
/usr/share/doc/libmongocrypt-devel/html/search/files_0.html
/usr/share/doc/libmongocrypt-devel/html/search/files_0.js
/usr/share/doc/libmongocrypt-devel/html/search/functions_0.html
/usr/share/doc/libmongocrypt-devel/html/search/functions_0.js
/usr/share/doc/libmongocrypt-devel/html/search/mag_sel.png
/usr/share/doc/libmongocrypt-devel/html/search/nomatches.html
/usr/share/doc/libmongocrypt-devel/html/search/pages_0.html
/usr/share/doc/libmongocrypt-devel/html/search/pages_0.js
/usr/share/doc/libmongocrypt-devel/html/search/search.css
/usr/share/doc/libmongocrypt-devel/html/search/search.js
/usr/share/doc/libmongocrypt-devel/html/search/search_l.png
/usr/share/doc/libmongocrypt-devel/html/search/search_m.png
/usr/share/doc/libmongocrypt-devel/html/search/search_r.png
/usr/share/doc/libmongocrypt-devel/html/search/searchdata.js
/usr/share/doc/libmongocrypt-devel/html/search/typedefs_0.html
/usr/share/doc/libmongocrypt-devel/html/search/typedefs_0.js
/usr/share/doc/libmongocrypt-devel/html/splitbar.png
/usr/share/doc/libmongocrypt-devel/html/sync_off.png
/usr/share/doc/libmongocrypt-devel/html/sync_on.png
/usr/share/doc/libmongocrypt-devel/html/tab_a.png
/usr/share/doc/libmongocrypt-devel/html/tab_b.png
/usr/share/doc/libmongocrypt-devel/html/tab_h.png
/usr/share/doc/libmongocrypt-devel/html/tab_s.png
/usr/share/doc/libmongocrypt-devel/html/tabs.css
/usr/share/doc/libmongocrypt-devel/integrating.md

References

Summary

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