How To Install freeimage on Fedora 34
Introduction
In this tutorial we learn how to install freeimage
on Fedora 34.
What is freeimage
FreeImage is a library for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today’s multimedia applications. freeimage 3.19.0 0.3.svn1859.fc34 x86_64 362 k freeimage-3.19.0-0.3.svn1859.fc34.src.rpm fedora Multi-format image decoder library http GPLv2 or GPLv3 or MPLv1.0 FreeImage is a library for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today’s multimedia applications.
We can use yum
or dnf
to install freeimage
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install freeimage.
Install freeimage 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 freeimage
using dnf
by running the following command:
sudo dnf -y install freeimage
Install freeimage 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 freeimage
using yum
by running the following command:
sudo yum -y install freeimage
How To Uninstall freeimage on Fedora 34
To uninstall only the freeimage
package we can use the following command:
sudo dnf remove freeimage
freeimage Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/71
/usr/lib/.build-id/71/62261aadf6c8eb1cf6b590640194fdfcb8e569
/usr/lib/libfreeimage-3.19.0.so
/usr/lib/libfreeimage.so.3
/usr/share/doc/freeimage
/usr/share/doc/freeimage/Whatsnew.txt
/usr/share/licenses/freeimage
/usr/share/licenses/freeimage/license-fi.txt
/usr/share/licenses/freeimage/license-gplv2.txt
/usr/share/licenses/freeimage/license-gplv3.txt
/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/971f5e1ac9b85a2af1b8aaf54b2ece680aa257
/usr/lib64/libfreeimage-3.19.0.so
/usr/lib64/libfreeimage.so.3
/usr/share/doc/freeimage
/usr/share/doc/freeimage/Whatsnew.txt
/usr/share/licenses/freeimage
/usr/share/licenses/freeimage/license-fi.txt
/usr/share/licenses/freeimage/license-gplv2.txt
/usr/share/licenses/freeimage/license-gplv3.txt
References
- [freeimage website](http://freeimage.sourceforge.net/ http://freeimage.sourceforge.net/)
Summary
In this tutorial we learn how to install freeimage
on Fedora 34 using yum and dnf.