# How to install ImageMagick 7 in Ubuntu for Development

**URL:** https://meta.discourse.org/t/how-to-install-imagemagick-7-in-ubuntu-for-development/94833
**Category:** Development
**Created:** [8월 15, 2018, 11:05오후 UTC](https://meta.discourse.org/t/how-to-install-imagemagick-7-in-ubuntu-for-development/94833 "2018-08-15T23:05:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [8월 15, 2018, 11:05오후 UTC](https://meta.discourse.org/t/how-to-install-imagemagick-7-in-ubuntu-for-development/94833/1 "2018-08-15T23:05:14Z")

</div>

In case anyone is devloping in Ubuntu, you can not get the correct version of ImageMagick from an apt repo at the moment.

This means a few integration tests will regularly fail on local.

To get version 7 we have a very simple script you can run which we maintain:

> <https://github.com/discourse/discourse_docker/blob/master/image/base/install-imagemagick>

Just download it and execute it.

```plaintext
wget https://raw.githubusercontent.com/discourse/discourse_docker/master/image/base/install-imagemagick
chmod +x install-imagemagick
sudo ./install-imagemagick

```

Alternatively, use our docker dev image which solves this problem quite nicely:

[https://github.com/discourse/discourse/tree/master/bin/docker](https://github.com/discourse/discourse/tree/master/bin/docker)
