How To Install graphicsmagick-libmagick-dev-compat on Debian 12
Introduction
In this tutorial we learn how to install graphicsmagick-libmagick-dev-compat
on Debian 12.
What is graphicsmagick-libmagick-dev-compat
graphicsmagick-libmagick-dev-compat is:
GraphicsMagick provides libraries in several programming languages to read, write and manipulate image files across a large number of formats, from the widely used jpeg, tiff, bmp or xpm to special-purpose formats such as fits or image formats found on some photo CDs. There are functions for finegrained image processing tasks, as well as conversion routines between the various image formats.
The GraphicsMagick libraries are a fork of ImageMagick and therefore offer programming interfaces that are mostly compatible. While there might be small differences, experience tells that many programs only use a compatible subset and build fine with either GraphicsMagick or ImageMagick.
While GraphicsMagick uses different names for libraries, classes, and helper applications in order to coexist with ImageMagick, this package intends to minimise porting efforts by exporting the GraphicsMagick interface with the usual ImageMagick names. Note that this package only tries to provide build-time compatibility. Run-time libraries of ImageMagick and GraphicsMagick are incompatible and cannot be interchanged.
This package includes compatibility wrappers for the C, C++, and Perl libraries.
There are three methods to install graphicsmagick-libmagick-dev-compat
on Debian 12. 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-libmagick-dev-compat Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install graphicsmagick-libmagick-dev-compat
using apt-get
by running the following command:
sudo apt-get -y install graphicsmagick-libmagick-dev-compat
Install graphicsmagick-libmagick-dev-compat Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install graphicsmagick-libmagick-dev-compat
using apt
by running the following command:
sudo apt -y install graphicsmagick-libmagick-dev-compat
Install graphicsmagick-libmagick-dev-compat Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install graphicsmagick-libmagick-dev-compat
using aptitude
by running the following command:
sudo aptitude -y install graphicsmagick-libmagick-dev-compat
How To Uninstall graphicsmagick-libmagick-dev-compat on Debian 12
To uninstall only the graphicsmagick-libmagick-dev-compat
package we can use the following command:
sudo apt-get remove graphicsmagick-libmagick-dev-compat
Uninstall graphicsmagick-libmagick-dev-compat And Its Dependencies
To uninstall graphicsmagick-libmagick-dev-compat
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove graphicsmagick-libmagick-dev-compat
Remove graphicsmagick-libmagick-dev-compat Configurations and Data
To remove graphicsmagick-libmagick-dev-compat
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge graphicsmagick-libmagick-dev-compat
Remove graphicsmagick-libmagick-dev-compat configuration, data, and all of its dependencies
We can use the following command to remove graphicsmagick-libmagick-dev-compat
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge graphicsmagick-libmagick-dev-compat
Dependencies
graphicsmagick-libmagick-dev-compat have the following dependencies:
References
- graphicsmagick-libmagick-dev-compat website
- graphicsmagick-libmagick-dev-compat on packages.debian.org
Summary
In this tutorial we learn how to install graphicsmagick-libmagick-dev-compat
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.