How To Install redhat-lsb-cxx on Rocky Linux 8
Introduction
In this tutorial we learn how to install redhat-lsb-cxx
on Rocky Linux 8.
What is redhat-lsb-cxx
The Linux Standard Base (LSB) CXX module supports the core interfaces by providing system interfaces, libraries, and a runtime environment for applications built using the C++ programming language. These interfaces provide low-level support for the core constructs of the language, and implement the standard base C++ libraries.
We can use yum
or dnf
to install redhat-lsb-cxx
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install redhat-lsb-cxx.
Install redhat-lsb-cxx 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-cxx
using dnf
by running the following command:
sudo dnf -y install redhat-lsb-cxx
Install redhat-lsb-cxx 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-cxx
using yum
by running the following command:
sudo yum -y install redhat-lsb-cxx
How To Uninstall redhat-lsb-cxx on Rocky Linux 8
To uninstall only the redhat-lsb-cxx
package we can use the following command:
sudo dnf remove redhat-lsb-cxx
redhat-lsb-cxx Package Contents on Rocky Linux 8
/etc/lsb-release.d/cxx-4.1-amd64
/etc/lsb-release.d/cxx-4.1-noarch
/usr/share/lsb/4.1/modules/cxx
/usr/share/lsb/4.1/modules/cxx/cpp-4.1-amd64
/usr/share/lsb/4.1/modules/cxx/cpp-4.1-noarch
/usr/share/lsb/4.1/submodules/cpp-4.1-amd64
/usr/share/lsb/4.1/submodules/cpp-4.1-noarch
/etc/lsb-release.d/cxx-4.1-ia32
/etc/lsb-release.d/cxx-4.1-noarch
/usr/share/lsb/4.1/modules/cxx
/usr/share/lsb/4.1/modules/cxx/cpp-4.1-ia32
/usr/share/lsb/4.1/modules/cxx/cpp-4.1-noarch
/usr/share/lsb/4.1/submodules/cpp-4.1-ia32
/usr/share/lsb/4.1/submodules/cpp-4.1-noarch
References
Summary
In this tutorial we learn how to install redhat-lsb-cxx
on Rocky Linux 8 using yum and dnf.