From b44d94fc95c864a2cd1415f363847fdb809acf98 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Wed, 10 Jul 2024 09:24:16 -0700 Subject: [PATCH] Install ImageMagick 7 on Ubuntu --- setup_ubuntu.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setup_ubuntu.sh b/setup_ubuntu.sh index 39f8151..b416bfa 100755 --- a/setup_ubuntu.sh +++ b/setup_ubuntu.sh @@ -7,7 +7,6 @@ # * clang-format (to format C++ code snippets) # * cmake (for building C++ plot generators) # * dvipng (to convert DVIs to PNGs) -# * imagemagick (to compress JPEGs) # * inkscape (to convert SVGs to PDFs) # * latexmk # * python3 >= 3.6 (for generating plots) @@ -29,7 +28,6 @@ sudo apt-get install -y \ clang-format \ cmake \ dvipng \ - imagemagick \ inkscape \ latexmk \ python3 \ @@ -42,6 +40,13 @@ sudo apt-get install -y \ texlive-latex-extra \ texlive-xetex +# Install ImageMagick 7 (to compress JPEGs) +sudo apt-get remove imagemagick +git clone https://github.com/SoftCreatR/imei +cd imei +chmod +x imei.sh +sudo ./imei.sh + # The Ubuntu 22.04 packages are too old # Python packages # * black (to format Python source code)