How To Install ImageMagick on Linux Mint 20
In this tutorial, we will show you how to install ImageMagick on Linux Mint 20. For those of you who didn’t know, ImageMagick is a free and open-source image manipulation tool. It is mainly used to create, edit, compose or convert bitmap images. Its uses include resizing, rotating, shearing images, applying various special effects, or drawing text, lines, and curves. Its flexibility can be realized from the fact that it can be used across multiple different platforms such as run on Windows and Mac OS, as well as on Android OS and iOS.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of ImageMagick on a Linux Mint 20 (Ulyana).
Prerequisites
- A server running one of the following operating systems: Linux Mint 20 (Ulyana).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install ImageMagick on Linux Mint 20 Ulyana
Step 1. Before running the tutorial below, it’s important to make sure your system is up to date by running the following apt
commands in the terminal:
sudo apt update sudo apt install build-essential
Step 2. Installing ImageMagick on Linux Mint 20.
Now we run the following command to download the Imagemagick source code on your system:
wget https://www.imagemagick.org/download/ImageMagick.tar.gz tar xvzf ImageMagick.tar.gz cd ImageMagick-7.0.11-8/
Next, configure the Imagemagick script by running the following command below:
./configure make sudo make install
After that, you need to configure the runtime bindings of Imagemagick on your system:
sudo ldconfig /usr/local/lib
To verify ImageMagick installation run the following command:
magick --version
Congratulations! You have successfully installed ImageMagick. Thanks for using this tutorial for installing the latest version of ImageMagick on the Linux Mint system. For additional help or useful information, we recommend you check the official ImageMagick website.