30

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

45

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

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
15

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
-1

For the installation in Fedora 27 from the terminal:

sudo yum install ImageMagick -y

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.