Installation example: how to install ImageMagick
The installation methods of ImageMagick include rpm and source. The latest version is ImageMagick-6.5.5. Download: http://www.imagemagick.org from this URL
Installation steps:
1. SSH connection to Linux Server
2. Place the downloaded installation file in the appropriate folder. For example, CD/usr/local/src. Or download it directly on the server.
3. decompress the download command:
Tar-zxvf ImageMagick-6.5.5-7.tar.gz
5. Enter the decompressed folder command:
CD ImageMagick-6.3.5-7
6. Configure configuration command:
./Configure
Note:
Run./configure -- help to check the configuration parameters. Set the parameters as needed.
Generally, image processing must support several common image formats: JPEG, PNG, and GIF.
Check the configuration result. If yes, no means not.
JPEG V1 -- With-JPEG = Yes
PNG -- With-PNG = Yes
Zlib -- With-zlib = Yes
In case of no, run the following command to check whether the corresponding library is installed.
Rpm-Qa | grep JPEG // zlib for zlib and PNG for libpng
Execution result: libjpeg-6b-33
The execution result is indeed a jpeg library installed, but why is it not recognized?
Finally, I checked it online for half a day and found that the libjpeg-devel library must be installed.
Some systems may have been installed by default, so they may not be concerned.
Download the libjpeg-devel library RPM Installation File and install it online.
After the installation is complete, configure ImageMagick again. The configuration result is "yes.
7. Compile the command:
Make
8. Installation command:
Install
The ImageMagick installation is complete.