Redhat Enterprise Linux (RHEL) install ImageMagick RPM for manipulating images

h‮//:sptt‬www.lautturi.com
Redhat Enterprise Linux (RHEL) install ImageMagick RPM for manipulating images

To install ImageMagick on a Red Hat Enterprise Linux (RHEL) system, you can use the rpm package manager to install the ImageMagick package from the Red Hat Enterprise Linux repositories or from a third-party repository.

Here are the steps to install ImageMagick using the rpm package manager:

  1. Install the rpm-build package. This package is required to build and install RPM packages. You can install it by running the following command:
sudo yum install rpm-build
  1. Download the ImageMagick source RPM package from the Red Hat Enterprise Linux repositories or from a third-party repository. You can do this by using the wget command to download the .src.rpm file from the URL of the repository. For example:
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/i/ImageMagick-7.0.9.3-3.el7.src.rpm
  1. Install the ImageMagick source RPM package. You can do this by running the following command:
sudo rpm -ivh ImageMagick-7.0.9.3-3.el7.src.rpm

This will extract the source code for ImageMagick and create a rpmbuild directory in your home directory.

  1. Build the ImageMagick RPM package. You can do this by running the following command:
rpmbuild -ba /root/rpmbuild/SPECS/ImageMagick.spec

This will build the ImageMagick RPM package and place it in the /root/rpmbuild/RPMS directory.

  1. Install the ImageMagick RPM package. You can do this by running the following command:
sudo rpm -ivh /root/rpmbuild/RPMS/x86_64/ImageMagick-7.0.9.3-3.el7.x86_64.rpm

This will install the ImageMagick RPM package and all of its dependencies.

You can find more information about using the rpm command and its options in the Red Hat Enterprise Linux documentation or by running the rpm --help command.

You can find more information about using ImageMagick on Red Hat Enterprise Linux systems in the ImageMagick documentation or by searching online.

Created Time:2017-10-30 14:27:15  Author:lautturi