General methods for installing software in Linux

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.