How To Install libpng12 on Fedora 34
Introduction
In this tutorial we learn how to install libpng12
on Fedora 34.
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. libpng12 1.2.57 13.fc34 x86_64 154 k libpng12-1.2.57-13.fc34.src.rpm fedora Old version of libpng, needed to run old binaries http zlib 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libpng12.
Install libpng12 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 libpng12
using dnf
by running the following command:
sudo dnf -y install libpng12
Install libpng12 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 libpng12
using yum
by running the following command:
sudo yum -y install libpng12
How To Uninstall libpng12 on Fedora 34
To uninstall only the libpng12
package we can use the following command:
sudo dnf remove libpng12
libpng12 Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/906fd4dcd55e53ef7b2e4494c883b951f98677
/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
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/67f498a6e7ed213e6968d1e518314ba801c206
/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
- [libpng12 website](http://www.libpng.org/pub/png/ http://www.libpng.org/pub/png/)
Summary
In this tutorial we learn how to install libpng12
on Fedora 34 using yum and dnf.