Created
June 23, 2022 14:21
-
-
Save sadawie/a9d55494cba4f1589a535580335eb23c to your computer and use it in GitHub Desktop.
Install ImageMagick on Amazon Linux2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://github.com/ImageMagick/ImageMagick/archive/7.1.0-39.tar.gz -O ImageMagick.tar.gz | |
mkdir ImageMagick | |
tar -vxf ImageMagick.tar.gz --strip-components 1 -C /tmp/ImageMagick | |
sudo yum -y install libpng-devel libjpeg-devel libtiff-devel | |
cd ImageMagick | |
./configure --without-x | |
make | |
sudo make install | |
sudo ldconfig /usr/local/lib | |
sudo ln -s /usr/local/bin/magick /usr/bin/magick |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment