How To Install redhat-lsb-core on Rocky Linux 8

In this tutorial we learn how to install redhat-lsb-core on Rocky Linux 8. redhat-lsb-core is LSB Core module support

Introduction

In this tutorial we learn how to install redhat-lsb-core on Rocky Linux 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.

We can use yum or dnf to install redhat-lsb-core on Rocky Linux 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 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 redhat-lsb-core using dnf by running the following command:

sudo dnf -y install redhat-lsb-core

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

sudo yum -y install redhat-lsb-core

How To Uninstall redhat-lsb-core on Rocky Linux 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 Rocky Linux 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/f1
/usr/lib/.build-id/f1/88b996e2e23b2f68d9785735c5cebcc4d9e1ab
/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/8f
/usr/lib/.build-id/8f/a3a5d0b4ee4d66d6e4b682b1d3be9b4af2d88e
/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 Rocky Linux 8 using yum and dnf.