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

Last updated: February 04,2025

1. Install "libpng.x86_64" package

Please follow the guidelines below to install libpng.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install libpng.x86_64

2. Uninstall "libpng.x86_64" package

Here is a brief guide to show you how to uninstall libpng.x86_64 on Amazon Linux 2:

$ sudo yum remove libpng.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Installed Packages
Name : libpng
Arch : x86_64
Epoch : 2
Version : 1.5.13
Release : 8.amzn2
Size : 594 k
Repo : installed
From repo : amzn2-core
Summary : A library of functions for manipulating PNG image format files
URL : http://www.libpng.org/pub/png/
License : zlib
Description : The libpng package contains a library of functions for creating
: and manipulating PNG (Portable Network Graphics) image format
: files. PNG is a bit-mapped graphics format similar to the GIF
: format. PNG was created to replace the GIF format, since GIF uses
: a patented data compression algorithm.
:
: Libpng should be installed if you need to manipulate PNG format
: image files.