How To Install redhat-lsb-core on AlmaLinux 8

redhat-lsb-core is LSB Core module support

Introduction

In this tutorial we learn how to install redhat-lsb-core on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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/6a
/usr/lib/.build-id/6a/471d06eea17f637e734ddec18ebd082261defb
/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/4c
/usr/lib/.build-id/4c/2133a751bf74273889c8a57247e6b2fc8f2604
/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 AlmaLinux 8 using yum and dnf.