Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to install imagemagick

Step 1: Update Your System
Make sure your system is up to date. So, first run the following commands:
Code:
sudo apt update
sudo apt upgrade

Step 2: Install Prerequisites
ImageMagick requires some libraries. Install them with:
Code:
sudo apt install build-essential libjpeg-dev libpng-dev libtiff-dev libgif-dev

Step 3: Install ImageMagick from the Default Repository
For most users, the version in the default repository is sufficient. Run:
Code:
sudo apt install imagemagick

Step 4: Verify Installation
Check if ImageMagick is installed correctly by running:
Code:
convert --version
You should see the installed version of ImageMagick.


Optional: Install the Latest Version (From Source)
If you need the latest features, follow these steps:

Download the source code from the official ImageMagick website.
Extract the archive:
Code:
tar xvzf ImageMagick.tar.gz
Navigate to the extracted folder and build:
Code:
cd ImageMagick-*
./configure
make
sudo make install
sudo ldconfig

Step 5: Verify Again
Check the version to ensure the latest version is installed:
Code:
convert --version

Let us know if you have any issues.
 
Back
Top