How To Install cryptsetup-libs on CentOS 8

cryptsetup-libs is Cryptsetup shared library Cryptsetup shared library Cryptsetup shared library

Introduction

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

What is cryptsetup-libs

This package contains the cryptsetup shared library, libcryptsetup. cryptsetup-libs 2.3.3 4.el8 i686 502 k cryptsetup-2.3.3-4.el8.src.rpm baseos Cryptsetup shared library https GPLv2+ and LGPLv2+ This package contains the cryptsetup shared library, libcryptsetup. cryptsetup-libs 2.3.3 4.el8 x86_64 470 k cryptsetup-2.3.3-4.el8.src.rpm baseos Cryptsetup shared library https GPLv2+ and LGPLv2+ This package contains the cryptsetup shared library, libcryptsetup.

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

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

sudo dnf -y install cryptsetup-libs

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

sudo yum -y install cryptsetup-libs

How To Uninstall cryptsetup-libs on CentOS 8

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

sudo dnf remove cryptsetup-libs

cryptsetup-libs Package Contents on CentOS 8

/run/cryptsetup
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/ed3d5e87ab51b25596e6a2df0ab793cec72bd1
/usr/lib/libcryptsetup.so.12
/usr/lib/libcryptsetup.so.12.6.0
/usr/lib/tmpfiles.d/cryptsetup.conf
/usr/share/licenses/cryptsetup-libs
/usr/share/licenses/cryptsetup-libs/COPYING
/usr/share/licenses/cryptsetup-libs/COPYING.LGPL
/usr/share/locale/cs/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/da/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/de/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/es/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/fi/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/fr/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/id/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/it/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/ja/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/nl/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/pl/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/ru/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/sr/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/sv/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/uk/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/vi/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cryptsetup.mo
/run/cryptsetup
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/80806379d175dddbfaf05d7c9bafe65f6d93c0
/usr/lib/tmpfiles.d/cryptsetup.conf
/usr/lib64/libcryptsetup.so.12
/usr/lib64/libcryptsetup.so.12.6.0
/usr/share/licenses/cryptsetup-libs
/usr/share/licenses/cryptsetup-libs/COPYING
/usr/share/licenses/cryptsetup-libs/COPYING.LGPL
/usr/share/locale/cs/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/da/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/de/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/es/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/fi/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/fr/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/id/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/it/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/ja/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/nl/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/pl/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/ru/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/sr/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/sv/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/uk/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/vi/LC_MESSAGES/cryptsetup.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cryptsetup.mo

References

Summary

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