Newest apt package is 6.3.7 but has issues with png resizing.
Best Answer
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.
Are you sure ImageMagick supports Illustrator files? That's a proprietary format that isn't supported by any programs outside of the the Adobe family AFAIK. I would be very surprised if ImageMagick supported it. It's also not listed on the ImageMagic supported formats page.
Try saving as a PDF, SVG, or any of the supported formats before you pass it to ImageMagick.
Edit:
There appears to be a way to read/manipulate AI files using ImageMagick, but this comes with the proviso that the AI file must be saved with PDF compatibility. If not, it will not work, as ImageMagick by default is configured to read AI files using its PDF coder. Though that isn't to say that someone can't write a custom AI coder for it. However, I've yet to see one and it would be difficult given that AI itself is a closed format (even the latest version of QuarkXpress has imperfect AI support).
If you've added the sid source repository to your sources list, you might also consider using apt-get build-dep to install the build-time dependencies, and apt-get source to download and unpack the sources themselves.
Best Answer
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.