diff --git a/setup_ubuntu.sh b/setup_ubuntu.sh index 39f8151..5584d6d 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 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)