In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to install the picture editing program ImageMagick in the Ubuntu system". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to install the picture editor ImageMagick in the Ubuntu system".
1. Download ImageMagick
Http://www.imagemagick.org/download/ downloads ImageMagick-6.8.5-10.tar.gz, and installation begins when the download is complete.
The code is as follows:
Cd. / Downloads
Tar xzvf ImageMagick-6.8.5-10.tar.gz
two。 Install a third-party picture library
ImageMagick needs to rely on third-party picture libraries such as jpeg,png when processing pictures.
Download address of third-party picture library: http://www.imagemagick.org/download/delegates/ download jpegsrc.v9.tar.gz
The code is as follows:
Gunzip jepgsrc.v9.tar.gz
Tar-xvf jpegsrc.v9.tar
Cd jpeg-9
Sudo. / configure
Sudo make
Sudo make test
Sudo make-n install
3. Install ImageMagick
The code is as follows:
Cd ImageMagick-6.8.5.10
Sudo. / configure
Sudo make
Sudo make install
After the installation is successful, use the command convert-version to see if the installation is successful.
The solution method of 4.error while loading shared libraries
When running the program, if you encounter an error like the following:
. / tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory
That means the system doesn't know which directory the xxx.so is in.
At this point, add the directory where xxx.so is located in / etc/ld.so.conf.
Generally speaking, there are many so files in the / usr/local/lib directory, so adding the line / usr/local/lib to / etc/ld.so.conf can solve this problem.
After the / etc/ld.so.conf is archived, it will not take effect until it is updated by "/ sbin/ldconfig-v".
Thank you for reading, the above is the content of "how to install the picture editor program ImageMagick in the Ubuntu system". After the study of this article, I believe you have a deeper understanding of how to install the picture editor program ImageMagick in the Ubuntu system, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.