\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{Installing PEAR modules necessary on RHEL 3 (or clones)}
\textit{\#} first change to the framework directory and get the framework PEAR packages installed

<pre><code>
cd /var/www/html/horde/framework/
php install-packages.php
</code></pre>
\textit{\#}  You will need to download these two packages to complete the pear installation

<pre><code>
wget http://dag.wieers.com/packages/php-sqlite/php-sqlite-1.0.2-1.rhel3.dag.i386.rpm
wget http://dag.wieers.com/packages/sqlite/sqlite-2.8.16-1.1.el3.rf.i386.rpm
rpm -ivh sqlite-2.8.16-1.1.el3.rf.i386.rpm
rpm -ivh php-sqlite-1.0.2-1.rhel3.dag.i386.rpm
</code></pre>
\textit{\#}  new as of 3/19/2007 - was painful to figure this out. The first issue is to get the structures graph dependency<br />
\textit{\#}  the second issue is to make a copy of /usr/bin/pear since updating pear seems to delete it

<pre><code>
pear install structures\_graph
cp /usr/bin/pear /opt
pear upgrade pear
cp /opt/pear /usr/bin
</code></pre>
\textit{\#} needed for Horde base

<pre><code>
pear install Log
pear install Mail\_Mime
pear upgrade DB
pear install Date
pear install Auth\_SASL
pear install File
pear install Net\_URL
</code></pre>
\textit{\#} needed for IMP

<pre><code>
pear install HTTP\_Request
</code></pre>
\textit{\#} needed for Wicked

<pre><code>
pear install Text\_Wiki
</code></pre>
\textit{\#} needed for Ingo

<pre><code>
pear install Net\_Sieve
pear install Net\_Socket
</code></pre>
\textit{\#} needed for weather portal block in Horde

<pre><code>
pear install cache
pear install net\_dime
pear install soap
pear install xml\_util
pear install xml\_parser
pear install serializer
pear install xml\_serializer
pear install services\_weather
</code></pre>
\textit{\#} needed for passwd smbldap driver

<pre><code>
pear install Crypt\_CHAP
</code></pre>
\textit{\#} and lastly...

<pre><code>
pear upgrade-all
</code></pre>
If for some reason PEAR breaks...

then I just

<pre><code>
cd /usr/share
mv pear pear.bak
rpm -e php-mysql php-imap php-ldap
</code></pre>
\textit{\#} for RHEL 3 only

<pre><code>
up2date php-mysql php-imap php-ldap php
</code></pre>
\textit{\#} for RHEL clones

<pre><code>
yum install php-mysql php-imap php-ldap php
</code></pre>
and then back to the top and reinstall starting with

<pre><code>
cd /var/www/html/horde/framework
php install-packages.php
</code></pre>
\end{document}
