How To Install imagemagick on Ubuntu 20.04
Introduction
In this tutorial we learn how to install imagemagick
on Ubuntu 20.04.
What is imagemagick
imagemagick is:
ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. All manipulations can be achieved through shell commands as well as through an X11 graphical interface (display).
This package include links to channel depth specific binaries and manual pages.
This is a dummy package. You can safely purge or remove it. Task: ubuntustudio-video, ubuntustudio-publishing, ubuntustudio-graphics
Package: imagemagick Architecture: amd64 Version: 8:6.9.10.23+dfsg-2.1ubuntu11 Multi-Arch: foreign Priority: optional Section: universe/graphics Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: ImageMagick Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 123 Depends: imagemagick-6.q16 (>= 8:6.9.2.10+dfsg-2~) Filename: pool/universe/i/imagemagick/imagemagick_6.9.10.23+dfsg-2.1ubuntu11_amd64.deb Size: 14416 MD5sum: db203c6a1d6146fac446347432f79fa5 SHA1: 29f4e48754a83d7456a69e34c346331983475250 SHA256: e07dd47520e8507c90954cac2cfeeb59480f207e5d41c5ab91219bbb073d7505 Homepage: https://www.imagemagick.org/ Description-en: image manipulation programs – binaries ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. All manipulations can be achieved through shell commands as well as through an X11 graphical interface (display).
This package include links to channel depth specific binaries and manual pages.
This is a dummy package. You can safely purge or remove it. Task: ubuntustudio-video, ubuntustudio-publishing, ubuntustudio-graphics
There are three methods to install imagemagick
on Ubuntu 20.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 imagemagick Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install imagemagick
using apt-get
by running the following command:
sudo apt-get -y install imagemagick
Install imagemagick Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install imagemagick
using apt
by running the following command:
sudo apt -y install imagemagick
Install imagemagick 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 imagemagick
using aptitude
by running the following command:
sudo aptitude -y install imagemagick
How To Uninstall imagemagick on Ubuntu 20.04
To uninstall only the imagemagick
package we can use the following command:
sudo apt-get remove imagemagick
Uninstall imagemagick And Its Dependencies
To uninstall imagemagick
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove imagemagick
Remove imagemagick Configurations and Data
To remove imagemagick
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge imagemagick
Remove imagemagick configuration, data, and all of its dependencies
We can use the following command to remove imagemagick
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge imagemagick
References
Summary
In this tutorial we learn how to install imagemagick
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.