Installing ImageMagick from Source on Ubuntu 8.04
来源:互联网 发布:俊知集团谢志坚 编辑:程序博客网 时间:2024/05/27 20:03
Here's a quick and dirty on installing the latest (version 6.5.0-0 as of this writing) ImageMagick on Ubuntu 8.04.
Start by removing any old versions previously installed via apt-get:
sudo apt-get remove imagemagick
Then update apt-get and install some supporting packages:
sudo apt-get updatesudo apt-get install libperl-dev gcc libjpeg62-dev libbz2-dev libtiff4-dev libwmf-dev libz-dev libpng12-dev libx11-dev libxt-dev libxext-dev libxml2-dev libfreetype6-dev liblcms1-dev libexif-dev perl libjasper-dev libltdl3-dev graphviz gs-gpl pkg-config
Use wget to grab the source from ImageMagick.org.
Once the source is downloaded, uncompress it:
tar -xzf ImageMagick.tar.gz
Now configure and make:
cd ImageMagick-6.5.0-0./configuresudo makesudo make install
To avoid an error such as:
convert: error while loading shared libraries: libMagickCore.so.2: cannot open shared object file: No such file or directory
Add the following line to ~/.bashrc:
export LD_LIBRARY_PATH=/usr/local/lib
Update: If you still get an error like the one above, try running ldconfig:
sudo ldconfig
You can confirm the install and available formats with:
identify -list format
- Installing ImageMagick from Source on Ubuntu 8.04
- Installing Ruby 1.8.6 from Source on Ubuntu
- Installing from Source Under Ubuntu
- Installing Code::Blocks from source on Linux
- Installing Xen on CentOS 6 from source
- Installing MySQL from Source on Windows
- Installing on Raspberry PI/Raspbian from source
- ubuntu / Installing MySQL 5.6.x from source
- ROS Installing from source
- Installing vsftp on ubuntu 8.04
- Installing Aptana on Ubuntu 8.04
- Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositories
- Compile Bitcoin Core from Source on Ubuntu
- install ImageMagick on Ubuntu
- Installing Python 2.6 on Ubuntu 8.04
- Installing MapServer on Ubuntu
- installing chkconfig on ubuntu
- Installing Jenkins on Ubuntu
- 数据库优化方法 (一)
- Android 动画
- C#获取文件详细备注信息,MP3的Tag等等
- 第一天
- 关于用js(jquery)遍历由php传递过来的json数据的方法介绍
- Installing ImageMagick from Source on Ubuntu 8.04
- JS中match、replace方法中使用正则表达式
- 命令行访问iphone的几种方式
- there are no ebuilds built with USE flags to satisfy ">=sys-fs/udev-145[extras]
- javaScript 点击button弹出不同窗口
- 在中断模式下检查和修改数据 .
- 关于JavaScript常用的方法(字符篇)
- MS SQL基础:注释符、运算符与通配符
- 数据库优化方法(二)