ImageMagick

How to Install the Latest ImageMagick on Ubuntu 20.04?

How to Install the Latest ImageMagick on Ubuntu 20.04?

The ImageMagick is a very popular open-source software suite that is used to edit bitmap images. It can read and write around 100+ types of images like PNG, SVG, JPG, TIFF, GIF, and many more. It provides various functionalities like adjusting image colors, resizing, mirroring, rotating, shearing the images, and drawing lines such as ellipses, Bezier curves, and polygons. It is a multi-platform application that can run on Windows and Mac OS, as well as on Android OS and iOS. In this post, we will learn how to install the latest version of ImageMagick on Ubuntu 20.04 LTS system.

Installing ImageMagick on Ubuntu 20.04

Imagemagick can be installed on Ubuntu 20.04 using these two methods:

Install ImageMagick using the APT Package Repository

By using this method, we can install the latest stable version of Image magick from the official ubuntu's APT package repository.

First of all, update your system's APT cache repository by typing the command given below:

$ sudo apt update

After updating your system's package repository, install ImageMagick using the command given below:

$ sudo apt install imagemagick

Type “y” and click “Enter” to grant additional disk space and continue the installation process of ImageMagick.

Once ImageMagick is installed, confirm the installation by typing the command provided below:

$ convert logo: logo.gif

This command will create a logo.gif file in your “Home” directory.

If a logo file of ImageMagick is also created in your “Home” directory, it means that the ImageMagick is successfully installed on your system.

How to install ImageMagick from the source file

By following this process, you can download and install the latest release of ImageMagick on your Ubuntu 20.04 system.

First of all, before even downloading the source files of ImageMagick, a development environment is required by the ImageMagick like a compiler and other required development tools, so you need to install build-essentials tools using the command given below:

$ sudo apt install build-essential

The next step is to download the source files of ImageMagick from the official website of ImageMagick by typing the command provided below:

$ wget https://www.imagemagick.org/download/ImageMagick.tar.gz

After downloading the ImageMagick source file is completed, extract it using the command given below:

$ tar xzvf ImageMagick.tar.gz

After the extraction of the ImageMagick package, move to the ImageMagick directory by using the “cd” command:

$ cd ImageMagick-7.0.10-60/

Alright, now to perform the compilation of ImageMagick and configuration, type the command given below:

$ ./configure

And run the “make” command:

$ make

If “make” is not installed, install it using the command given below:

$ sudo apt install make

After the successful compilation of ImageMagick, install it via the following command:

$ sudo make install

Now, after the installation process of ImageMagick, the last step is to configure the dynamic linker run-time bindings.

$ sudo ldconfig /usr/local/lib

Once all the above-given processes are followed and completed successfully, you can verify the installation of ImageMagick by typing the command provided below:

$ magick --version

You can see that the latest version 7.0.10-60 is installed successfully on Ubuntu 20.04 LTS system.

Conclusion

ImageMagick is an old yet potent tool used by its community across the world, and this post has shown you how to install its latest version on the Ubuntu 20.04 LTS operating system.

Kuinka näyttää FPS-laskuri Linux-peleissä
Linux-pelaaminen sai suuren työn, kun Valve ilmoitti Linux-tuesta Steam-asiakkaalle ja heidän peleilleen vuonna 2012. Siitä lähtien monet AAA- ja indi...
How to download and Play Sid Meier's Civilization VI on Linux
Introduction to the game Civilization 6 is a modern take on the classic concept introduced in the series of the Age of Empires games. The idea was fai...
How to Install and Play Doom on Linux
Introduction to Doom The Doom Series originated in the 90s after the release of the original Doom. It was an instant hit and from that time onwards th...