How To Install gif2apng on Kali Linux

In this tutorial we learn how to install gif2apng on Kali Linux. gif2apng is tool for converting animated GIF images to APNG format

Introduction

In this tutorial we learn how to install gif2apng on Kali Linux.

What is gif2apng

gif2apng is:

This package provides a command line tool for converting images from animated GIF to Animated PNG format.

The Animated Portable Network Graphics (APNG) file format is an extension to the Portable Network Graphics (PNG) specification. It allows for animated PNG files that work similarly to animated GIF files, while retaining backward compatibility with non-animated PNG files and adding support for 8-bit transparency and 24-bit images.

There are three methods to install gif2apng on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gif2apng Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gif2apng using apt-get by running the following command:

sudo apt-get -y install gif2apng

Install gif2apng Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gif2apng using apt by running the following command:

sudo apt -y install gif2apng

Install gif2apng Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gif2apng using aptitude by running the following command:

sudo aptitude -y install gif2apng

How To Uninstall gif2apng on Kali Linux

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

sudo apt-get remove gif2apng

Uninstall gif2apng And Its Dependencies

To uninstall gif2apng and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove gif2apng

Remove gif2apng Configurations and Data

To remove gif2apng configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gif2apng

Remove gif2apng configuration, data, and all of its dependencies

We can use the following command to remove gif2apng configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gif2apng

Dependencies

gif2apng have the following dependencies:

References

Summary

In this tutorial we learn how to install gif2apng package on Kali Linux using different package management tools: apt, apt-get and aptitude.