View Source

<h1>Unix and Linux Distribution Packages</h1>

<ac:macro ac:name="note"><ac:parameter ac:name="title">Package volunteers wanted!</ac:parameter><ac:rich-text-body>
<p>After version 1.0 is released, there will most likely be a great demand for native packages for each Unix/Linux distribution. We're looking for volunteers to maintain such packages. If you're interested, please be sure to see <ac:link><ri:page ri:content-title="Choosing Your Application's Directory Layout" /></ac:link>. Once your package is ready, add it to the list!</p></ac:rich-text-body></ac:macro>

<p>Each Unix/Linux distribution has one or more &quot;preferred&quot; ways to install packages, such as <code>emerge</code> for Gentoo, <code>apt-get</code> for Debian, <code>yum</code>, and so on. The following packages are geared toward these methods.</p>

<h2>FreeBSD</h2>

<p><a href="http://www.freshports.org/www/zend-framework/">Package</a> maintained by <ac:link><ri:user ri:username="glarkin" /></ac:link></p>

<p>Usage:</p>
<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[cd /usr/ports/www/zend-framework && make install clean]]></ac:plain-text-body></ac:macro>

<h2>Gentoo</h2>

<p><a href="http://www.gentoo-portage.com/dev-php5/ZendFramework">Package</a> maintained by <ac:link><ri:user ri:username="sebastian" /></ac:link></p>

<p>Usage:</p>
<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[emerge -p ZendFramework]]></ac:plain-text-body></ac:macro>

<h2>Mac OS X</h2>

<p><a href="http://www.macosforge.org/">Mac OS Forge</a> has a <a href="https://svn.macosforge.org/projects/macports/ticket/11009">ticket</a> (registration required) with a portfile for DarwinPorts. <a href="http://nico.edtinger.at/pub/2007/zf/Portfile">Portfile without registration</a> maintained by <ac:link><ri:user ri:username="nico" /></ac:link></p>

<h2>openSUSE</h2>

<p>Packages are available through the <a href="http://build.opensuse.org">openSUSE build service</a>. Maintained by <ac:link><ri:user ri:username="gnanderson" /></ac:link>. Packages are available for SLES 10(SP2), 11.1, 11.0, 10.3</p>

<p>For APC and Memcached backends please see the section after the installation instructions. These are in separate packages due to a dependancy on additional repositories.</p>

<p>Captcha and PDF components are available seperately, as some sysadmins object to having gd extension installed. Please see instructions for installing these components</p>

<p>The easiest installation option is to use the openSUSE 1-Click install system. This will add the required repositories and initiate the download. 1-Click install is available on openSUSE 10.3 and later.</p>


<h3>SUSE Linux Enterprise Server 11</h3>

<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[
su -
zypper sa http://download.opensuse.org/repositories/server:/php:/applications/SLE-11
zypper in php5-ZendFramework
]]></ac:plain-text-body></ac:macro>

<h3>SUSE Linux Enterprise Server 10 (SP2)</h3>

<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[
su -
zypper sa http://download.opensuse.org/repositories/server:/php:/applications/SLE-10-SP2
zypper in php5-ZendFramework
]]></ac:plain-text-body></ac:macro>

<h3>openSUSE 11.1</h3>
<p><a href="http://software.opensuse.org/ymp/server:php:applications/openSUSE_11.1/php5-ZendFramework.ymp"><ac:image><ri:attachment ri:filename="ZF_opensuse_1click.png" /></ac:image></a></p>
<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[
su -
zypper sa http://download.opensuse.org/repositories/server:/php:/applications/openSUSE_11.1
zypper in php5-ZendFramework
]]></ac:plain-text-body></ac:macro>

<h3>openSUSE 11.0</h3>
<p><a href="http://software.opensuse.org/ymp/server:php:applications/openSUSE_11.0/php5-ZendFramework.ymp"><ac:image><ri:attachment ri:filename="ZF_opensuse_1click.png" /></ac:image></a></p>
<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[
su -
zypper sa http://download.opensuse.org/repositories/server:/php:/applications/openSUSE_11.0
zypper in php5-ZendFramework
]]></ac:plain-text-body></ac:macro>

<h3>openSUSE 10.3</h3>
<p><a href="http://software.opensuse.org/ymp/server:php:applications/openSUSE_10.3/php5-ZendFramework.ymp"><ac:image><ri:attachment ri:filename="ZF_opensuse_1click.png" /></ac:image></a></p>
<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[
su -
zypper sa http://download.opensuse.org/repositories/server:/php:/applications/openSUSE_10.3
zypper in php5-ZendFramework
]]></ac:plain-text-body></ac:macro>

<h3>APC and Memcache</h3>

<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[
su -
zypper sa http://download.opensuse.org/repositories/server:/php:/extensions/openSUSE_11.1

either

zypper in php5-APC php5-ZendFramework-cache-backend-apc

or

zypper in php5-pecl-memcache php5-ZendFramework-cache-backend-memcache
]]></ac:plain-text-body></ac:macro>

<h3>Zend_Captcha &amp; Zend_Pdf</h3>

<p>Install these with the instructions below, this will pull in the php5-gd package as a dependancy.</p>
<ac:macro ac:name="noformat"><ac:plain-text-body><![CDATA[
zypper in php5-ZendFramework-captcha php5-ZendFramework-pdf
]]></ac:plain-text-body></ac:macro>