How To Install pnglite on Fedora 36
Introduction
In this tutorial we learn how to install pnglite
on Fedora 36.
What is pnglite
pnglite is a C library for loading PNG images. It was created as a substitute for libpng in situations when libpng is more than enough. It currently requires zlib for inflate and crc checking and it can read the most common types of PNG images. The library has a small and simple to use interface.
We can use yum
or dnf
to install pnglite
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pnglite.
Install pnglite 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 pnglite
using dnf
by running the following command:
sudo dnf -y install pnglite
Install pnglite 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 pnglite
using yum
by running the following command:
sudo yum -y install pnglite
How To Uninstall pnglite on Fedora 36
To uninstall only the pnglite
package we can use the following command:
sudo dnf remove pnglite
pnglite Package Contents on Fedora 36
---
title: "How To Install pnglite on Fedora 36"
linkTitle: "pnglite"
type: "docs"
description: "In this tutorial we learn how to install pnglite in Fedora 36. pnglite is A lightweight C library for loading PNG images"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/pnglite-featured.png
---
## Introduction
In this tutorial we learn how to install `pnglite` on Fedora 36.
### What is `pnglite`
> pnglite is a C library for loading PNG images. It was created as a substitute for libpng in situations when libpng is more than enough. It currently requires zlib for inflate and crc checking and it can read the most common types of PNG images. The library has a small and simple to use interface.
We can use `yum` or `dnf` to install `pnglite` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pnglite.
## Install pnglite on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install pnglite
using dnf
by running the following command:
sudo dnf -y install pnglite
Install pnglite 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 pnglite
using yum
by running the following command:
sudo yum -y install pnglite
How To Uninstall pnglite on Fedora 36
To uninstall only the pnglite
package we can use the following command:
sudo dnf remove pnglite
pnglite Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/7c666cb4863aaa0c2935816aad7c57fc9de75e
/usr/lib/libpnglite.so.0
/usr/lib/libpnglite.so.0.1
References
Summary
In this tutorial we learn how to install pnglite
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/84cc1e8700df0b9b0c0738f20c7e6c7441e0d6
/usr/lib64/libpnglite.so.0
/usr/lib64/libpnglite.so.0.1
## References
* [pnglite website](http://www.danielkarling.se/stuff/pnglite/)
## Summary
In this tutorial we learn how to install `pnglite` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).