How To Install libpng12 on Fedora 36

In this tutorial we learn how to install libpng12 in Fedora 36. libpng12 is Old version of libpng, needed to run old binaries

Introduction

In this tutorial we learn how to install libpng12 on Fedora 36.

What is libpng12

The libpng12 package provides libpng 1.2, an older version of the libpng library for manipulating PNG (Portable Network Graphics) image format files. This version should be used only if you are unable to use the current version of libpng.

We can use yum or dnf to install libpng12 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpng12.

Install libpng12 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libpng12

Install libpng12 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libpng12

How To Uninstall libpng12 on Fedora 36

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

sudo dnf remove libpng12

libpng12 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/4560346e0251028bc503266dbf06d2a8851d74
/usr/lib/libpng12.so.0
/usr/lib/libpng12.so.0.57.0
/usr/share/doc/libpng12
/usr/share/doc/libpng12/CHANGES
/usr/share/doc/libpng12/README
/usr/share/doc/libpng12/TODO
/usr/share/doc/libpng12/libpng-1.2.57.txt
/usr/share/licenses/libpng12
/usr/share/licenses/libpng12/LICENSE

References

Summary

In this tutorial we learn how to install libpng12 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libpng12 on Fedora 36” linkTitle: “libpng12” type: “docs” description: “In this tutorial we learn how to install libpng12 in Fedora 36. libpng12 is Old version of libpng, needed to run old binaries” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libpng12-featured.png

Introduction

In this tutorial we learn how to install libpng12 on Fedora 36.

What is libpng12

The libpng12 package provides libpng 1.2, an older version of the libpng library for manipulating PNG (Portable Network Graphics) image format files. This version should be used only if you are unable to use the current version of libpng.

We can use yum or dnf to install libpng12 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libpng12.

Install libpng12 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libpng12

Install libpng12 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libpng12

How To Uninstall libpng12 on Fedora 36

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

sudo dnf remove libpng12

libpng12 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/462181466425c4a15bd539dd92b4312ef12b6e
/usr/lib64/libpng12.so.0
/usr/lib64/libpng12.so.0.57.0
/usr/share/doc/libpng12
/usr/share/doc/libpng12/CHANGES
/usr/share/doc/libpng12/README
/usr/share/doc/libpng12/TODO
/usr/share/doc/libpng12/libpng-1.2.57.txt
/usr/share/licenses/libpng12
/usr/share/licenses/libpng12/LICENSE

References

Summary

In this tutorial we learn how to install libpng12 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).