Author Topic: Why does installing Calibre also install Imagemagik  (Read 4729 times)

0 Members and 1 Guest are viewing this topic.

Emegra

  • Guest
Why does installing Calibre also install Imagemagik
« on: March 07, 2014, 06:55:29 am »
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

Code: [Select]
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




« Last Edit: March 07, 2014, 07:31:02 am by Emegra »

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 1166
  • Karma: 36
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Why does installing Calibre also install Imagemagik
« Reply #1 on: March 07, 2014, 09:07:04 am »
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)

Emegra

  • Guest
Re: Why does installing Calibre also install Imagemagik
« Reply #2 on: March 07, 2014, 10:47:36 am »
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 :)



Many thanks



Graeme
« Last Edit: March 07, 2014, 10:52:17 am by Emegra »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17320
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Why does installing Calibre also install Imagemagik
« Reply #3 on: March 07, 2014, 11:47:42 am »
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.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 1166
  • Karma: 36
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Why does installing Calibre also install Imagemagik
« Reply #4 on: March 07, 2014, 12:32:09 pm »
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!   ;)

Emegra

  • Guest
Re: Why does installing Calibre also install Imagemagik
« Reply #5 on: March 07, 2014, 12:35:16 pm »
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
« Last Edit: March 07, 2014, 03:51:38 pm by Emegra »

Online Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17320
  • Karma: 439
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Why does installing Calibre also install Imagemagik
« Reply #6 on: March 07, 2014, 01:56:38 pm »
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
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal