How To Install cxxopts-devel on Rocky Linux 8

In this tutorial we learn how to install cxxopts-devel on Rocky Linux 8. cxxopts-devel is Development files for cxxopts

Introduction

In this tutorial we learn how to install cxxopts-devel on Rocky Linux 8.

What is cxxopts-devel

Development files for cxxopts.

We can use yum or dnf to install cxxopts-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install cxxopts-devel.

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

sudo dnf -y install cxxopts-devel

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

sudo yum -y install cxxopts-devel

How To Uninstall cxxopts-devel on Rocky Linux 8

To uninstall only the cxxopts-devel package we can use the following command:

sudo dnf remove cxxopts-devel

cxxopts-devel Package Contents on Rocky Linux 8

/usr/include/cxxopts.hpp
/usr/lib64/cmake/cxxopts
/usr/lib64/cmake/cxxopts/cxxopts-config-version.cmake
/usr/lib64/cmake/cxxopts/cxxopts-config.cmake
/usr/lib64/cmake/cxxopts/cxxopts-targets.cmake
/usr/share/doc/cxxopts-devel
/usr/share/doc/cxxopts-devel/README.md
/usr/share/licenses/cxxopts-devel
/usr/share/licenses/cxxopts-devel/LICENSE

References

Summary

In this tutorial we learn how to install cxxopts-devel on Rocky Linux 8 using yum and dnf.