How To Install libspng on Fedora 34
Introduction
In this tutorial we learn how to install libspng
on Fedora 34.
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. libspng 0.6.3 1.fc34 x86_64 37 k libspng-0.6.3-1.fc34.src.rpm updates Simple, modern libpng alternative https BSD 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libspng.
Install libspng 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 libspng
using dnf
by running the following command:
sudo dnf -y install libspng
Install libspng 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 libspng
using yum
by running the following command:
sudo yum -y install libspng
How To Uninstall libspng on Fedora 34
To uninstall only the libspng
package we can use the following command:
sudo dnf remove libspng
libspng Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/baef472b643b40c39dcbff17fbc94a68d18f03
/usr/lib/libspng.so.0
/usr/lib/libspng.so.0.6.3
/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
/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/2a2257dd9a0daeae4708416c160a51483c5c1b
/usr/lib64/libspng.so.0
/usr/lib64/libspng.so.0.6.2
/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
/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/b51f6b0845b11fcdda1dd8e919b9efc35975bf
/usr/lib64/libspng.so.0
/usr/lib64/libspng.so.0.6.3
/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
/usr/lib/.build-id
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/73764dd6f55d20764033fb1372ea2a04758fb6
/usr/lib/libspng.so.0
/usr/lib/libspng.so.0.6.2
/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
- [libspng website](https://libspng.org/ https://libspng.org/)
Summary
In this tutorial we learn how to install libspng
on Fedora 34 using yum and dnf.