Jaco
New Pleskian
Hello,
I found this on github.
I edited it to my centos version and a few more things and installed a total of 15 minutes on the server.
Its working Perfect!!
Have a nice day everyone.
Greetings
Jaco
yum -y install bzip2-devel libtiff-devel giflib-devel ghostscript-devel libwmf-devel jasper-devel libtool-ltdl-devel libXext-devel libXt-devel librsvg2-devel OpenEXR-devel libwebp-devel lcms2-devel
rpm -ivh http://vault.centos.org/7.7.1908/os/Source/SPackages/ImageMagick-6.7.8.9-18.el7.src.rpm
sed -i '/BuildRequires:\tghostscript-devel/a BuildRequires:\tlibwebp-devel' /root/rpmbuild/SPECS/ImageMagick.spec
sed -i '/Requires: pkgconfig/a Requires: libwebp' /root/rpmbuild/SPECS/ImageMagick.spec
rpmbuild -ba /root/rpmbuild/SPECS/ImageMagick.spec
# actual install
rpm -Uvh --force /root/rpmbuild/RPMS/x86_64/ImageMagick-6.7.8.9-18.el7.x86_64.rpm
# if you to disable updates from CentOS repository
yum-config-manager --save --setopt=updates.exclude=ImageMagick*;
# verify WebP support via:
identify -list format
I found this on github.
I edited it to my centos version and a few more things and installed a total of 15 minutes on the server.
Its working Perfect!!
Have a nice day everyone.
Greetings
Jaco
yum -y install bzip2-devel libtiff-devel giflib-devel ghostscript-devel libwmf-devel jasper-devel libtool-ltdl-devel libXext-devel libXt-devel librsvg2-devel OpenEXR-devel libwebp-devel lcms2-devel
rpm -ivh http://vault.centos.org/7.7.1908/os/Source/SPackages/ImageMagick-6.7.8.9-18.el7.src.rpm
sed -i '/BuildRequires:\tghostscript-devel/a BuildRequires:\tlibwebp-devel' /root/rpmbuild/SPECS/ImageMagick.spec
sed -i '/Requires: pkgconfig/a Requires: libwebp' /root/rpmbuild/SPECS/ImageMagick.spec
rpmbuild -ba /root/rpmbuild/SPECS/ImageMagick.spec
# actual install
rpm -Uvh --force /root/rpmbuild/RPMS/x86_64/ImageMagick-6.7.8.9-18.el7.x86_64.rpm
# if you to disable updates from CentOS repository
yum-config-manager --save --setopt=updates.exclude=ImageMagick*;
# verify WebP support via:
identify -list format
Attachments
Last edited: