How To Install libmagick++-dev on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libmagick++-dev
on Ubuntu 18.04.
What is libmagick++-dev
libmagick++-dev is:
The Magick++ library was a set of C++ wrapper classes that provides access to the ImageMagick package functionality from within a C++ application.
This is a transitional package to help migrate systems to the new ABI of libmagick++-6 development files for default channel depth.
This is a dummy package. You can safely purge or remove it.
There are three methods to install libmagick++-dev
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libmagick++-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libmagick++-dev
using apt-get
by running the following command:
sudo apt-get -y install libmagick++-dev
Install libmagick++-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmagick++-dev
using apt
by running the following command:
sudo apt -y install libmagick++-dev
Install libmagick++-dev 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libmagick++-dev
using aptitude
by running the following command:
sudo aptitude -y install libmagick++-dev
How To Uninstall libmagick++-dev on Ubuntu 18.04
To uninstall only the libmagick++-dev
package we can use the following command:
sudo apt-get remove libmagick++-dev
Uninstall libmagick++-dev And Its Dependencies
To uninstall libmagick++-dev
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libmagick++-dev
Remove libmagick++-dev Configurations and Data
To remove libmagick++-dev
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libmagick++-dev
Remove libmagick++-dev configuration, data, and all of its dependencies
We can use the following command to remove libmagick++-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmagick++-dev
References
Summary
In this tutorial we learn how to install libmagick++-dev
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.