How To Install libogg-devel on Rocky Linux 8

In this tutorial we learn how to install libogg-devel on Rocky Linux 8. libogg-devel is Files needed for development using libogg

Introduction

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

What is libogg-devel

Libogg is a library used for manipulating Ogg bitstreams. The libogg-devel package contains the header files and documentation needed for development using libogg.

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

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

sudo dnf -y install libogg-devel

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

sudo yum -y install libogg-devel

How To Uninstall libogg-devel on Rocky Linux 8

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

sudo dnf remove libogg-devel

libogg-devel Package Contents on Rocky Linux 8

/usr/include/ogg
/usr/include/ogg/config_types.h
/usr/include/ogg/ogg.h
/usr/include/ogg/os_types.h
/usr/lib/libogg.so
/usr/lib/pkgconfig/ogg.pc
/usr/share/aclocal/ogg.m4
/usr/include/ogg
/usr/include/ogg/config_types.h
/usr/include/ogg/ogg.h
/usr/include/ogg/os_types.h
/usr/lib64/libogg.so
/usr/lib64/pkgconfig/ogg.pc
/usr/share/aclocal/ogg.m4

References

Summary

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