How To Install libmagickwand-6-headers on Ubuntu 18.04

In this tutorial we learn how to install libmagickwand-6-headers on Ubuntu 18.04. libmagickwand-6-headers is image manipulation library - headers files

Introduction

In this tutorial we learn how to install libmagickwand-6-headers on Ubuntu 18.04.

What is libmagickwand-6-headers

libmagickwand-6-headers is:

The MagickWand API is the recommended interface between the C programming language and the ImageMagick image processing libraries. Unlike the MagickCore C API, MagickWand uses only a few opaque types. Accessors are available to set or get important wand properties.

This package includes header files needed to compile programs using MagickWand.

This package is independent of channel depth.

There are three methods to install libmagickwand-6-headers 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 libmagickwand-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 libmagickwand-6-headers using apt-get by running the following command:

sudo apt-get -y install libmagickwand-6-headers

Install libmagickwand-6-headers Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmagickwand-6-headers using apt by running the following command:

sudo apt -y install libmagickwand-6-headers

Install libmagickwand-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 libmagickwand-6-headers using aptitude by running the following command:

sudo aptitude -y install libmagickwand-6-headers

How To Uninstall libmagickwand-6-headers on Ubuntu 18.04

To uninstall only the libmagickwand-6-headers package we can use the following command:

sudo apt-get remove libmagickwand-6-headers

Uninstall libmagickwand-6-headers And Its Dependencies

To uninstall libmagickwand-6-headers and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libmagickwand-6-headers

Remove libmagickwand-6-headers Configurations and Data

To remove libmagickwand-6-headers configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libmagickwand-6-headers

Remove libmagickwand-6-headers configuration, data, and all of its dependencies

We can use the following command to remove libmagickwand-6-headers configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libmagickwand-6-headers

References

Summary

In this tutorial we learn how to install libmagickwand-6-headers package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.