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

cd /var/www/html/horde/framework/
php install-packages.php
\end{verbatim}

\textsl{\#}  You will need to download these two packages to complete the pear installation

\begin{verbatim}

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
\end{verbatim}

\textsl{\#}  new as of 3/19/2007 - was painful to figure this out. The first issue is to get the structures graph dependency\newline
\textsl{\#}  the second issue is to make a copy of /usr/bin/pear since updating pear seems to delete it

\begin{verbatim}

pear install structures_graph
cp /usr/bin/pear /opt
pear upgrade pear
cp /opt/pear /usr/bin
\end{verbatim}

\textsl{\#} needed for Horde base\newline
\begin{verbatim}

pear install Log
pear install Mail_Mime
pear upgrade DB
pear install Date
pear install Auth_SASL
pear install File
pear install Net_URL
\end{verbatim}

\textsl{\#} needed for IMP\newline
\begin{verbatim}

pear install HTTP_Request
\end{verbatim}

\textsl{\#} needed for Wicked\newline
\begin{verbatim}

pear install Text_Wiki
\end{verbatim}

\textsl{\#} needed for Ingo\newline
\begin{verbatim}

pear install Net_Sieve
pear install Net_Socket
\end{verbatim}

\textsl{\#} needed for weather portal block in Horde\newline
\begin{verbatim}

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
\end{verbatim}

\textsl{\#} needed for passwd smbldap driver\newline
\begin{verbatim}

pear install Crypt_CHAP
\end{verbatim}

\textsl{\#} and lastly\ldots\newline
\begin{verbatim}

pear upgrade-all
\end{verbatim}

If for some reason PEAR breaks\ldots

then I just \newline
\begin{verbatim}

cd /usr/share
mv pear pear.bak
rpm -e php-mysql php-imap php-ldap
\end{verbatim}

\textsl{\#} for RHEL 3 only\newline
\begin{verbatim}

up2date php-mysql php-imap php-ldap php
\end{verbatim}

\textsl{\#} for RHEL clones\newline
\begin{verbatim}

yum install php-mysql php-imap php-ldap php
\end{verbatim}

and then back to the top and reinstall starting with\newline
\begin{verbatim}

cd /var/www/html/horde/framework
php install-packages.php
\end{verbatim}

\end{document}
