How To Install keyutils-libs-devel on CentOS 8

keyutils-libs-devel is Development package for building Linux key management utilities Development package for building Linux key management utilities

Introduction

In this tutorial we learn how to install keyutils-libs-devel on CentOS 8.

What is keyutils-libs-devel

This package provides headers and libraries for building key utilities. keyutils-libs-devel 1.5.10 6.el8 x86_64 48 k keyutils-1.5.10-6.el8.src.rpm baseos Development package for building Linux key management utilities http GPLv2+ and LGPLv2+ This package provides headers and libraries for building key utilities.

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

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

sudo dnf -y install keyutils-libs-devel

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

sudo yum -y install keyutils-libs-devel

How To Uninstall keyutils-libs-devel on CentOS 8

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

sudo dnf remove keyutils-libs-devel

keyutils-libs-devel Package Contents on CentOS 8

/usr/include/keyutils.h
/usr/lib/libkeyutils.so
/usr/share/man/man3/find_key_by_type_and_name.3.gz
/usr/share/man/man3/keyctl.3.gz
/usr/share/man/man3/keyctl_assume_authority.3.gz
/usr/share/man/man3/keyctl_chown.3.gz
/usr/share/man/man3/keyctl_clear.3.gz
/usr/share/man/man3/keyctl_describe.3.gz
/usr/share/man/man3/keyctl_describe_alloc.3.gz
/usr/share/man/man3/keyctl_dh_compute.3.gz
/usr/share/man/man3/keyctl_dh_compute_alloc.3.gz
/usr/share/man/man3/keyctl_get_keyring_ID.3.gz
/usr/share/man/man3/keyctl_get_persistent.3.gz
/usr/share/man/man3/keyctl_get_security.3.gz
/usr/share/man/man3/keyctl_get_security_alloc.3.gz
/usr/share/man/man3/keyctl_instantiate.3.gz
/usr/share/man/man3/keyctl_instantiate_iov.3.gz
/usr/share/man/man3/keyctl_invalidate.3.gz
/usr/share/man/man3/keyctl_join_session_keyring.3.gz
/usr/share/man/man3/keyctl_link.3.gz
/usr/share/man/man3/keyctl_negate.3.gz
/usr/share/man/man3/keyctl_read.3.gz
/usr/share/man/man3/keyctl_read_alloc.3.gz
/usr/share/man/man3/keyctl_reject.3.gz
/usr/share/man/man3/keyctl_revoke.3.gz
/usr/share/man/man3/keyctl_search.3.gz
/usr/share/man/man3/keyctl_session_to_parent.3.gz
/usr/share/man/man3/keyctl_set_reqkey_keyring.3.gz
/usr/share/man/man3/keyctl_set_timeout.3.gz
/usr/share/man/man3/keyctl_setperm.3.gz
/usr/share/man/man3/keyctl_unlink.3.gz
/usr/share/man/man3/keyctl_update.3.gz
/usr/share/man/man3/recursive_key_scan.3.gz
/usr/share/man/man3/recursive_session_key_scan.3.gz
/usr/include/keyutils.h
/usr/lib64/libkeyutils.so
/usr/share/man/man3/find_key_by_type_and_name.3.gz
/usr/share/man/man3/keyctl.3.gz
/usr/share/man/man3/keyctl_assume_authority.3.gz
/usr/share/man/man3/keyctl_chown.3.gz
/usr/share/man/man3/keyctl_clear.3.gz
/usr/share/man/man3/keyctl_describe.3.gz
/usr/share/man/man3/keyctl_describe_alloc.3.gz
/usr/share/man/man3/keyctl_dh_compute.3.gz
/usr/share/man/man3/keyctl_dh_compute_alloc.3.gz
/usr/share/man/man3/keyctl_get_keyring_ID.3.gz
/usr/share/man/man3/keyctl_get_persistent.3.gz
/usr/share/man/man3/keyctl_get_security.3.gz
/usr/share/man/man3/keyctl_get_security_alloc.3.gz
/usr/share/man/man3/keyctl_instantiate.3.gz
/usr/share/man/man3/keyctl_instantiate_iov.3.gz
/usr/share/man/man3/keyctl_invalidate.3.gz
/usr/share/man/man3/keyctl_join_session_keyring.3.gz
/usr/share/man/man3/keyctl_link.3.gz
/usr/share/man/man3/keyctl_negate.3.gz
/usr/share/man/man3/keyctl_read.3.gz
/usr/share/man/man3/keyctl_read_alloc.3.gz
/usr/share/man/man3/keyctl_reject.3.gz
/usr/share/man/man3/keyctl_revoke.3.gz
/usr/share/man/man3/keyctl_search.3.gz
/usr/share/man/man3/keyctl_session_to_parent.3.gz
/usr/share/man/man3/keyctl_set_reqkey_keyring.3.gz
/usr/share/man/man3/keyctl_set_timeout.3.gz
/usr/share/man/man3/keyctl_setperm.3.gz
/usr/share/man/man3/keyctl_unlink.3.gz
/usr/share/man/man3/keyctl_update.3.gz
/usr/share/man/man3/recursive_key_scan.3.gz
/usr/share/man/man3/recursive_session_key_scan.3.gz

References

Summary

In this tutorial we learn how to install keyutils-libs-devel on CentOS 8 using yum and dnf.