How To Install giflib on CentOS 8
Introduction
In this tutorial we learn how to install giflib
on CentOS 8.
What is giflib
giflib is a library for reading and writing gif images. giflib 5.1.4 3.el8 x86_64 51 k giflib-5.1.4-3.el8.src.rpm appstream A library and utilities for processing GIFs http MIT giflib is a library for reading and writing gif images.
We can use yum
or dnf
to install giflib
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install giflib.
Install giflib on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install giflib
using dnf
by running the following command:
sudo dnf -y install giflib
Install giflib on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install giflib
using yum
by running the following command:
sudo yum -y install giflib
How To Uninstall giflib on CentOS 8
To uninstall only the giflib
package we can use the following command:
sudo dnf remove giflib
giflib Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/0ee8bf687bd39f44581c8e1122e5ee1fb614c1
/usr/lib64/libgif.so.7
/usr/lib64/libgif.so.7.0.0
/usr/share/doc/giflib
/usr/share/doc/giflib/AUTHORS
/usr/share/doc/giflib/ChangeLog
/usr/share/doc/giflib/NEWS
/usr/share/doc/giflib/README
/usr/share/licenses/giflib
/usr/share/licenses/giflib/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/8adc93d6bfbfff706d67332c0a52a66d825d4e
/usr/lib/libgif.so.7
/usr/lib/libgif.so.7.0.0
/usr/share/doc/giflib
/usr/share/doc/giflib/AUTHORS
/usr/share/doc/giflib/ChangeLog
/usr/share/doc/giflib/NEWS
/usr/share/doc/giflib/README
/usr/share/licenses/giflib
/usr/share/licenses/giflib/COPYING
References
- [giflib website](http://www.sourceforge.net/projects/giflib/ http://www.sourceforge.net/projects/giflib/)
Summary
In this tutorial we learn how to install giflib
on CentOS 8 using yum and dnf.