switch from GraphicsMagick to ImageMagick

361 views
Skip to first unread message

mallej

unread,
Oct 25, 2011, 9:36:06 AM10/25/11
to ResourceSpace
Hello,
how can i tell RS to use ImageMagick instead of GraphicsMagick?
I think both is installed on my Ubuntu 10.04.

Tom Gleason

unread,
Oct 25, 2011, 12:04:04 PM10/25/11
to resour...@googlegroups.com
I think they are mutually exclusive as packages. Installing one via the package manager should uninstall the other, because on Ubuntu, they are both set up at /usr/bin and have the same binary filename: convert

[your $imagemagick_path]/convert --version

hopefully, on Ubuntu, you're using
$imagemagick_path="/usr/bin";

unless you have a custom installation of either, in which case you'd probably know which one you're using already.


--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To post to this group, send email to resour...@googlegroups.com.
To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.




--
Tom Gleason

JohnBB

unread,
Oct 25, 2011, 5:46:22 PM10/25/11
to ResourceSpace
Hi Mallej

I came across this problem a long time ago. Basically, if your build
of Ubuntu has IM preinstalled, or if you install it first and you then
install GM, it will overwrite IM and you will not be able to use IM at
all. The default installation of RS (as in the wiki -
http://wiki.resourcespace.org/index.php/Installing_on_Ubuntu_Linux -
installs GM, so this is probably where yours was installed.

The quick and dirty answer is to reinstall IM, but this may leave some
GM code which may cause problems - I would advise:
uninstall GM and the compatibility code
sudo apt-get remove graphicsmagick graphicsmagick-imagemagick-compat

and IM
sudo apt-get remove imagemagick

and reinstall IM
sudo apt-get install imagemagick

If you have any problems with this, please get back to us.

Regards
John

Tom Gleason

unread,
Oct 25, 2011, 5:57:57 PM10/25/11
to resour...@googlegroups.com
just
sudo apt-get install imagemagick
which should remove the graphicsmagick-imagemagick-compat package automatically on Ubuntu.

--
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To post to this group, send email to resour...@googlegroups.com.
To unsubscribe from this group, send email to resourcespac...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/resourcespace?hl=en.




--
Tom Gleason

mallej

unread,
Oct 26, 2011, 11:05:25 AM10/26/11
to ResourceSpace
thanks a lot,

just installing IM again was right.

But the next problem was that for Ubuntu 10.04 you only get an older
version of IM from the default repository.
I found a more actual version here: https://launchpad.net/~r0lf/+archive/stable

for me it was important because the older one had problem with .psb
files.

JohnBB

unread,
Oct 26, 2011, 7:36:36 PM10/26/11
to ResourceSpace
Ubuntu does not do leading-edge software, and 10.04 is the 'long term
support' version - basically the idea is that anything in 10.04 is
very stable and tested, and they will only install updates if they fix
a serious problem. Installing a later version of a package may
introduce problems (very unlikely, but this level of stability is what
most people use Ubuntu for)

10.04 is now 2 years old, so to get the latest releases of any
packages you need to update to 11.10 - Obscure Ocelot or whatever they
have called it. 11.10 has version 8:6.6.0.4 of IM where Lucid (10.04)
has 7:6.5.7.8 - don't know which version you need, but probably the
best long term solution is to upgrade your server to 11.10, or wait
till 12.0x which should be another Long Term Support version.

Regards
John

mallej

unread,
Oct 27, 2011, 4:11:46 AM10/27/11
to ResourceSpace
yes, thanks.
i learned that now.

this was my first Ubuntu Server and i thought it was a good idea to
build my system on a LTS version.
but, the problem was the need to work with .psb files. And IM 5.7.8
could´t do that.
Reply all
Reply to author
Forward
0 new messages