mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
commit
fb7aacee92
|
@ -76,6 +76,26 @@ packages that previously contained PIL e.g. ``python-imaging``. Please
|
|||
consider using native operating system packages first to avoid
|
||||
installation problems and/or missing library support later.
|
||||
|
||||
FreeBSD Installation
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Pillow can be installed on FreeBSD via the official Ports or Packages systems:
|
||||
|
||||
**Ports**::
|
||||
|
||||
$ cd /usr/ports/graphics/py-pillow && make install clean
|
||||
|
||||
**Packages**::
|
||||
|
||||
$ pkg install py27-pillow
|
||||
|
||||
.. note::
|
||||
|
||||
The `Pillow FreeBSD port
|
||||
<https://www.freshports.org/graphics/py-pillow/>`_ and packages
|
||||
are tested by the ports team with all supported FreeBSD versions
|
||||
and against Python 2.x and 3.x.
|
||||
|
||||
|
||||
Building From Source
|
||||
--------------------
|
||||
|
@ -91,8 +111,9 @@ External Libraries
|
|||
|
||||
.. note::
|
||||
|
||||
You **do not need to install all external libraries supported** to
|
||||
use Pillow's basic features.
|
||||
You **do not need to install all supported external libraries** to
|
||||
use Pillow's basic features. **Zlib** and **libjpeg** are required
|
||||
by default.
|
||||
|
||||
.. note::
|
||||
|
||||
|
@ -250,7 +271,9 @@ Or for Python 3::
|
|||
|
||||
In Fedora, the command is::
|
||||
|
||||
$ sudo yum install python-devel
|
||||
$ sudo dnf install python-devel redhat-rpm-config
|
||||
|
||||
.. Note:: ``redhat-rpm-config`` is required on Fedora 23, but not earlier versions.
|
||||
|
||||
Prerequisites are installed on **Ubuntu 12.04 LTS** or **Raspian Wheezy
|
||||
7.0** with::
|
||||
|
@ -263,12 +286,10 @@ Prerequisites are installed on **Ubuntu 14.04 LTS** with::
|
|||
$ sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev \
|
||||
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
|
||||
|
||||
Prerequisites are installed on **Fedora 20** with::
|
||||
|
||||
$ sudo yum install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
|
||||
lcms2-devel libwebp-devel tcl-devel tk-devel
|
||||
|
||||
Prerequisites are installed on **Fedora 23** with::
|
||||
|
||||
$ sudo dnf install libtiff-devel libjpeg-devel libzip-devel freetype-devel \
|
||||
lcms2-devel libwebp-devel tcl-devel tk-devel
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user