How to Install and Uninstall libpng12.x86_64 Package on Amazon Linux 2

Last updated: January 12,2025

1. Install "libpng12.x86_64" package

Please follow the steps below to install libpng12.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install libpng12.x86_64

2. Uninstall "libpng12.x86_64" package

Please follow the guidance below to uninstall libpng12.x86_64 on Amazon Linux 2:

$ sudo yum remove libpng12.x86_64 $ sudo yum autoremove

3. Information about the libpng12.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : libpng12
Arch : x86_64
Version : 1.2.50
Release : 10.amzn2.0.2
Size : 172 k
Repo : amzn2-core/2/x86_64
Summary : Old version of libpng, needed to run old binaries
URL : http://www.libpng.org/pub/png/
License : zlib
Description : 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.