Why does installing Calibre also install Imagemagik

Hi guys

I uninstalled Imagemagik from my daughters netbook in Synaptic and i noticed it listed Calibre as one of the packages to be uninstalled along with it but I went along with it because I wanted rid of Imagemagik, after uninstalling sure enough Calibre was gone so I went back into Synaptic and tried to reinstall Calibre and when I mark for installation and apply it’s listing Imagemagik as one of the packeges to be installed again.

I tried installing Calibre from the terminal but as you can see it wants to install Imagemagik

angie@angies-netbook ~ $ sudo apt-get install calibre
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  calibre-bin imagemagick imagemagick-common libmagickcore5
  libmagickcore5-extra libmagickwand5
Suggested packages:
  imagemagick-doc autotrace enscript ffmpeg gimp gnuplot grads hp2xx html2ps
  libwmf-bin povray radiance texlive-base-bin transfig ufraw-batch
The following NEW packages will be installed
  calibre calibre-bin imagemagick imagemagick-common libmagickcore5
  libmagickcore5-extra libmagickwand5
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/19.7 MB of archives.
After this operation, 43.7 MB of additional disk space will be used.
Do you want to continue [Y/n]?

Any ideas how I can install calibre without Imagemagik ?

Many thanks

Graeme

I’m guessing you can’t - it’s a dependency. Calibre won’t work without Imagemagik.

Check this page, about half way down, for a dependency list - (http://calibre-ebook.com/download_linux)

Hi chemicalfan

Thanks for that

I see what you mean although it seems a bit strange to me that an ebook reader needs an image editor to work so it looks like I either do without Calibre or put up with Imagemagik :slight_smile:

Many thanks

Graeme

Calibre (or any ebook reader) will need basic image editing capabilities such as resize, convert and possibly rotate.

Rather than build these into Calibre it looks like they chose to use Imagemagik to do it … so set it as a dependency.

Theoretically you can modify the .deb (prior to installing) to remove the dependency, but it would certainly break Calibre as far as working with pictures goes, and may break it altogether.

Just because it’s installed, doesn’t me you have to use it. Personally, I ignore almost all the dependencies on my computer - if I want an app, I’ll have it regardless! If I was that anal about it, I’d run Slack! :wink:

Thanks for the explanation

The reason I wanted to remove Imagemagik is because it’s set itself as the default viewer and I don’t like Image magik which is an overkill for viewing images anyway, so rather than try to figure how to change the default viewer I just uninstalled it

Graeme

Changing the default application for a file type …

right click on say a .jpg file, select “Open with” … navigate to Graphics > Image Viewer … make sure to tick “Set selected application as default action for this file type” … Click “OK

From now on, jpg’s will open in mirage

do same for gif, bmp, png, etc.


your other option would be to manually add the associations in:-

~/.local/share/applications/mimeapps.list

I’m guessing you can’t - it’s a dependency. Calibre won’t work without Imagemagik.