34

My application needs to call 'convert' - http://linux.about.com/od/commands/l/blcmdl1_convert.htm

But its not present on my redhat system. How / what do I install?

4 Answers 4

47

convert is part of the package ImageMagick; try sudo yum install ImageMagick (or other privilege escalation method as appropriate to your system).

23

To install convert try package manager. Convert is part of ImageMagick package, convert is one of utilities.

Under Debian is possible use

sudo dpkg --install imagemagick

or

sudo apt-get install imagemagick

It is about 419 MB of space.

2
  • The question was about a redhat system and not debian.
    – deagh
    Feb 3, 2015 at 16:08
  • I'm sorry for spam and missunderstand. To install convert under redhat is better use yum or rpm, I guess.
    – user3.1415
    Feb 5, 2015 at 14:34
19

Next time you need a command like this you can figure out what package to install by running something like yum whatprovides '*/convert'.

2
  • Heh, beat me to it!
    – Gaius
    Oct 26, 2010 at 12:08
  • 1
    does apt-get have something like this? (whatprovides)
    – Dannid
    Jan 25, 2016 at 20:34
-1

For the installation in Fedora 27 from the terminal:

sudo yum install ImageMagick -y

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .