How To Install graphicsmagick-imagemagick-compat on Kali Linux
Introduction
In this tutorial we learn how to install graphicsmagick-imagemagick-compat on Kali Linux.
What is graphicsmagick-imagemagick-compat
graphicsmagick-imagemagick-compat is:
GraphicsMagick provides a set of command-line applications to manipulate image files. It is a fork of the ImageMagick project and therefore offers a similar set of features, but puts a larger emphasis on stability.
With this package installed, the GraphicsMagick command line tools can be executed like their ImageMagick counterparts. It allows one to migrate scripts from ImageMagick to GraphicsMagick without any code changes.
There are three methods to install graphicsmagick-imagemagick-compat 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 graphicsmagick-imagemagick-compat Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install graphicsmagick-imagemagick-compat using apt-get by running the following command:
sudo apt-get -y install graphicsmagick-imagemagick-compatInstall graphicsmagick-imagemagick-compat Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install graphicsmagick-imagemagick-compat using apt by running the following command:
sudo apt -y install graphicsmagick-imagemagick-compatInstall graphicsmagick-imagemagick-compat 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 updateAfter updating apt database, We can install graphicsmagick-imagemagick-compat using aptitude by running the following command:
sudo aptitude -y install graphicsmagick-imagemagick-compatHow To Uninstall graphicsmagick-imagemagick-compat on Kali Linux
To uninstall only the graphicsmagick-imagemagick-compat package we can use the following command:
sudo apt-get remove graphicsmagick-imagemagick-compatUninstall graphicsmagick-imagemagick-compat And Its Dependencies
To uninstall graphicsmagick-imagemagick-compat and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove graphicsmagick-imagemagick-compatRemove graphicsmagick-imagemagick-compat Configurations and Data
To remove graphicsmagick-imagemagick-compat configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge graphicsmagick-imagemagick-compatRemove graphicsmagick-imagemagick-compat configuration, data, and all of its dependencies
We can use the following command to remove graphicsmagick-imagemagick-compat configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge graphicsmagick-imagemagick-compatDependencies
graphicsmagick-imagemagick-compat have the following dependencies:
References
Summary
In this tutorial we learn how to install graphicsmagick-imagemagick-compat package on Kali Linux using different package management tools: apt, apt-get and aptitude.