Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install the image processing service ImageMagick under Linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install the image processing service ImageMagick under Linux. It is very detailed and has a certain reference value. Interested friends must finish reading it!

ImageMagick is free software available either as a ready-to-use binary distribution or as source code that you can use, copy, modify, and distribute in open and proprietary applications. It is distributed under a derived Apache 2.0 license.

1. Download the source file (http://downloads.jmagick.org/6.4.0/) of ImageMagick and JMagick: ImageMagick-6.4.0.-0tar.gz

2. Decompress and install ImageMagick:

# tar xzvf ImageMagick-6.4.0-0.tar.gz # cd ImageMagick-6.4.0 #. / configure-- enable-shared-- without-perl # make # make install # make check

After the installation is complete, run the convert-version command to check, and you should see:

Convert-version

Version: ImageMagick 6.4.008 http://www.imagemagick.org 31max 10 Q16

Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC

Of course, there may also be the following errors

Convert: error while loading shared libraries: libMagickCore.so.1: cannot open shared object file: No such file or directory

At this point, you need to do part 3 to run.

Convert is installed under / usr/local/bin by default, and the above command may indicate that the convert command cannot be found. Then you can create a link to / usr/local/bin/convert under / usr/bin:

# cd / usr/bin# ln-s / usr/local/bin/convert convert# convet-version

3. Modify the configuration file: add to / etc/profile:

LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Export LD_LIBRARY_PATH

Add to / etc/ld.so.conf:

/ usr/local/lib

You still need to run "/ sbin/ldconfig-v" to update it before it will take effect.

The above is all the contents of the article "how to install the image processing service ImageMagick under Linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report