How To Install libmng-devel on Rocky Linux 8

In this tutorial we learn how to install libmng-devel on Rocky Linux 8. libmng-devel is Development files for the Multiple-image Network Graphics library

Introduction

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

What is libmng-devel

LibMNG is a library for accessing MNG and JNG format graphics. The libmng-devel package contains files needed for developing or compiling applications which use MNG graphics.

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

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

sudo dnf -y install libmng-devel

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

sudo yum -y install libmng-devel

How To Uninstall libmng-devel on Rocky Linux 8

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

sudo dnf remove libmng-devel

libmng-devel Package Contents on Rocky Linux 8

/usr/include/libmng.h
/usr/include/libmng_conf.h
/usr/include/libmng_types.h
/usr/lib/libmng.so
/usr/lib/pkgconfig/libmng.pc
/usr/share/doc/libmng-devel
/usr/share/doc/libmng-devel/CMakeLists.txt
/usr/share/doc/libmng-devel/Plan1.png
/usr/share/doc/libmng-devel/Plan2.png
/usr/share/doc/libmng-devel/doc.readme
/usr/share/doc/libmng-devel/libmng.txt
/usr/share/doc/libmng-devel/man
/usr/share/doc/libmng-devel/man/CMakeLists.txt
/usr/share/doc/libmng-devel/man/jng.5
/usr/share/doc/libmng-devel/man/libmng.3
/usr/share/doc/libmng-devel/man/mng.5
/usr/share/doc/libmng-devel/misc
/usr/share/doc/libmng-devel/misc/magic.dif
/usr/share/doc/libmng-devel/rpm
/usr/share/man/man3/libmng.3.gz
/usr/share/man/man5/jng.5.gz
/usr/share/man/man5/mng.5.gz
/usr/include/libmng.h
/usr/include/libmng_conf.h
/usr/include/libmng_types.h
/usr/lib64/libmng.so
/usr/lib64/pkgconfig/libmng.pc
/usr/share/doc/libmng-devel
/usr/share/doc/libmng-devel/CMakeLists.txt
/usr/share/doc/libmng-devel/Plan1.png
/usr/share/doc/libmng-devel/Plan2.png
/usr/share/doc/libmng-devel/doc.readme
/usr/share/doc/libmng-devel/libmng.txt
/usr/share/doc/libmng-devel/man
/usr/share/doc/libmng-devel/man/CMakeLists.txt
/usr/share/doc/libmng-devel/man/jng.5
/usr/share/doc/libmng-devel/man/libmng.3
/usr/share/doc/libmng-devel/man/mng.5
/usr/share/doc/libmng-devel/misc
/usr/share/doc/libmng-devel/misc/magic.dif
/usr/share/doc/libmng-devel/rpm
/usr/share/man/man3/libmng.3.gz
/usr/share/man/man5/jng.5.gz
/usr/share/man/man5/mng.5.gz

References

Summary

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