Wand-config command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
Wand-config: command not found
or when using sudo you get the following error message
sudo: Wand-config: command not found
Solutions to Wand-config: command not found
How To Fix Wand-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu Wand-config is provided by graphicsmagick-libmagick-dev-compat package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install graphicsmagick-libmagick-dev-compat
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install graphicsmagick-libmagick-dev-compat.
sudo apt -y install graphicsmagick-libmagick-dev-compat
Or if you have aptitude installed you can use the following command.
sudo aptitude install graphicsmagick-libmagick-dev-compat
Summary
In this tutorial we learn how to fix Wand-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.