How To Install redhat-lsb-core on CentOS 8

redhat-lsb-core is LSB Core module support LSB Core module support

Introduction

In this tutorial we learn how to install redhat-lsb-core on CentOS 8.

What is redhat-lsb-core

The Linux Standard Base (LSB) Core module support provides the fundamental system interfaces, libraries, and runtime environment upon which all conforming applications and libraries depend. redhat-lsb-core 4.1 47.el8 x86_64 46 k redhat-lsb-4.1-47.el8.src.rpm appstream LSB Core module support http GPLv2 The Linux Standard Base (LSB) Core module support provides the fundamental system interfaces, libraries, and runtime environment upon which all conforming applications and libraries depend.

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

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

sudo dnf -y install redhat-lsb-core

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

sudo yum -y install redhat-lsb-core

How To Uninstall redhat-lsb-core on CentOS 8

To uninstall only the redhat-lsb-core package we can use the following command:

sudo dnf remove redhat-lsb-core

redhat-lsb-core Package Contents on CentOS 8

/bin/redhat_lsb_init
/etc/lsb-release.d
/etc/lsb-release.d/core-4.1-amd64
/etc/lsb-release.d/core-4.1-noarch
/etc/redhat-lsb
/etc/redhat-lsb/lsb_killproc
/etc/redhat-lsb/lsb_log_message
/etc/redhat-lsb/lsb_pidofproc
/etc/redhat-lsb/lsb_start_daemon
/lib/lsb
/lib/lsb/init-functions
/lib64/ld-lsb-x86-64.so.3
/usr/bin/lsb_release
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/0d1bb5495d76e52f9ee47d49ba23f0c3d37866
/usr/lib/lsb
/usr/lib/lsb/install_initd
/usr/lib/lsb/remove_initd
/usr/sbin/redhat_lsb_trigger.x86_64
/usr/share/doc/redhat-lsb-core
/usr/share/doc/redhat-lsb-core/README
/usr/share/doc/redhat-lsb-core/README.lsb_release
/usr/share/licenses/redhat-lsb-core
/usr/share/licenses/redhat-lsb-core/COPYING
/usr/share/lsb/4.1/modules/core
/usr/share/lsb/4.1/modules/core/core-4.1-amd64
/usr/share/lsb/4.1/modules/core/core-4.1-noarch
/usr/share/lsb/4.1/modules/core/security-4.1-amd64
/usr/share/lsb/4.1/modules/core/security-4.1-noarch
/usr/share/lsb/4.1/submodules/core-4.1-amd64
/usr/share/lsb/4.1/submodules/core-4.1-noarch
/usr/share/man/man1/lsb_release.1.gz
/bin/redhat_lsb_init
/etc/lsb-release.d
/etc/lsb-release.d/core-4.1-ia32
/etc/lsb-release.d/core-4.1-noarch
/etc/redhat-lsb
/etc/redhat-lsb/lsb_killproc
/etc/redhat-lsb/lsb_log_message
/etc/redhat-lsb/lsb_pidofproc
/etc/redhat-lsb/lsb_start_daemon
/lib/ld-lsb.so.3
/lib/lsb
/lib/lsb/init-functions
/usr/bin/lsb_release
/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/9ce84be72d9b008c610d50445e70c34913dc8b
/usr/lib/lsb
/usr/lib/lsb/install_initd
/usr/lib/lsb/remove_initd
/usr/sbin/redhat_lsb_trigger.i686
/usr/share/doc/redhat-lsb-core
/usr/share/doc/redhat-lsb-core/README
/usr/share/doc/redhat-lsb-core/README.lsb_release
/usr/share/licenses/redhat-lsb-core
/usr/share/licenses/redhat-lsb-core/COPYING
/usr/share/lsb/4.1/modules/core
/usr/share/lsb/4.1/modules/core/core-4.1-ia32
/usr/share/lsb/4.1/modules/core/core-4.1-noarch
/usr/share/lsb/4.1/modules/core/security-4.1-ia32
/usr/share/lsb/4.1/modules/core/security-4.1-noarch
/usr/share/lsb/4.1/submodules/core-4.1-ia32
/usr/share/lsb/4.1/submodules/core-4.1-noarch
/usr/share/man/man1/lsb_release.1.gz

References

Summary

In this tutorial we learn how to install redhat-lsb-core on CentOS 8 using yum and dnf.