How do I install ImageMagick 6.5.6 on Debian Lenny?

10,339

Solution 1

This may belong on SuperUser, but assuming you mean "6.5.6 or later"...

Ensure that a sources entry for Squeeze (Testing) exists in /etc/apt/sources.list:

deb-src http://http.us.debian.org/debian squeeze main contrib non-free

Run apt-get update (as root)

Run apt-get build-dep imagemagick (as root, this installs the build-dependencies)

Change to a directory you'll be using for building.

For the next part you can be a regular user.

Run apt-get source imagemagick (should automatically pick up the version from Testing, currently 6.6.0)

This will download and unpack the latest source package. CD into the directory created that contains the unpacked source (imagemagick-6.6.0.4/ as of this writing).

Run fakeroot debian/rules binary and if all goes well, cd ..

In that directory will be a set of imagemagick debs that have only build-dependencies from Lenny (i.e. you just backported imagemagick for your environment).

As root again, run dpkg -i *.deb.

Enjoy your new packages, but remember to check for security releases periodically and rebuild as needed, as you are now outside of Debian's security release framework. You may want to consider subscribing to the debian-security-announce mailing list.

Solution 2

You can install selected packages from the testing repo.

The current testing is Debian Squeeze, which currently has ImageMagick 6.6.

Share:
10,339

Related videos on Youtube

user8422
Author by

user8422

Updated on September 17, 2022

Comments

  • user8422
    user8422 almost 2 years

    Newest apt package is 6.3.7 but has issues with png resizing.

  • Zed
    Zed about 14 years
    Bad idea. Imagemagick from Testing is going to pull a huge number of dependencies, starting with libc6. If you're going to go that route, just go all the way and upgrade the entire system at once.