How To Install libmng on Fedora 34

libmng is Library for Multiple-image Network Graphics support Library for Multiple-image Network Graphics support

Introduction

In this tutorial we learn how to install libmng on Fedora 34.

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. libmng 2.0.3 13.fc34 x86_64 188 k libmng-2.0.3-13.fc34.src.rpm fedora Library for Multiple-image Network Graphics support http zlib 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libmng.

Install libmng on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libmng using dnf by running the following command:

sudo dnf -y install libmng

Install libmng on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libmng

libmng Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/aa186bd228a69b7f3ec81e5ad61d335ed17eb3
/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/8a
/usr/lib/.build-id/8a/34d280bd67d73f6c1e82fb1f6dcc5b1a191f5c
/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 Fedora 34 using yum and dnf.