File: installation.htm

package info (click to toggle)
lprng 3.8.10-1.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 13,076 kB
  • ctags: 4,348
  • sloc: ansic: 35,394; sh: 10,756; perl: 2,210; makefile: 1,046
file content (270 lines) | stat: -rw-r--r-- 9,650 bytes parent folder | download
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org">
    <title>Installation</title>
    <meta name="GENERATOR" content=
    "Modular DocBook HTML Stylesheet Version 1.71 ">
    <link rel="HOME" title=" LPRng-HOWTO" href="index.htm">
    <link rel="PREVIOUS" title="References and Standards" href=
    "x290.htm">
    <link rel="NEXT" title=
    "PATH Environment Variable and Utilities" href="x432.htm">
  </head>

  <body class="CHAPTER" bgcolor="#FFFFFF" text="#000000" link=
  "#0000FF" vlink="#840084" alink="#0000FF">
    <div class="NAVHEADER">
      <table summary="Header navigation table" width="100%" border=
      "0" cellpadding="0" cellspacing="0">
        <tr>
          <th colspan="3" align="center">LPRng-HOWTO: 1 Apr 2002
          (For LPRng-3.8.10)</th>
        </tr>

        <tr>
          <td width="10%" align="left" valign="bottom"><a href=
          "x290.htm" accesskey="P">Prev</a></td>

          <td width="80%" align="center" valign="bottom">
          </td>

          <td width="10%" align="right" valign="bottom"><a href=
          "x432.htm" accesskey="N">Next</a></td>
        </tr>
      </table>
      <hr align="LEFT" width="100%">
    </div>

    <div class="CHAPTER">
      <h1><a name="INSTALLATION">Chapter 2. Installation</a></h1>

      <div class="TOC">
        <dl>
          <dt><b>Table of Contents</b></dt>

          <dt>2.1. <a href="installation.htm#AEN349">Getting Source
          Code and Support Programs</a></dt>

          <dt>2.2. <a href="x432.htm"><tt class="ENVAR">PATH</tt>
          Environment Variable and Utilities</a></dt>

          <dt>2.3. <a href="nfsmount.htm">Network Mounted File
          System and Spool Directories</a></dt>

          <dt>2.4. <a href="usergroup.htm">Daemon User and Daemon
          Group</a></dt>

          <dt>2.5. <a href="x484.htm">Configuration</a></dt>

          <dt>2.6. <a href="requireconfig.htm">System and User
          Printcap, lpd.conf, and lpd.perms files</a></dt>

          <dt>2.7. <a href="x885.htm">Checking System Installation
          with <b class="APPLICATION">checkpc</b></a></dt>

          <dt>2.8. <a href="x921.htm">Compilation and
          Install</a></dt>

          <dt>2.9. <a href="x959.htm">Installation
          Problems</a></dt>

          <dt>2.10. <a href="update.htm">Updating Print Spooler
          Software and Startup Scripts</a></dt>

          <dt>2.11. <a href="lpsimulation.htm">Emulation for UNIX
          SystemV <b class="APPLICATION">lp</b> and <b class=
          "APPLICATION">lpstat</b></a></dt>

          <dt>2.12. <a href="smb.htm">SAMBA and <b class=
          "APPLICATION">LPRng</b></a></dt>

          <dt>2.13. <a href="setuid.htm">Security Concerns</a></dt>
        </dl>
      </div>

      <p>The basic components of the <b class=
      "APPLICATION">LPRng</b> system are the executables and the
      database files. This section deals with generating and
      installing the executable files.</p>

      <div class="SECT1">
        <h1 class="SECT1"><a name="AEN349">2.1. Getting Source Code
        and Support Programs</a></h1>

        <ol type="1">
          <li>
            <p>Obtain the latest or stable version of the <b class=
            "APPLICATION">LPRng</b> source code from a <a href=
            "secftp.htm"><b class="APPLICATION">LPRng</b> FTP
            Site</a>.</p>
          </li>

          <li>
            <p>Obtain the latest or stable version of the <b class=
            "APPLICATION">ifhp</b> filter source code from a <a
            href="secftp.htm"><b class="APPLICATION">LPRng</b> FTP
            Site</a>. This filter is used to support PostScript,
            PCL, and text printers.</p>
          </li>

          <li>
            <p>Obtain the following GNU programs from one of the
            many <a href="http://www.gnu.org" target="_top">GNU
            Software Mirror Sites</a> and install them. See the
            directions in the GNU Zip distribution for details.</p>

            <div class="VARIABLELIST">
              <dl>
                <dt>GNU <b class="APPLICATION">gzip</b> Compression
                Utility</dt>

                <dd>
                  <p>Used to generate the compressed <b class=
                  "APPLICATION">LPRng</b> distribution.</p>
                </dd>

                <dt>GNU <b class="APPLICATION">tar</b> Archive
                Utility</dt>

                <dd>
                  <p><a href="http://www.gnu.org" target=
                  "_top">GNU</a> <b class="APPLICATION">tar</b>
                  supports <b class="APPLICATION">gzip</b>
                  compression and decompression and is used to
                  generate the <b class="APPLICATION">LPRng</b>
                  distribution.</p>
                </dd>

                <dt>GNU <b class="APPLICATION">make</b></dt>

                <dd>
                  <p><b class="APPLICATION">LPRng</b> requires <a
                  href="http://www.gnu.org" target="_top">GNU</a>
                  <b class="APPLICATION">make</b> for configuration
                  and installation.</p>
                </dd>

                <dt>GNU <b class="APPLICATION">gcc</b> Compiler or
                ANSI C Compiler</dt>

                <dd>
                  <p><b class="APPLICATION">LPRng</b> requires and
                  ANSI C compiler. If you do not have an ANSI C
                  compiler then please use the <a href=
                  "http://www.gnu.org" target="_top">GNU</a> <b
                  class="APPLICATION">gcc</b> compiler.</p>
                </dd>
              </dl>
            </div>
            <br>
            <br>
          </li>

          <li>
            <p>Solaris Sparc and X86 Binaries for GCC and Make can
            be obtained from <a href="http://sunfreeware.com/"
            target="_top">http://sunfreeware.com/</a>.</p>
          </li>

          <li>
            <p>While the following are not essential to <b class=
            "APPLICATION">LPRng</b> they are used by the <b class=
            "APPLICATION">ifhp</b> filter.</p>

            <div class="VARIABLELIST">
              <dl>
                <dt><b class="APPLICATION">file</b> - File
                Identification Utility</dt>

                <dd>
                  <a name="FILEPROG"></a>

                  <p>The Open Source <b class=
                  "APPLICATION">file</b> utility by Ian F. Darwin
                  can be obtained from <a href=
                  "ftp://ftp.astron.com/pub/file/" target=
                  "_top">ftp://ftp.astron.com/pub/file/</a>. or <a
                  href=
                  "ftp://ftp.lprng.com/pub/LPRng/UNIXTOOLS/file/"
                  target=
                  "_top">ftp://ftp.lprng.com/pub/LPRng/UNIXTOOLS/file/</a>.
                  This is a greatly improved version of the
                  original UNIX file utility and may be used by the
                  <b class="APPLICATION">ifhp</b> filter to do file
                  recognition.</p>
                </dd>

                <dt><b class="APPLICATION">gs</b> -
                GhostScript</dt>

                <dd>
                  <a name="GHOSTSCRIPT"></a>

                  <p>GhostScript can be obtained from <a href=
                  "http://www.cs.wisc.edu/~ghost/" target=
                  "_top">http://www.cs.wisc.edu/~ghost/</a> or <a
                  href="http://www.ghostscript.com" target=
                  "_top">http://www.ghostscript.com</a>.
                  GhostScript is a PostScript interpreter that
                  allows you to translate PostScript to various
                  printer compatible formats such as PCL, as well
                  as displaying the code on a terminal. You might
                  also want to get the PDF extensions that allows
                  GhostScript to read and print PDF files.</p>
                </dd>

                <dt><b class="APPLICATION">gv</b> - GhostView</dt>

                <dd>
                  <a name="GV"></a>

                  <p>Of course you will want to get the <b class=
                  "APPLICATION">gv</b> program that uses
                  GhostScript to display PostScript on an X
                  terminal. It can be obtained from <a href=
                  "http://wwwthep.physik.uni-mainz.de/~plass/gv/"
                  target=
                  "_top">http://wwwthep.physik.uni-mainz.de/~plass/gv/</a></p>
                </dd>
              </dl>
            </div>
            <br>
            <br>
          </li>
        </ol>
        <br>
        <br>
      </div>
    </div>

    <div class="NAVFOOTER">
      <hr align="LEFT" width="100%">

      <table summary="Footer navigation table" width="100%" border=
      "0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="33%" align="left" valign="top"><a href=
          "x290.htm" accesskey="P">Prev</a></td>

          <td width="34%" align="center" valign="top"><a href=
          "index.htm" accesskey="H">Home</a></td>

          <td width="33%" align="right" valign="top"><a href=
          "x432.htm" accesskey="N">Next</a></td>
        </tr>

        <tr>
          <td width="33%" align="left" valign="top">References and
          Standards</td>

          <td width="34%" align="center" valign="top">&nbsp;</td>

          <td width="33%" align="right" valign="top"><tt class=
          "ENVAR">PATH</tt> Environment Variable and Utilities</td>
        </tr>
      </table>
    </div>
  </body>
</html>