Skip to content

Use ImageMagick 7 instead of version 6 #780

Answered by mlocati
ariaieboy asked this question in Q&A
Discussion options

You must be logged in to vote

If you manually install imagemagick, you have to tell the apt system thay it must not install the imagemagick defauly system libraries.

You can do something like this:

#!/bin/bash

# Setup a sane environment
set -o errexit
set -o nounset

# Update apt packages
apt-get update

# Install apt package required by imei
apt-get install -qy cmake libltdl-dev nasm

# Compile imagemagick with imei
curl -sSL https://dist.1-2.dev/imei.sh -o - | bash -s

# Install apt package required to mark apt packages as already installed
apt-get install -qy equivs

# Mark apt packages as already installed
markPackageAsIntstalled() {
    # see https://unix.stackexchange.com/a/583756
    PKGNAME="$1"
    MPAI_TMP="$(

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ariaieboy
Comment options

Comment options

You must be logged in to vote
1 reply
@ariaieboy
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mlocati
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants