闽南师范大学学报:linux下libwebp安装
来源:百度文库 编辑:九乡新闻网 时间:2024/04/27 07:08:54
Preparing the platform
Linux platform
- Install the
libjpeg
andlibpng
packages, needed to convert between JPEG, PNG and WebP image formats. Packaged installation are dependent on the Linux distributions. As an example, Ubuntu distribution requires to run the following commands:sudo apt-get install libjpeg62-dev sudo apt-get install libpng12-dev
- Complete the installation (see below).
Mac OS X platform 10.5 (Leopard) and 10.6 (Snow Leopard)
- Follow the same steps outlined above except that you do not need to follow Step 4 to install
libwebp
. - Install the JPEG and PNG dependencies:
sudo port install libjpeg libpng
- Complete the installation (see below).
Cygwin platform
- Download setup.exe from the Cygwin web page.
- Run setup.exe and proceed through the installation.
- At the Select Packages screen, add to the pre-selected packages the following:
- libjpeg-devel, libpng12-devel and libpng14-devel
- gcc, make and automake (for building packages)
- Complete the installation (see below).
Building the WebP from source on Unix platforms
- Download
libwebp-0.1.2.tar.gz
from the downloads list. - Untar or unzip the package. This creates a directory
libwebp-0.1.2/
:tar xvzf libwebp-0.1.2.tar.gz
- Build WebP encoder
cwebp
and decoderdwebp
:
Go to thelibwebp/
directory and run the following commands:cd libwebp ./autogen.sh ./configure make sudo make install 备注:运行./autogen.sh报错,则先运行yum -y install automake libtool
This builds and installs the
cwebp
&dwebp
command line tools, along with thelibwebp
libraries (dynamic and static).These tools are usually installed under
/usr/local/bin/
by default. The local version are built under theexamples/
directory.The library will usually be installed under the
/usr/local/lib/
directory. To avoid run-time errors, make sure that your LD_LIBRARY_PATH environment variable includes this location. The C headers are typically installed under/usr/local/include/webp
.
linux下libwebp安装
linux 下安装 oracle
linux下安装oracle9i1
linux下fcgi安装
linux下nginx的安装
Linux下安装配置Tomcat
LINUX下Subversion安装配置
linux下如何安装oracle
Linux下JDK的安装配置
linux下编译和安装log4cxx
Openfire+jwchat linux 下安装记录
linux下 mysql 的卸载和安装
在Linux下安装和使用MySQL
WebSphere在Linux下的安装过程
linux下卸载安装的rpm
linux下wireshark安装和使用
linux下libxml工具的安装 转
Linux下软件的安装与卸载
Linux下软件安装方法总结 - China Linux Forum
Linux操作系统下以太网卡的安装及配置-Linux教程-Linux系统中文网
RedHat Linux 9 下远程桌面的安装与配置
WebSphere 在linux下的安装配置过程
linux下软件的基本安装和卸载
Linux下DB2的安装手把手教学篇