Skip to content

Instantly share code, notes, and snippets.

@nickferrando
Last active May 9, 2020 13:03
Show Gist options
  • Select an option

  • Save nickferrando/c6e5a45c14e1a3f61c151f6f1f894719 to your computer and use it in GitHub Desktop.

Select an option

Save nickferrando/c6e5a45c14e1a3f61c151f6f1f894719 to your computer and use it in GitHub Desktop.

Revisions

  1. nickferrando revised this gist May 9, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions imagemagick-ubuntu18.txt
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,7 @@ sudo apt-get install libpng-dev

    #Zlib
    sudo apt-get install zlib1g-dev

    #Uncompress

    tar xvzf libwebp-1.1.0.tar.gz
  2. nickferrando revised this gist May 9, 2020. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions imagemagick-ubuntu18.txt
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,11 @@ sudo apt-get install build-essential

    wget http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz

    #LibPng
    sudo apt-get install libpng-dev

    #Zlib
    sudo apt-get install zlib1g-dev
    #Uncompress

    tar xvzf libwebp-1.1.0.tar.gz
  3. nickferrando revised this gist May 9, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion imagemagick-ubuntu18.txt
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ sudo apt upgrade -y
    sudo reboot
    sudo apt --purge autoremove

    #Build-Essential in order to configure and make the final Install
    #Install Build-Essential in order to configure and make the final Install

    sudo apt-get install build-essential

  4. nickferrando revised this gist May 9, 2020. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions imagemagick-ubuntu18.txt
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,10 @@ sudo apt upgrade -y
    sudo reboot
    sudo apt --purge autoremove

    #Build-Essential in order to configure and make the final Install

    sudo apt-get install build-essential

    #LibwebP 1.1.0

    wget http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz
    @@ -28,10 +32,6 @@ make

    sudo make install

    #Build-Essential in order to configure and make the final Install

    sudo apt-get install build-essential

    #libjpg62-dev required in order to work with basic JPG files

    sudo apt-get install -y libjpeg62-dev
  5. nickferrando revised this gist May 9, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion imagemagick-ubuntu18.txt
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ sudo apt --purge autoremove

    wget http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz

    #Unizp
    #Uncompress

    tar xvzf libwebp-1.1.0.tar.gz

  6. nickferrando revised this gist May 9, 2020. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions imagemagick-ubuntu18.txt
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,10 @@ sudo apt --purge autoremove

    wget http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz

    #Unizp

    tar xvzf libwebp-1.1.0.tar.gz

    #Configure LibWebP

    ./configure --prefix=/usr \
  7. nickferrando revised this gist May 9, 2020. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion imagemagick-ubuntu18.txt
    Original file line number Diff line number Diff line change
    @@ -24,7 +24,6 @@ make

    sudo make install


    #Build-Essential in order to configure and make the final Install

    sudo apt-get install build-essential
  8. nickferrando created this gist May 9, 2020.
    66 changes: 66 additions & 0 deletions imagemagick-ubuntu18.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,66 @@
    #Install ImageMagick on Ubuntu 18.04 LTS

    sudo apt update
    sudo apt upgrade -y
    sudo reboot
    sudo apt --purge autoremove

    #LibwebP 1.1.0

    wget http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz

    #Configure LibWebP

    ./configure --prefix=/usr \
    --enable-libwebpmux \
    --enable-libwebpdemux \
    --enable-libwebpdecoder \
    --enable-libwebpextras \
    --enable-swap-16bit-csp \
    --disable-static &&
    make

    #Install LibWebP

    sudo make install


    #Build-Essential in order to configure and make the final Install

    sudo apt-get install build-essential

    #libjpg62-dev required in order to work with basic JPG files

    sudo apt-get install -y libjpeg62-dev

    #libtiff-dev is required in order to work with TIFF file format

    sudo apt-get install -y libtiff-dev

    #Download ImageMagick

    wget https://www.imagemagick.org/download/ImageMagick.tar.gz

    #Untar Imagemagick

    tar xvzf ImageMagick.tar.gz

    #Access the working directory

    cd ImageMagick/[version_number]

    #Configure and make sure to disable the "shared" option

    ./configure --disable-shared

    #Make

    sudo make

    #Install

    sudo make install

    #Final Check

    sudo make check