How To Install gifsicle on Fedora 34

gifsicle is Powerful program for manipulating GIF images and animations

Introduction

In this tutorial we learn how to install gifsicle on Fedora 34.

What is gifsicle

Gifsicle is a command-line tool for creating, editing, and getting information about GIF images and animations. Some more gifsicle features * Batch mode for changing GIFs in place. * Prints detailed information about GIFs, including comments. * Control over interlacing, comments, looping, transparency… * Creates well-behaved GIFs color tables if it absolutely has to (local color tables waste space and can cause viewing artifacts), etc. * It can shrink colormaps and change images to use the Web-safe palette (or any colormap you choose). * It can optimize your animations! This stores only the changed portion of each frame, and can radically shrink your GIFs. You can also use transparency to make them even smaller. Gifsicle?s optimizer is pretty powerful, and usually reduces animations to within a couple bytes of the best commercial optimizers. * Unoptimizing animations, which makes them easier to edit. * A dumb-ass name. One other program is included with gifsicle and gifdiff compares two GIFs for identical visual appearance.

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

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

sudo dnf -y install gifsicle

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

sudo yum -y install gifsicle

How To Uninstall gifsicle on Fedora 34

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

sudo dnf remove gifsicle

gifsicle Package Contents on Fedora 34

/usr/bin/gifdiff
/usr/bin/gifsicle
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/0f7b05c9e435e2ffabf4ca990b1988e29050da
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/b3f5af39f734453b5f65501f4a1f869c9b0c6c
/usr/share/doc/gifsicle
/usr/share/doc/gifsicle/NEWS.md
/usr/share/doc/gifsicle/README.md
/usr/share/licenses/gifsicle
/usr/share/licenses/gifsicle/COPYING
/usr/share/man/man1/gifdiff.1.gz
/usr/share/man/man1/gifsicle.1.gz

References

Summary

In this tutorial we learn how to install gifsicle on Fedora 34 using yum and dnf.