How To Install gifsicle on CentOS 7

In this tutorial we learn how to install gifsicle on CentOS 7. gifsicle is Powerful program for manipulating GIF images and animations

Introduction

In this tutorial we learn how to install gifsicle on CentOS 7.

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 uses local 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gifsicle.

Install gifsicle on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gifsicle using yum by running the following command:

sudo yum -y install gifsicle

Install gifsicle on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install gifsicle using dnf by running the following command:

sudo dnf -y install gifsicle

How To Uninstall gifsicle on CentOS 7

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

sudo dnf remove gifsicle

References

Summary

In this tutorial we learn how to install gifsicle on CentOS 7 using yum and dnf.