How To Install libmagick++-6-headers on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libmagick++-6-headers
on Ubuntu 20.04.
What is libmagick++-6-headers
libmagick++-6-headers is:
The Magick++ library is a set of C++ wrapper classes that provides access to the ImageMagick package functionality from within a C++ application.
This package includes header files needed to compile programs using Magick++.
This package is independent of channel depth.
Package: libmagick++-6-headers Architecture: all Version: 8:6.9.10.23+dfsg-2.1ubuntu11 Multi-Arch: foreign Priority: optional Section: universe/libdevel Source: imagemagick Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: ImageMagick Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 330 Pre-Depends: dpkg (>= 1.15.7.2) Depends: libmagickwand-6-headers (= 8:6.9.10.23+dfsg-2.1ubuntu11), libmagickcore-6-headers (= 8:6.9.10.23+dfsg-2.1ubuntu11), imagemagick-6-common (= 8:6.9.10.23+dfsg-2.1ubuntu11) Filename: pool/universe/i/imagemagick/libmagick++-6-headers_6.9.10.23+dfsg-2.1ubuntu11_all.deb Size: 47548 MD5sum: 7c6cd99053265a36d9bd8f7a82106104 SHA1: 33592ef459a3a79aaa974cb76ec167e96c01383a SHA256: c2c5ff2215e1165a6137d5705deb379e3e1c91dc9351e6c0ee2e3f7b6b33a151 Homepage: https://www.imagemagick.org/ Description-en: object-oriented C++ interface to ImageMagick - header files The Magick++ library is a set of C++ wrapper classes that provides access to the ImageMagick package functionality from within a C++ application.
This package includes header files needed to compile programs using Magick++.
This package is independent of channel depth.
There are three methods to install libmagick++-6-headers
on Ubuntu 20.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++-6-headers 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++-6-headers
using apt-get
by running the following command:
sudo apt-get -y install libmagick++-6-headers
Install libmagick++-6-headers Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmagick++-6-headers
using apt
by running the following command:
sudo apt -y install libmagick++-6-headers
Install libmagick++-6-headers 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++-6-headers
using aptitude
by running the following command:
sudo aptitude -y install libmagick++-6-headers
How To Uninstall libmagick++-6-headers on Ubuntu 20.04
To uninstall only the libmagick++-6-headers
package we can use the following command:
sudo apt-get remove libmagick++-6-headers
Uninstall libmagick++-6-headers And Its Dependencies
To uninstall libmagick++-6-headers
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libmagick++-6-headers
Remove libmagick++-6-headers Configurations and Data
To remove libmagick++-6-headers
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libmagick++-6-headers
Remove libmagick++-6-headers configuration, data, and all of its dependencies
We can use the following command to remove libmagick++-6-headers
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmagick++-6-headers
References
Summary
In this tutorial we learn how to install libmagick++-6-headers
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.