1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4  <head>
5    <meta name="generator" content="HTML Tidy, see www.w3.org">
6    <title>Installation</title>
7    <meta name="GENERATOR" content=
8    "Modular DocBook HTML Stylesheet Version 1.7">
9    <link rel="HOME" title=" LPRng Reference Manual" href=
10    "index.htm">
11    <link rel="PREVIOUS" title="References and Standards" href=
12    "x291.htm">
13    <link rel="NEXT" title=
14    "PATH Environment Variable and Utilities" href="x433.htm">
15  </head>
16
17  <body class="CHAPTER" bgcolor="#FFFFFF" text="#000000" link=
18  "#0000FF" vlink="#840084" alink="#0000FF">
19    <div class="NAVHEADER">
20      <table summary="Header navigation table" width="100%" border=
21      "0" cellpadding="0" cellspacing="0">
22        <tr>
23          <th colspan="3" align="center">LPRng Reference Manual: 5
24          Sep 2003 (For LPRng-3.8.22)</th>
25        </tr>
26
27        <tr>
28          <td width="10%" align="left" valign="bottom"><a href=
29          "x291.htm" accesskey="P">Prev</a></td>
30
31          <td width="80%" align="center" valign="bottom">
32          </td>
33
34          <td width="10%" align="right" valign="bottom"><a href=
35          "x433.htm" accesskey="N">Next</a></td>
36        </tr>
37      </table>
38      <hr align="LEFT" width="100%">
39    </div>
40
41    <div class="CHAPTER">
42      <h1><a name="INSTALLATION"></a>Chapter 2. Installation</h1>
43
44      <div class="TOC">
45        <dl>
46          <dt><b>Table of Contents</b></dt>
47
48          <dt>2.1. <a href="installation.htm#AEN350">Getting Source
49          Code and Support Programs</a></dt>
50
51          <dt>2.2. <a href="x433.htm"><var class="ENVAR">PATH</var>
52          Environment Variable and Utilities</a></dt>
53
54          <dt>2.3. <a href="nfsmount.htm">Network Mounted File
55          System and Spool Directories</a></dt>
56
57          <dt>2.4. <a href="usergroup.htm">Daemon User and Daemon
58          Group</a></dt>
59
60          <dt>2.5. <a href="x485.htm">Configuration</a></dt>
61
62          <dt>2.6. <a href="requireconfig.htm">System and User
63          Printcap, lpd.conf, and lpd.perms files</a></dt>
64
65          <dt>2.7. <a href="x926.htm">Checking System Installation
66          with <b class="APPLICATION">checkpc</b></a></dt>
67
68          <dt>2.8. <a href="x962.htm">Compilation and
69          Install</a></dt>
70
71          <dt>2.9. <a href="x1000.htm">Installation
72          Problems</a></dt>
73
74          <dt>2.10. <a href="update.htm">Updating Print Spooler
75          Software and Startup Scripts</a></dt>
76
77          <dt>2.11. <a href="lpsimulation.htm">Emulation for UNIX
78          SystemV <b class="APPLICATION">lp</b> and <b class=
79          "APPLICATION">lpstat</b></a></dt>
80
81          <dt>2.12. <a href="smb.htm">SAMBA and <b class=
82          "APPLICATION">LPRng</b></a></dt>
83
84          <dt>2.13. <a href="setuid.htm">Security Concerns</a></dt>
85        </dl>
86      </div>
87
88      <p>The basic components of the <b class=
89      "APPLICATION">LPRng</b> system are the executables and the
90      database files. This section deals with generating and
91      installing the executable files.</p>
92
93      <div class="SECT1">
94        <h1 class="SECT1"><a name="AEN350">2.1. Getting Source Code
95        and Support Programs</a></h1>
96
97        <ol type="1">
98          <li>
99            <p>Obtain the latest or stable version of the <b class=
100            "APPLICATION">LPRng</b> source code from a <a href=
101            "secftp.htm"><b class="APPLICATION">LPRng</b> FTP
102            Site</a>.</p>
103          </li>
104
105          <li>
106            <p>Obtain the latest or stable version of the <b class=
107            "APPLICATION">ifhp</b> filter source code from a <a
108            href="secftp.htm"><b class="APPLICATION">LPRng</b> FTP
109            Site</a>. This filter is used to support PostScript,
110            PCL, and text printers.</p>
111          </li>
112
113          <li>
114            <p>Obtain the following GNU programs from one of the
115            many <a href="http://www.gnu.org" target="_top">GNU
116            Software Mirror Sites</a> and install them. See the
117            directions in the GNU Zip distribution for details.</p>
118
119            <div class="VARIABLELIST">
120              <dl>
121                <dt>GNU <b class="APPLICATION">gzip</b> Compression
122                Utility</dt>
123
124                <dd>
125                  <p>Used to generate the compressed <b class=
126                  "APPLICATION">LPRng</b> distribution.</p>
127                </dd>
128
129                <dt>GNU <b class="APPLICATION">tar</b> Archive
130                Utility</dt>
131
132                <dd>
133                  <p><a href="http://www.gnu.org" target=
134                  "_top">GNU</a> <b class="APPLICATION">tar</b>
135                  supports <b class="APPLICATION">gzip</b>
136                  compression and decompression and is used to
137                  generate the <b class="APPLICATION">LPRng</b>
138                  distribution.</p>
139                </dd>
140
141                <dt>GNU <b class="APPLICATION">make</b></dt>
142
143                <dd>
144                  <p><b class="APPLICATION">LPRng</b> requires <a
145                  href="http://www.gnu.org" target="_top">GNU</a>
146                  <b class="APPLICATION">make</b> for configuration
147                  and installation.</p>
148                </dd>
149
150                <dt>GNU <b class="APPLICATION">gcc</b> Compiler or
151                ANSI C Compiler</dt>
152
153                <dd>
154                  <p><b class="APPLICATION">LPRng</b> requires and
155                  ANSI C compiler. If you do not have an ANSI C
156                  compiler then please use the <a href=
157                  "http://www.gnu.org" target="_top">GNU</a> <b
158                  class="APPLICATION">gcc</b> compiler.</p>
159                </dd>
160              </dl>
161            </div>
162            <br>
163            <br>
164          </li>
165
166          <li>
167            <p>Solaris Sparc and X86 Binaries for GCC and Make can
168            be obtained from <a href="http://sunfreeware.com/"
169            target="_top">http://sunfreeware.com/</a>.</p>
170          </li>
171
172          <li>
173            <p>While the following are not essential to <b class=
174            "APPLICATION">LPRng</b> they are used by the <b class=
175            "APPLICATION">ifhp</b> filter.</p>
176
177            <div class="VARIABLELIST">
178              <dl>
179                <dt><b class="APPLICATION">file</b> - File
180                Identification Utility</dt>
181
182                <dd>
183                  <a name="FILEPROG"></a>
184
185                  <p>The Open Source <b class=
186                  "APPLICATION">file</b> utility by Ian F. Darwin
187                  can be obtained from <a href=
188                  "ftp://ftp.astron.com/pub/file/" target=
189                  "_top">ftp://ftp.astron.com/pub/file/</a>. or <a
190                  href=
191                  "ftp://ftp.lprng.com/pub/LPRng/UNIXTOOLS/file/"
192                  target=
193                  "_top">ftp://ftp.lprng.com/pub/LPRng/UNIXTOOLS/file/</a>.
194                  This is a greatly improved version of the
195                  original UNIX file utility and may be used by the
196                  <b class="APPLICATION">ifhp</b> filter to do file
197                  recognition.</p>
198                </dd>
199
200                <dt><b class="APPLICATION">gs</b> -
201                GhostScript</dt>
202
203                <dd>
204                  <a name="GHOSTSCRIPT"></a>
205
206                  <p>GhostScript can be obtained from <a href=
207                  "http://www.cs.wisc.edu/~ghost/" target=
208                  "_top">http://www.cs.wisc.edu/~ghost/</a> or <a
209                  href="http://www.ghostscript.com" target=
210                  "_top">http://www.ghostscript.com</a>.
211                  GhostScript is a PostScript interpreter that
212                  allows you to translate PostScript to various
213                  printer compatible formats such as PCL, as well
214                  as displaying the code on a terminal. You might
215                  also want to get the PDF extensions that allows
216                  GhostScript to read and print PDF files.</p>
217                </dd>
218
219                <dt><b class="APPLICATION">gv</b> - GhostView</dt>
220
221                <dd>
222                  <a name="GV"></a>
223
224                  <p>Of course you will want to get the <b class=
225                  "APPLICATION">gv</b> program that uses
226                  GhostScript to display PostScript on an X
227                  terminal. It can be obtained from <a href=
228                  "http://wwwthep.physik.uni-mainz.de/~plass/gv/"
229                  target=
230                  "_top">http://wwwthep.physik.uni-mainz.de/~plass/gv/</a></p>
231                </dd>
232              </dl>
233            </div>
234            <br>
235            <br>
236          </li>
237        </ol>
238        <br>
239        <br>
240      </div>
241    </div>
242
243    <div class="NAVFOOTER">
244      <hr align="LEFT" width="100%">
245
246      <table summary="Footer navigation table" width="100%" border=
247      "0" cellpadding="0" cellspacing="0">
248        <tr>
249          <td width="33%" align="left" valign="top"><a href=
250          "x291.htm" accesskey="P">Prev</a></td>
251
252          <td width="34%" align="center" valign="top"><a href=
253          "index.htm" accesskey="H">Home</a></td>
254
255          <td width="33%" align="right" valign="top"><a href=
256          "x433.htm" accesskey="N">Next</a></td>
257        </tr>
258
259        <tr>
260          <td width="33%" align="left" valign="top">References and
261          Standards</td>
262
263          <td width="34%" align="center" valign="top">&nbsp;</td>
264
265          <td width="33%" align="right" valign="top"><var class=
266          "ENVAR">PATH</var> Environment Variable and
267          Utilities</td>
268        </tr>
269      </table>
270    </div>
271  </body>
272</html>
273
274