ImageMagick? & RMagick Installation Guide in VM
来源:互联网 发布:网络活动地板 编辑:程序博客网 时间:2024/06/01 19:13
ImageMagick? & RMagick Installation Guide
Install the required libraries (libjpeg, libpng, libtiff, zlib, freetype and ghostscript)
1. Download these library files
libjpeg-6b-37.i386.rpm
libjpeg-devel-6b-37.i386.rpm
libpng-1.2.10-7.1.e15_0.1.i386.rpm,
libpng-devel-1.2.10-7.1.e15_0.1.i386.rpm,
libtiff-3.8.2-7.e15.i386.rpm,
libtiff-devel-3.8.2-7.e15.i386.rpm,
zlib-1.2.3-3.i386.rpm,
zlib-devel-1.2.3-3.i386.rpm,
freetype-2.2.1-19.e15.i386.rpm,
freetype-demos-2.2.1-19.e15.i386.rpm,
freetype-devel-2.2.1-19.e15.i386.rpm,
ghostscript-fonts-5.50-13.1.1.noarch.rpm,
ghostscript-8.15.2-9.1.e15-1.1.i386.rpm
2. Install these libraries
Shell> su //change to root user, you need to type root password
Shell> groupadd laxino_rnd //create a group laxino_rnd
Shell> useradd –g laxino_rnd laxino //create a laxino user
Shell> mkdir /opt/third-party
Shell> chown –R laxino:laxino_rnd /opt/third-party
Shell> cd /opt/third-party
Shell> rpm –ivh /PATH/TO/libjpeg-6b-37.i386.rpm
Shell> rpm –ivh /PATH/TO/libjpeg-devel-6b-37.i386.rpm
Shell> rpm –ivh /PATH/TO/libpng-1.2.10-7.1.e15_0.1.i386.rpm
Shell> rpm –ivh /PATH/TO/libpng-devel-1.2.10-7.1.e15_0.1.i386.rpm
Shell> rpm –ivh /PATH/TO/libtiff-3.8.2-7.e15.i386.rpm
Shell> rpm –ivh /PATH/TO/libtiff-devel-3.8.2-7.e15.i386.rpm
Shell> rpm –ivh /PATH/TO/zlib-1.2.3-3.i386.rpm
Shell> rpm –ivh /PATH/TO/zlb-devel-1.2.3-3.i386.rpm
Shell> rpm –ivh /PATH/TO/freetype-2.2.1-19.e15.i386.rpm
Shell> rpm –ivh /PATH/TO/freetype-demos-2.2.1-19.e15.i386.rpm
Shell> rpm –ivh /PATH/TO/freetype-devel-2.2.1-19.e15.i386.rpm
Shell> rpm –i /PATH/TO/ghostscript-fonts-5.50-13.1.1.noarch.rpm --nodeps
Shell> rpm –i /PATH/TO/ghostscript-8.15.2-9.1.e15-1.1.i386.rpm --nodeps
Download and set up ghostscript-fonts-std-8.11.tar.gz
Shell> su
Shell> cd /tmp/
Shell> wget http://downloads.sourceforge.net/sourceforge/gs-fonts/ghostscript-fonts-std-8.11.tar.gz?use_mirror=nchc
Shell> tar -xzvf ghostscript-fonts-std-8.11.tar.gz
Shell> cp fonts/* /usr/share/fonts/default/ghostscript/
Shell> cd /usr/share/ghostscript
Shell> ln -s /usr/share/fonts/default/ghostscript fonts
Install ImageMagick? &RMagick
Shell> su - laxino Shell> cd /opt/deploy Shell> bin/configure-env YOUR_PROJECT_FOLDER laxino laxino
Choose 4, and then Choose 2
Reactive your environment
Shell> cd /opt/deploy/env/ YOUR_PROJECT_FOLDER
Shell> source .envrc
- ImageMagick? & RMagick Installation Guide in VM
- This installation of RMagick was configured with ImageMagick 6.5.5 but ImageMagick 6.5.7-8 is in use
- Oracle VM (3.0.1) Installation Guide
- ImageMagick Advanced Windows Installation
- imagemagick and zbar installation
- xVM installation guide
- Ubuntu & Mint Installation Guide
- Installation Guide For PF_RING
- Boost installation guide
- 【翻译】(2)Installation Guide
- Apache Axis2 Installation Guide
- CDH3 Installation Guide
- Installation Guide 安装指南
- OSSEC installation guide
- Beaglebone Installation Guide
- icescrum installation guide
- RHEL Installation Guide
- 10018---SolrFacetSearch - Installation Guide
- dwr 入门例子
- Reportview 动态绑定数据
- 关于游标的初级使用方法
- Error: Node instance "xxx" instantiates undefined entity "xxx"
- Context 详解
- ImageMagick? & RMagick Installation Guide in VM
- 超星电子图书的阅读技巧提示
- fpga编译问题解决
- 关于“the project cannot be built”问题的解决
- XCELSIUS例子---柱形图部件的使用
- JavaScript中取到form的值的方法
- 《大话设计模式》之--第15章 就不能不换DB吗?----抽象工厂模式
- SQL数据库分页
- Set up Shared Screen on Linux