How To Install glog-devel on Rocky Linux 8

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

Introduction

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

What is glog-devel

The glog-devel package contains libraries and header files for developing applications that use glog.

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

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

sudo dnf -y install glog-devel

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

sudo yum -y install glog-devel

How To Uninstall glog-devel on Rocky Linux 8

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

sudo dnf remove glog-devel

glog-devel Package Contents on Rocky Linux 8

/usr/include/glog
/usr/include/glog/log_severity.h
/usr/include/glog/logging.h
/usr/include/glog/raw_logging.h
/usr/include/glog/stl_logging.h
/usr/include/glog/vlog_is_on.h
/usr/lib/libglog.so
/usr/lib/pkgconfig/libglog.pc
/usr/share/doc/glog-devel
/usr/share/doc/glog-devel/designstyle.css
/usr/share/doc/glog-devel/glog.html
/usr/include/glog
/usr/include/glog/log_severity.h
/usr/include/glog/logging.h
/usr/include/glog/raw_logging.h
/usr/include/glog/stl_logging.h
/usr/include/glog/vlog_is_on.h
/usr/lib64/libglog.so
/usr/lib64/pkgconfig/libglog.pc
/usr/share/doc/glog-devel
/usr/share/doc/glog-devel/designstyle.css
/usr/share/doc/glog-devel/glog.html

References

Summary

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