How To Install libspng on Fedora 36

In this tutorial we learn how to install libspng in Fedora 36. libspng is Simple, modern libpng alternative

Introduction

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

What is libspng

Libspng is a C library for reading and writing Portable Network Graphics (PNG) format files with a focus on security and ease of use. Libspng is an alternative to libpng, the projects are separate and the APIs are not compatible.

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

Install libspng 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 libspng using dnf by running the following command:

sudo dnf -y install libspng

Install libspng 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 libspng using yum by running the following command:

sudo yum -y install libspng

How To Uninstall libspng on Fedora 36

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

sudo dnf remove libspng

libspng Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/0bdabe43aaceef1807fc1825af4f670736cc8e
/usr/lib/libspng.so.0
/usr/lib/libspng.so.0.7.1
/usr/share/doc/libspng
/usr/share/doc/libspng/CONTRIBUTING.md
/usr/share/doc/libspng/README.md
/usr/share/licenses/libspng
/usr/share/licenses/libspng/LICENSE

References

Summary


title: “How To Install libspng on Fedora 36” In this tutorial we learn how to install libspng on Fedora 36 using yum and [dnf]((/fedora/36/dnf/). linkTitle: “libspng”

type: “docs” description: “In this tutorial we learn how to install libspng in Fedora 36. libspng is Simple, modern libpng alternative” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libspng-featured.png

Introduction

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

What is libspng

Libspng is a C library for reading and writing Portable Network Graphics (PNG) format files with a focus on security and ease of use. Libspng is an alternative to libpng, the projects are separate and the APIs are not compatible.

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

Install libspng 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 libspng using dnf by running the following command:

sudo dnf -y install libspng

Install libspng 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 libspng using yum by running the following command:

sudo yum -y install libspng

How To Uninstall libspng on Fedora 36

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

sudo dnf remove libspng

libspng Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/dee8007486c7647cf638819100f79b1b3d05cd
/usr/lib64/libspng.so.0
/usr/lib64/libspng.so.0.7.1
/usr/share/doc/libspng
/usr/share/doc/libspng/CONTRIBUTING.md
/usr/share/doc/libspng/README.md
/usr/share/licenses/libspng
/usr/share/licenses/libspng/LICENSE

References

Summary

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