03、安装 ImageMagick 接口04、安装 ImageMagick 开发包
- root:~# apt-get install libmagickwand-dev libmagickcore-dev
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- libgraphics-magick-perl libgraphicsmagick++1-dev libgraphicsmagick++3
- libgraphicsmagick1-dev libgraphicsmagick3
- Use 'apt-get autoremove' to remove them.
- The following extra packages will be installed:
- gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-rsvg-2.0 libcairo-gobject2
- libcairo-script-interpreter2 libcairo2-dev libdjvulibre-dev libelfg0
- libexpat1 libexpat1-dev libfontconfig1-dev libgdk-pixbuf2.0-dev
- libglib2.0-bin libglib2.0-dev libgraphviz-dev libilmbase-dev liblqr-1-0-dev
- liblzo2-2 libmagickcore5 libmagickcore5-extra libmagickwand5 libopenexr-dev
- libpcre3 libpcre3-dev libpcrecpp0 libpixman-1-0 libpixman-1-dev librsvg2-dev
- libxcb-render0-dev libxcb-shm0-dev libxdot4 libxrender-dev libxt-dev
- pkg-config x11proto-render-dev
- Suggested packages:
- libcairo2-doc libglib2.0-doc librsvg2-doc libxt-doc
- The following packages will be REMOVED:
- graphicsmagick-libmagick-dev-compat
- The following NEW packages will be installed:
- gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-rsvg-2.0 libcairo-gobject2
- libcairo-script-interpreter2 libcairo2-dev libdjvulibre-dev libelfg0
- libexpat1-dev libfontconfig1-dev libgdk-pixbuf2.0-dev libglib2.0-bin
- libglib2.0-dev libgraphviz-dev libilmbase-dev liblqr-1-0-dev liblzo2-2
- libmagickcore-dev libmagickwand-dev libopenexr-dev libpcre3-dev libpcrecpp0
- libpixman-1-dev librsvg2-dev libxcb-render0-dev libxcb-shm0-dev libxdot4
- libxrender-dev libxt-dev pkg-config x11proto-render-dev
- The following packages will be upgraded:
- libexpat1 libmagickcore5 libmagickcore5-extra libmagickwand5 libpcre3
- libpixman-1-0
- 6 upgraded, 31 newly installed, 1 to remove and 171 not upgraded.
- Need to get 10.4 MB of archives.
- After this operation, 41.2 MB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libpcre3 amd64 1:8.31-2ubuntu2.3 [144 kB]
- Get:2 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libexpat1 amd64 2.1.0-4ubuntu1.3 [71.1 kB]
- Get:3 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libcairo-gobject2 amd64 1.13.0~20140204-0ubuntu1.1 [17.2 kB]
- Get:4 http://mirrors.aliyun.com/ubuntu/ trusty-security/main liblzo2-2 amd64 2.06-1.2ubuntu1.1 [46.1 kB]
- Get:5 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libcairo-script-interpreter2 amd64 1.13.0~20140204-0ubuntu1.1 [53.2 kB]
- Get:6 http://mirrors.aliyun.com/ubuntu/ trusty/main libelfg0 amd64 0.8.13-5 [37.6 kB]
- Get:7 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libmagickwand5 amd64 8:6.7.7.10-6ubuntu3.1 [267 kB]
- Get:8 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libmagickcore5-extra amd64 8:6.7.7.10-6ubuntu3.1 [57.8 kB]
- Get:9 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libmagickcore5 amd64 8:6.7.7.10-6ubuntu3.1 [1,474 kB]
- Get:10 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libpcrecpp0 amd64 1:8.31-2ubuntu2.3 [14.5 kB]
- Get:11 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libpixman-1-0 amd64 0.30.2-2ubuntu1.1 [225 kB]
- Get:12 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main gir1.2-freedesktop amd64 1.40.0-1ubuntu0.2 [5,652 B]
- Get:13 http://mirrors.aliyun.com/ubuntu/ trusty-security/main gir1.2-gdkpixbuf-2.0 amd64 2.30.7-0ubuntu1.2 [7,964 B]
- Get:14 http://mirrors.aliyun.com/ubuntu/ trusty/main gir1.2-rsvg-2.0 amd64 2.40.2-1 [3,550 B]
- Get:15 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libexpat1-dev amd64 2.1.0-4ubuntu1.3 [115 kB]
- Get:16 http://mirrors.aliyun.com/ubuntu/ trusty/main pkg-config amd64 0.26-1ubuntu4 [40.9 kB]
- Get:17 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libfontconfig1-dev amd64 2.11.0-0ubuntu4.1 [664 kB]
- Get:18 http://mirrors.aliyun.com/ubuntu/ trusty/main x11proto-render-dev all 2:0.11.1-2 [20.1 kB]
- Get:19 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libxrender-dev amd64 1:0.9.8-1build0.14.04.1 [23.8 kB]
- Get:20 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libpixman-1-dev amd64 0.30.2-2ubuntu1.1 [240 kB]
- Get:21 http://mirrors.aliyun.com/ubuntu/ trusty/main libxcb-render0-dev amd64 1.10-2ubuntu1 [16.7 kB]
- Get:22 http://mirrors.aliyun.com/ubuntu/ trusty/main libxcb-shm0-dev amd64 1.10-2ubuntu1 [6,868 B]
- Get:23 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libglib2.0-bin amd64 2.40.2-0ubuntu1 [34.9 kB]
- Get:24 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libpcre3-dev amd64 1:8.31-2ubuntu2.3 [237 kB]
- Get:25 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libglib2.0-dev amd64 2.40.2-0ubuntu1 [1,322 kB]
- Get:26 http://mirrors.aliyun.com/ubuntu/ trusty-updates/main libcairo2-dev amd64 1.13.0~20140204-0ubuntu1.1 [574 kB]
- Get:27 http://mirrors.aliyun.com/ubuntu/ trusty/main libdjvulibre-dev amd64 3.5.25.4-3 [2,363 kB]
- Get:28 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libgdk-pixbuf2.0-dev amd64 2.30.7-0ubuntu1.2 [43.0 kB]
- Get:29 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libxdot4 amd64 2.36.0-0ubuntu3.1 [19.4 kB]
- Get:30 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libgraphviz-dev amd64 2.36.0-0ubuntu3.1 [60.9 kB]
- Get:31 http://mirrors.aliyun.com/ubuntu/ trusty/main libilmbase-dev amd64 1.0.1-6ubuntu1 [112 kB]
- Get:32 http://mirrors.aliyun.com/ubuntu/ trusty/main liblqr-1-0-dev amd64 0.4.1-2ubuntu1 [134 kB]
- Get:33 http://mirrors.aliyun.com/ubuntu/ trusty/main libopenexr-dev amd64 1.6.1-7ubuntu1 [233 kB]
- Get:34 http://mirrors.aliyun.com/ubuntu/ trusty/main librsvg2-dev amd64 2.40.2-1 [97.6 kB]
- Get:35 http://mirrors.aliyun.com/ubuntu/ trusty/main libxt-dev amd64 1:1.1.4-1 [455 kB]
- Get:36 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libmagickcore-dev amd64 8:6.7.7.10-6ubuntu3.1 [906 kB]
- Get:37 http://mirrors.aliyun.com/ubuntu/ trusty-security/main libmagickwand-dev amd64 8:6.7.7.10-6ubuntu3.1 [272 kB]
- Fetched 10.4 MB in 7s (1,393 kB/s)
- Extracting templates from packages: 100%
- (Reading database ... 126353 files and directories currently installed.)
- Removing graphicsmagick-libmagick-dev-compat (1.3.18-1ubuntu3) ...
- Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
- (Reading database ... 126332 files and directories currently installed.)
- Preparing to unpack .../libpcre3_1%3a8.31-2ubuntu2.3_amd64.deb ...
- Unpacking libpcre3:amd64 (1:8.31-2ubuntu2.3) over (1:8.31-2ubuntu2.1) ...
- Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
- Setting up libpcre3:amd64 (1:8.31-2ubuntu2.3) ...
- Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
- (Reading database ... 126332 files and directories currently installed.)
- Preparing to unpack .../libexpat1_2.1.0-4ubuntu1.3_amd64.deb ...
- Unpacking libexpat1:amd64 (2.1.0-4ubuntu1.3) over (2.1.0-4ubuntu1.1) ...
- Selecting previously unselected package libcairo-gobject2:amd64.
- Preparing to unpack .../libcairo-gobject2_1.13.0~20140204-0ubuntu1.1_amd64.deb ...
- Unpacking libcairo-gobject2:amd64 (1.13.0~20140204-0ubuntu1.1) ...
- Selecting previously unselected package liblzo2-2:amd64.
- Preparing to unpack .../liblzo2-2_2.06-1.2ubuntu1.1_amd64.deb ...
- Unpacking liblzo2-2:amd64 (2.06-1.2ubuntu1.1) ...
- Selecting previously unselected package libcairo-script-interpreter2:amd64.
- Preparing to unpack .../libcairo-script-interpreter2_1.13.0~20140204-0ubuntu1.1_amd64.deb ...
- Unpacking libcairo-script-interpreter2:amd64 (1.13.0~20140204-0ubuntu1.1) ...
- Selecting previously unselected package libelfg0:amd64.
- Preparing to unpack .../libelfg0_0.8.13-5_amd64.deb ...
- Unpacking libelfg0:amd64 (0.8.13-5) ...
- Preparing to unpack .../libmagickwand5_8%3a6.7.7.10-6ubuntu3.1_amd64.deb ...
- Unpacking libmagickwand5:amd64 (8:6.7.7.10-6ubuntu3.1) over (8:6.7.7.10-6ubuntu3) ...
- Preparing to unpack .../libmagickcore5-extra_8%3a6.7.7.10-6ubuntu3.1_amd64.deb ...
- Unpacking libmagickcore5-extra:amd64 (8:6.7.7.10-6ubuntu3.1) over (8:6.7.7.10-6ubuntu3) ...
- Preparing to unpack .../libmagickcore5_8%3a6.7.7.10-6ubuntu3.1_amd64.deb ...
- Unpacking libmagickcore5:amd64 (8:6.7.7.10-6ubuntu3.1) over (8:6.7.7.10-6ubuntu3) ...
- Selecting previously unselected package libpcrecpp0:amd64.
- Preparing to unpack .../libpcrecpp0_1%3a8.31-2ubuntu2.3_amd64.deb ...
- Unpacking libpcrecpp0:amd64 (1:8.31-2ubuntu2.3) ...
- Preparing to unpack .../libpixman-1-0_0.30.2-2ubuntu1.1_amd64.deb ...
- Unpacking libpixman-1-0:amd64 (0.30.2-2ubuntu1.1) over (0.30.2-2ubuntu1) ...
- Selecting previously unselected package gir1.2-freedesktop.
- Preparing to unpack .../gir1.2-freedesktop_1.40.0-1ubuntu0.2_amd64.deb ...
- Unpacking gir1.2-freedesktop (1.40.0-1ubuntu0.2) ...
- Selecting previously unselected package gir1.2-gdkpixbuf-2.0.
- Preparing to unpack .../gir1.2-gdkpixbuf-2.0_2.30.7-0ubuntu1.2_amd64.deb ...
- Unpacking gir1.2-gdkpixbuf-2.0 (2.30.7-0ubuntu1.2) ...
- Selecting previously unselected package gir1.2-rsvg-2.0.
- Preparing to unpack .../gir1.2-rsvg-2.0_2.40.2-1_amd64.deb ...
- Unpacking gir1.2-rsvg-2.0 (2.40.2-1) ...
- Selecting previously unselected package libexpat1-dev:amd64.
- Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1.3_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.1.0-4ubuntu1.3) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../pkg-config_0.26-1ubuntu4_amd64.deb ...
- Unpacking pkg-config (0.26-1ubuntu4) ...
- Selecting previously unselected package libfontconfig1-dev.
- Preparing to unpack .../libfontconfig1-dev_2.11.0-0ubuntu4.1_amd64.deb ...
- Unpacking libfontconfig1-dev (2.11.0-0ubuntu4.1) ...
- Selecting previously unselected package x11proto-render-dev.
- Preparing to unpack .../x11proto-render-dev_2%3a0.11.1-2_all.deb ...
- Unpacking x11proto-render-dev (2:0.11.1-2) ...
- Selecting previously unselected package libxrender-dev:amd64.
- Preparing to unpack .../libxrender-dev_1%3a0.9.8-1build0.14.04.1_amd64.deb ...
- Unpacking libxrender-dev:amd64 (1:0.9.8-1build0.14.04.1) ...
- Selecting previously unselected package libpixman-1-dev.
- Preparing to unpack .../libpixman-1-dev_0.30.2-2ubuntu1.1_amd64.deb ...
- Unpacking libpixman-1-dev (0.30.2-2ubuntu1.1) ...
- Selecting previously unselected package libxcb-render0-dev:amd64.
- Preparing to unpack .../libxcb-render0-dev_1.10-2ubuntu1_amd64.deb ...
- Unpacking libxcb-render0-dev:amd64 (1.10-2ubuntu1) ...
- Selecting previously unselected package libxcb-shm0-dev:amd64.
- Preparing to unpack .../libxcb-shm0-dev_1.10-2ubuntu1_amd64.deb ...
- Unpacking libxcb-shm0-dev:amd64 (1.10-2ubuntu1) ...
- Selecting previously unselected package libglib2.0-bin.
- Preparing to unpack .../libglib2.0-bin_2.40.2-0ubuntu1_amd64.deb ...
- Unpacking libglib2.0-bin (2.40.2-0ubuntu1) ...
- Selecting previously unselected package libpcre3-dev:amd64.
- Preparing to unpack .../libpcre3-dev_1%3a8.31-2ubuntu2.3_amd64.deb ...
- Unpacking libpcre3-dev:amd64 (1:8.31-2ubuntu2.3) ...
- Selecting previously unselected package libglib2.0-dev.
- Preparing to unpack .../libglib2.0-dev_2.40.2-0ubuntu1_amd64.deb ...
- Unpacking libglib2.0-dev (2.40.2-0ubuntu1) ...
- Selecting previously unselected package libcairo2-dev.
- Preparing to unpack .../libcairo2-dev_1.13.0~20140204-0ubuntu1.1_amd64.deb ...
- Unpacking libcairo2-dev (1.13.0~20140204-0ubuntu1.1) ...
- Selecting previously unselected package libdjvulibre-dev:amd64.
- Preparing to unpack .../libdjvulibre-dev_3.5.25.4-3_amd64.deb ...
- Unpacking libdjvulibre-dev:amd64 (3.5.25.4-3) ...
- Selecting previously unselected package libgdk-pixbuf2.0-dev.
- Preparing to unpack .../libgdk-pixbuf2.0-dev_2.30.7-0ubuntu1.2_amd64.deb ...
- Unpacking libgdk-pixbuf2.0-dev (2.30.7-0ubuntu1.2) ...
- Selecting previously unselected package libxdot4.
- Preparing to unpack .../libxdot4_2.36.0-0ubuntu3.1_amd64.deb ...
- Unpacking libxdot4 (2.36.0-0ubuntu3.1) ...
- Selecting previously unselected package libgraphviz-dev.
- Preparing to unpack .../libgraphviz-dev_2.36.0-0ubuntu3.1_amd64.deb ...
- Unpacking libgraphviz-dev (2.36.0-0ubuntu3.1) ...
- Selecting previously unselected package libilmbase-dev.
- Preparing to unpack .../libilmbase-dev_1.0.1-6ubuntu1_amd64.deb ...
- Unpacking libilmbase-dev (1.0.1-6ubuntu1) ...
- Selecting previously unselected package liblqr-1-0-dev.
- Preparing to unpack .../liblqr-1-0-dev_0.4.1-2ubuntu1_amd64.deb ...
- Unpacking liblqr-1-0-dev (0.4.1-2ubuntu1) ...
- Selecting previously unselected package libopenexr-dev.
- Preparing to unpack .../libopenexr-dev_1.6.1-7ubuntu1_amd64.deb ...
- Unpacking libopenexr-dev (1.6.1-7ubuntu1) ...
- Selecting previously unselected package librsvg2-dev.
- Preparing to unpack .../librsvg2-dev_2.40.2-1_amd64.deb ...
- Unpacking librsvg2-dev (2.40.2-1) ...
- Selecting previously unselected package libxt-dev:amd64.
- Preparing to unpack .../libxt-dev_1%3a1.1.4-1_amd64.deb ...
- Unpacking libxt-dev:amd64 (1:1.1.4-1) ...
- Selecting previously unselected package libmagickcore-dev.
- Preparing to unpack .../libmagickcore-dev_8%3a6.7.7.10-6ubuntu3.1_amd64.deb ...
- Unpacking libmagickcore-dev (8:6.7.7.10-6ubuntu3.1) ...
- Selecting previously unselected package libmagickwand-dev.
- Preparing to unpack .../libmagickwand-dev_8%3a6.7.7.10-6ubuntu3.1_amd64.deb ...
- Unpacking libmagickwand-dev (8:6.7.7.10-6ubuntu3.1) ...
- Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
- Processing triggers for libglib2.0-0:amd64 (2.40.2-0ubuntu1) ...
- No schema files found: doing nothing.
- Setting up libexpat1:amd64 (2.1.0-4ubuntu1.3) ...
- Setting up libcairo-gobject2:amd64 (1.13.0~20140204-0ubuntu1.1) ...
- Setting up liblzo2-2:amd64 (2.06-1.2ubuntu1.1) ...
- Setting up libcairo-script-interpreter2:amd64 (1.13.0~20140204-0ubuntu1.1) ...
- Setting up libelfg0:amd64 (0.8.13-5) ...
- Setting up libmagickcore5:amd64 (8:6.7.7.10-6ubuntu3.1) ...
- Setting up libmagickwand5:amd64 (8:6.7.7.10-6ubuntu3.1) ...
- Setting up libmagickcore5-extra:amd64 (8:6.7.7.10-6ubuntu3.1) ...
- Setting up libpcrecpp0:amd64 (1:8.31-2ubuntu2.3) ...
- Setting up libpixman-1-0:amd64 (0.30.2-2ubuntu1.1) ...
- Setting up gir1.2-freedesktop (1.40.0-1ubuntu0.2) ...
- Setting up gir1.2-gdkpixbuf-2.0 (2.30.7-0ubuntu1.2) ...
- Setting up gir1.2-rsvg-2.0 (2.40.2-1) ...
- Setting up libexpat1-dev:amd64 (2.1.0-4ubuntu1.3) ...
- Setting up pkg-config (0.26-1ubuntu4) ...
- Setting up libfontconfig1-dev (2.11.0-0ubuntu4.1) ...
- Setting up x11proto-render-dev (2:0.11.1-2) ...
- Setting up libxrender-dev:amd64 (1:0.9.8-1build0.14.04.1) ...
- Setting up libpixman-1-dev (0.30.2-2ubuntu1.1) ...
- Setting up libxcb-render0-dev:amd64 (1.10-2ubuntu1) ...
- Setting up libxcb-shm0-dev:amd64 (1.10-2ubuntu1) ...
- Setting up libglib2.0-bin (2.40.2-0ubuntu1) ...
- Setting up libpcre3-dev:amd64 (1:8.31-2ubuntu2.3) ...
- Setting up libglib2.0-dev (2.40.2-0ubuntu1) ...
- Setting up libcairo2-dev (1.13.0~20140204-0ubuntu1.1) ...
- Setting up libdjvulibre-dev:amd64 (3.5.25.4-3) ...
- Setting up libgdk-pixbuf2.0-dev (2.30.7-0ubuntu1.2) ...
- Setting up libxdot4 (2.36.0-0ubuntu3.1) ...
- Setting up libgraphviz-dev (2.36.0-0ubuntu3.1) ...
- Setting up libilmbase-dev (1.0.1-6ubuntu1) ...
- Setting up liblqr-1-0-dev (0.4.1-2ubuntu1) ...
- Setting up libopenexr-dev (1.6.1-7ubuntu1) ...
- Setting up librsvg2-dev (2.40.2-1) ...
- Setting up libxt-dev:amd64 (1:1.1.4-1) ...
- Setting up libmagickcore-dev (8:6.7.7.10-6ubuntu3.1) ...
- Setting up libmagickwand-dev (8:6.7.7.10-6ubuntu3.1) ...
- Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
- root:~#
复制代码
|