How To Install libmng on Rocky Linux 8

In this tutorial we learn how to install libmng on Rocky Linux 8. libmng is Library for Multiple-image Network Graphics support

Introduction

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

What is libmng

LibMNG is a library for accessing graphics in MNG (Multi-image Network Graphics) and JNG (JPEG Network Graphics) formats. MNG graphics are basically animated PNGs. JNG graphics are basically JPEG streams integrated into a PNG chunk.

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

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

sudo dnf -y install libmng

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

sudo yum -y install libmng

How To Uninstall libmng on Rocky Linux 8

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

sudo dnf remove libmng

libmng Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/612320ba3ee366a165fe8ecb9eee75750db030
/usr/lib/libmng.so.2
/usr/lib/libmng.so.2.0.2
/usr/share/doc/libmng
/usr/share/doc/libmng/CHANGES
/usr/share/doc/libmng/LICENSE
/usr/share/doc/libmng/README
/usr/share/doc/libmng/README.autoconf
/usr/share/doc/libmng/README.config
/usr/share/doc/libmng/README.contrib
/usr/share/doc/libmng/README.dll
/usr/share/doc/libmng/README.examples
/usr/share/doc/libmng/README.footprint
/usr/share/doc/libmng/README.packaging
/usr/share/doc/libmng/README.version
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/0111144b0d18a83bfa40f5754517aacad716d3
/usr/lib64/libmng.so.2
/usr/lib64/libmng.so.2.0.2
/usr/share/doc/libmng
/usr/share/doc/libmng/CHANGES
/usr/share/doc/libmng/LICENSE
/usr/share/doc/libmng/README
/usr/share/doc/libmng/README.autoconf
/usr/share/doc/libmng/README.config
/usr/share/doc/libmng/README.contrib
/usr/share/doc/libmng/README.dll
/usr/share/doc/libmng/README.examples
/usr/share/doc/libmng/README.footprint
/usr/share/doc/libmng/README.packaging
/usr/share/doc/libmng/README.version

References

Summary

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