/usr/share/doc/lire/user-manual/ch02s02.html is in lire-doc 2:2.1.1-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Standalone Installation</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Lire User's Manual"><link rel="up" href="ch02.html" title="Chapter 2. Installing Lire"><link rel="prev" href="ch02.html" title="Chapter 2. Installing Lire"><link rel="next" href="ch02s03.html" title="Anonymized Client Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Standalone Installation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. Installing <span class="application">Lire</span></th><td width="20%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr></table><hr></div><div class="section" title="Standalone Installation"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sect:standalone-install"></a>Standalone Installation</h2></div></div></div><p>The most common installation scenario will be where you
install <span class="application">Lire</span> on one system to generate daily or weekly
reports from cron or by using the command line tools. This
setup will install the complete software.
</p><div class="section" title="Requirements"><div class="titlepage"><div><div><h3 class="title"><a name="sect:standalone-install-req"></a>Requirements</h3></div></div></div><div class="section" title="Minimum Requirements"><div class="titlepage"><div><div><h4 class="title"><a name="id380175"></a>Minimum Requirements</h4></div></div></div><p>To install <span class="application">Lire</span> on a system, you need the
following:
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>GNU gzip.</p></li><li class="listitem"><p>Perl 5.6.1 or later (5.8.3 strongly
recommended).</p></li><li class="listitem"><p>The <code class="systemitem">XML::Parser</code> perl
module. (This one needs the
<code class="systemitem">expat</code> library.)
</p><p><code class="systemitem">XML::Parser</code>
is available from any CPAN mirror. (<a class="ulink" href="http://www.cpan.org/modules/by-module/XML/" target="_top">http://www.cpan.org/modules/by-module/XML/</a>).
</p><p>The <code class="systemitem">expat</code> library is
available from <a class="ulink" href="http://expat.sourceforge.net/" target="_top">http://expat.sourceforge.net/</a>.
</p></li><li class="listitem"><p>The <code class="systemitem">DBD::SQLite</code> perl
module, available from <a class="ulink" href="http://www.cpan.org/modules/by-module/DBD/" target="_top">http://www.cpan.org/modules/by-module/DBD/</a>
(which in turn requires <code class="systemitem">DBI</code> from
<a class="ulink" href="http://www.cpan.org/modules/by-module/DBI/" target="_top">http://www.cpan.org/modules/by-module/DBI/</a>).</p></li><li class="listitem"><p>The <code class="systemitem">libintl-perl</code> perl
module, available from <a class="ulink" href="http://www.cpan.org/modules/by-module/Locale/" target="_top">http://www.cpan.org/modules/by-module/Locale/</a>.</p></li><li class="listitem"><p>The <code class="systemitem">Curses::UI</code> perl
module, available from <a class="ulink" href="ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Curses/" target="_top">ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Curses/</a>.
<code class="systemitem">Curses</code> is
required as well and is available from the same
location.</p></li><li class="listitem"><p>Standard UNIX utilities like
<span class="command"><strong>sh</strong></span>, <span class="command"><strong>ls</strong></span>,
<span class="command"><strong>grep</strong></span>, <span class="command"><strong>bc</strong></span>,
<span class="command"><strong>cut</strong></span>, <span class="command"><strong>head</strong></span>,
<span class="command"><strong>sort</strong></span>, <span class="command"><strong>tar</strong></span>,
etc.
</p></li></ul></div><p>
</p><p>Those are the minimal requirements. With those, you
will be able to generate text, html and latex reports.
</p></div><div class="section" title="Requirements for Other Output Formats"><div class="titlepage"><div><div><h4 class="title"><a name="id380386"></a>Requirements for Other Output Formats</h4></div></div></div><p>Some output formats have other requirements:
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>The method to render charts is through the use
of <span class="command"><strong>ploticus</strong></span>. The
<span class="command"><strong>ploticus</strong></span> generates nice looking
graphs, especially in combination with HTML,
PostScript or PDF output. As a standalone program
it is quite easy to install (depending on the
operating system you use).
</p><p>The <span class="command"><strong>ploticus</strong></span> program is
available from <a class="ulink" href="http://ploticus.sourceforge.net/" target="_top">http://ploticus.sourceforge.net/</a>).
This package contains everything necessary
to render GIF, SVG and PostScript images.
The site offers binaries for various
platforms.
</p></li><li class="listitem"><p>To generate DVI or PostScript reports you will
need a recent TeX installation which contains
Omega (<span class="command"><strong>lambda</strong></span> and
<span class="command"><strong>odvips</strong></span>). The popular
<span class="productname">teTeX</span>™ distribution
ships Omega since version 0.9.
</p><p>The <span class="productname">teTeX</span>™
distribution is available from <a class="ulink" href="http://www.tug.org/teTeX/" target="_top">http://www.tug.org/teTeX/</a>.</p></li><li class="listitem"><p>To generate PDF reports, in addition to a
recent TeX installation, you will need the command
<span class="command"><strong>ps2pdf</strong></span> which comes with the
<span class="productname">GhostScript</span>™ PostScript
interpreter.
</p><p>The <span class="productname">GhostScript</span>™ PostScript
interpreter is available from <a class="ulink" href="http://www.cs.wisc.edu/~ghost/" target="_top">http://www.cs.wisc.edu/~ghost/</a>. </p></li><li class="listitem"><p>To generate Excel95 reports you will
need the <code class="systemitem">Spreadsheet::WriteExcel</code> perl
module, available from <a class="ulink" href="http://www.cpan.org/modules/by-module/Spreadsheet/" target="_top">http://www.cpan.org/modules/by-module/Spreadsheet/</a>
(which in turn requires <code class="systemitem">Parse::RecDescent</code> from
<a class="ulink" href="http://www.cpan.org/modules/by-module/Parse/" target="_top">http://www.cpan.org/modules/by-module/Parse/</a>).
</p></li></ul></div><p>
</p></div><div class="section" title="Other Optional Requirements"><div class="titlepage"><div><div><h4 class="title"><a name="id380536"></a>Other Optional Requirements</h4></div></div></div><p>Other optional things you may want to install:
</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>When available, the <span class="command"><strong>logger</strong></span>
utility can be used to send <span class="application">Lire</span> output to
<code class="systemitem">syslog</code>.
</p></li><li class="listitem"><p>The <code class="systemitem">Time-modules</code> perl
module (available from any CPAN mirror, <a class="ulink" href="http://www.cpan.org/modules/by-module/Time/" target="_top">http://www.cpan.org/modules/by-module/Time/</a>.
If it isn't present in the system, the required
files included with <span class="application">Lire</span> will be installed.
</p></li><li class="listitem"><p>The <code class="systemitem">MIME-Tools</code> perl
module (available from any CPAN mirror, <a class="ulink" href="http://www.cpan.org/modules/by-module/MIME/" target="_top">http://www.cpan.org/modules/by-module/MIME/</a>.
</p><p>This module is necessary to conveniently send
reports by email or to operate a responder.
</p></li></ul></div><p>
</p></div></div><div class="section" title="Installing"><div class="titlepage"><div><div><h3 class="title"><a name="sect:standalone-install-proc"></a>Installing</h3></div></div></div><p>Installation of <span class="application">Lire</span> is pretty straightforward:</p><div class="procedure"><ol class="procedure" type="1"><li class="step" title="Step 1"><p>Make sure that you have the requirements installed.
</p></li><li class="step" title="Step 2"><p>Extract the source code:
</p><pre class="screen">
<code class="prompt">$ </code>gzip -dc lire-<em class="replaceable"><code>version</code></em>.tar.gz | tar xf -
</pre><p>
</p></li><li class="step" title="Step 3"><p>Configure the software. You may use the
<code class="option">--prefix</code> option to specify where you
want to install <span class="application">Lire</span>. By default, it will be
installed under <code class="filename">/usr/local</code>.
</p><pre class="screen">
<code class="prompt">$ </code>cd lire-<em class="replaceable"><code>version</code></em>
<code class="prompt">$ </code>./configure [<span class="optional">--prefix=<em class="replaceable"><code>path</code></em></span>]
</pre><p>
Make sure not to use <code class="filename">~</code>
in the <em class="replaceable"><code>path</code></em>. This is known to fail.
</p><p>It find all requirements you had installed.</p></li><li class="step" title="Step 4"><p>Compile the software, this will consist only of
generating man pages).
</p><pre class="screen">
<code class="prompt">$ </code>make
</pre><p>
</p></li><li class="step" title="Step 5"><p>You may have to become
<code class="systemitem">root</code> if you are
installing in a directory where only
<code class="systemitem">root</code> has write
permissions.</p></li><li class="step" title="Step 6"><p>Install <span class="application">Lire</span>.
</p><pre class="screen">
<code class="prompt"># </code>make install
</pre><p>
</p></li></ol></div><p>That's it! You have a complete <span class="application">Lire</span> installation and
are ready to generate some reports. See <a class="xref" href="ch03.html" title="Chapter 3. Running Lire">Chapter 3, <i>Running <span class="application">Lire</span></i></a> for information on using
<span class="application">Lire</span>.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Installing <span class="application">Lire</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Anonymized Client Installation</td></tr></table></div></body></html>
|