Skip to content

Instantly share code, notes, and snippets.

View violethair's full-sized avatar
🐢
To don't need to be fast. Slowly but surely

Violet Hair violethair

🐢
To don't need to be fast. Slowly but surely
View GitHub Profile
@violethair
violethair / install-graphicsmagic.sh
Last active February 20, 2020 08:25
Install GraphicsMagick from command-line on Ubuntu
#!/bin/sh
# Install pre-requisites
apt-get install build-essential software-properties-common libjpeg-dev libtiff5-dev libpng-dev --fix-missing
# Download from SourceForge
wget --no-cookies --timestamping https://excellmedia.dl.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.34/GraphicsMagick-1.3.34.tar.gz --directory /tmp
# Decompress package into /opt/graphicsmagick
if [ ! -d "/opt/graphicsmagick/src" ]; then