mirror of
https://github.com/weewx/weewx.git
synced 2026-04-23 11:07:11 -04:00
Updated SuSE install instructions for SuSE 11.3
This commit is contained in:
@@ -145,48 +145,36 @@ Version 1.10</h1>
|
||||
python-imaging</span> (PIL) packages are preinstalled on many Debian
|
||||
distributions so the corresponding commands may not do anything.</p>
|
||||
<h3>Installation on SuSE using <span class="code">yast</span></h3>
|
||||
<p>My SuSE 11.1 system came with some of the prerequisites installed, some available
|
||||
through <span class="code">yast</span>, and three that required
|
||||
<span class="code">easy_install</span>. To start, you will have to install the
|
||||
gcc compiler:</p>
|
||||
<p class="tty">sudo yast -i gcc</p>
|
||||
<p>Then install <span class="code">easy_install</span>:</p>
|
||||
<p class="tty">sudo yast -i python-setuptools</p>
|
||||
<p>On my system, some scripts wanted to install themselves into
|
||||
<span class="code">/usr/local/lib/python2.6/site-packages</span>, which didn't
|
||||
exist. If this is the case, you may have to create these directories before
|
||||
<p>My SuSE 11.3 system came with some of the prerequisites installed, some available
|
||||
through <span class="code">yast</span>, and some that required
|
||||
<span class="code">easy_install</span>. </p>
|
||||
<p>To start, some packages want to install themselves into
|
||||
<span class="code">/usr/local/lib/python2.6/site-packages</span>, which may
|
||||
or may not exist. If it does not, you may have to create it before
|
||||
running <span class="code">easy_install</span>:</p>
|
||||
<p class="tty">sudo mkdir /usr/local/lib/python2.6</p>
|
||||
<p class="tty">sudo mkdir /usr/local/lib/python2.6/site-packages</p>
|
||||
<h4>sqlite3</h4>
|
||||
<p>My SuSE 11.1 system came with V3.6.4, which works just fine. However, if
|
||||
<pre>sudo mkdir /usr/local/lib/python2.6</pre>
|
||||
<pre>sudo mkdir /usr/local/lib/python2.6/site-packages</pre>
|
||||
<p>Install the
|
||||
gcc compiler:</p>
|
||||
<pre>sudo yast -i gcc</pre>
|
||||
<p>Then install <span class="code">easy_install</span>:</p>
|
||||
<pre>sudo yast -i python-setuptools</pre>
|
||||
<p>Install <span class="code">configobj</span>:</p>
|
||||
<pre>sudo yast -i python-configobj</pre>
|
||||
<p>Install PIL:</p>
|
||||
<pre>sudo yast -i python-imaging</pre>
|
||||
<p>Install <span class="code">pyserial</span>:</p>
|
||||
<pre>sudo yast -i python-serial</pre>
|
||||
<p>Install <span class="code">sqlite3</span>. My SuSE 11.3 system came with V3.6.4, which works just fine. However, if
|
||||
you need to install:</p>
|
||||
<p class="tty">sudo yast -i sqlite3</p>
|
||||
<h4>pysqlite</h4>
|
||||
<p>Install using <span class="code">easy_install</span>. See
|
||||
<a href="#pysqlite_using_easy_install">comments below</a> about installing pysqlite
|
||||
using <span class="code">easy_install</span>. On my SuSE 11.1 system, I had
|
||||
to install the gcc compiler and the sqlite3 development environment first:</p>
|
||||
<p class="tty">sudo yast -i gcc</p>
|
||||
<p class="tty">sudo yast -i sqlite-devel</p>
|
||||
<p>Then I was able to install pysqlite using <span class="code">easy_install</span>.
|
||||
However, because the hosting site for pysqlite had changed recently, I had to
|
||||
give the URL explicitly:</p>
|
||||
<p class="tty">sudo easy_install
|
||||
<a href="http://pysqlite.googlecode.com/files/pysqlite-2.5.5.tar.gz">http://pysqlite.googlecode.com/files/pysqlite-2.5.5.tar.gz</a></p>
|
||||
<h4>configobj</h4>
|
||||
<p>Install using <span class="code">easy_install</span>:</p>
|
||||
<p class="tty">sudo easy_install configobj</p>
|
||||
<h4>pyserial</h4>
|
||||
<p>Install using <span class="code">yast</span>:</p>
|
||||
<p class="tty">sudo yast-i python-serial</p>
|
||||
<h4>Cheetah</h4>
|
||||
<p>Install using <span class="code">easy_install</span> (My system emitted a
|
||||
bunch of, apparently, benign warnings):</p>
|
||||
<p class="tty">sudo easy_install Cheetah</p>
|
||||
<h4>Python Imaging Library (PIL)</h4>
|
||||
<p>Install using <span class="code">yast</span></p>
|
||||
<p class="tty">sudo yast -i python-imaging</p>
|
||||
<p>Install the Python development package (need for <span class="code">
|
||||
pysqlite</span>):</p>
|
||||
<pre>sudo yast -i python-devel</pre>
|
||||
<p>Install <span class="code">pysqlite</span>:</p>
|
||||
<pre>easy_install pysqlite</pre>
|
||||
<p>Install <span class="code">Cheetah</span>:</p>
|
||||
<pre>easy_install Cheetah</pre>
|
||||
<h3>Installation using <span class="code">easy_install</span></h3>
|
||||
<p>An alternative approach to installing the required packages is by using the
|
||||
Python setup tool "<span class="code">easy_install</span>", part of the
|
||||
@@ -194,11 +182,9 @@ Version 1.10</h1>
|
||||
Refer to their instructions on how to install this tool.</p>
|
||||
<p>Once <span class="code">easy_install</span> has been installed, installing
|
||||
the rest of the packages is very easy.</p>
|
||||
<h4>sqlite3</h4>
|
||||
<p>My Ubuntu 8.10 system came with sqlite V3.5.9, which works just fine. If
|
||||
you do not have sqlite3, refer to <a href="http://www.sqlite.org">the sqlite
|
||||
webpage</a> for installation instructions.</p>
|
||||
<h4><a name="pysqlite_using_easy_install">pysqlite</a></h4>
|
||||
<p>While Version 2.3.X of <a href="http://pypi.python.org/pypi/pysqlite/">pysqlite</a>
|
||||
is included with many versions of Python, the more recent 2.5.X or greater is
|
||||
required in order to take advantage of transaction contexts. Hence, you may
|
||||
@@ -208,26 +194,26 @@ Version 1.10</h1>
|
||||
to install the sqlite3 development environment as well.</p>
|
||||
<p>With the development environment in place, you can easily build and install
|
||||
pysqlite:</p>
|
||||
<p class="tty">easy_install pysqlite</p>
|
||||
<pre>easy_install pysqlite</pre>
|
||||
<p>If your system already has a version of pysqlite installed, but it is not
|
||||
a high enough version (<span class="code">easy_install</span> will tell you
|
||||
the version you have), then you may have to force an upgrade:</p>
|
||||
<p class="tty">easy_install --upgrade pysqlite</p>
|
||||
<pre>easy_install --upgrade pysqlite</pre>
|
||||
<p>Note that at the time of this writing (24 Oct 2009), the hosting site for
|
||||
pysqlite has changed to one on <a href="http://pysqlite.googlecode.com">googlecode</a>,
|
||||
and <span class="code">easy_install</span> could not find it. You may have to
|
||||
find and give the URL explicitly to <span class="code">easy_install</span> (adjust
|
||||
version numbers as necessary):</p>
|
||||
<p class="tty">easy_install http://pysqlite.googlecode.com/files/pysqlite-2.5.5.tar.gz</p>
|
||||
<h4>configobj</h4>
|
||||
<p>Easily installed:</p>
|
||||
<p class="tty">easy_install configobj</p>
|
||||
<h4>pyserial</h4>
|
||||
<p class="tty"><span class="code">easy_install pyserial</span></p>
|
||||
<h4>Cheetah</h4>
|
||||
<p class="tty"><span class="code">easy_install Cheetah</span></p>
|
||||
<h4>Python Imaging Library (PIL)</h4>
|
||||
<p>My version of Python came with V1.1.6, which works great.</p>
|
||||
<pre>easy_install http://pysqlite.googlecode.com/files/pysqlite-2.5.5.tar.gz</pre>
|
||||
<p>The other packages are straightforward. Install configobj:</p>
|
||||
<pre>easy_install configobj</pre>
|
||||
<p>Install pyserial:</p>
|
||||
<pre><span class="code">easy_install pyserial</span></pre>
|
||||
<p>Install Cheetah:</p>
|
||||
<pre><span class="code">easy_install Cheetah</span></pre>
|
||||
<p>My version of Python came with V1.1.6, which works great, but if you need
|
||||
to install</p>
|
||||
<pre>easy_install pil</pre>
|
||||
<h2>System requirements</h2>
|
||||
<p>I run <span class="code">weewx</span> on a 500MHz system with an AMD Geode
|
||||
processor and 512 MB of memory. Configured this way, it consumes about
|
||||
|
||||
Reference in New Issue
Block a user