summaryrefslogtreecommitdiffstats
path: root/slackbook/html/package-management-making-tags-and-tagfiles.html
blob: 9c82bdf081e57ffd9a0eb19812e82697887d5b2e (plain) (blame)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org" />
<title>Making Tags and Tagfiles (for setup)</title>
<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" />
<link rel="HOME" title="Slackware Linux Essentials" href="index.html" />
<link rel="UP" title="Slackware Package Management" href="package-management.html" />
<link rel="PREVIOUS" title="Making Packages"
href="package-management-making-packages.html" />
<link rel="NEXT" title="ZipSlack" href="zipslack.html" />
<link rel="STYLESHEET" type="text/css" href="docbook.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body class="SECT1" 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">Slackware Linux Essentials</th>
</tr>

<tr>
<td width="10%" align="left" valign="bottom"><a
href="package-management-making-packages.html" accesskey="P">Prev</a></td>
<td width="80%" align="center" valign="bottom">Chapter 18 Slackware Package
Management</td>
<td width="10%" align="right" valign="bottom"><a href="zipslack.html"
accesskey="N">Next</a></td>
</tr>
</table>

<hr align="LEFT" width="100%" />
</div>

<div class="SECT1">
<h1 class="SECT1"><a id="PACKAGE-MANAGEMENT-MAKING-TAGS-AND-TAGFILES"
name="PACKAGE-MANAGEMENT-MAKING-TAGS-AND-TAGFILES">18.4 Making Tags and Tagfiles (for
setup)</a></h1>

<p>The Slackware setup program handles installation of the software packages on your
system. There are files that tell the setup program which packages must be installed,
which ones are optional, and which ones are selected by default by the setup program.</p>

<p>A tagfile is in the first software series directory and is called tagfile. It lists
the packages in that particular disk set and their status. The status can be:</p>

<div class="TABLE"><a id="AEN6621" name="AEN6621"></a>
<p><b>Table 18-3. Tagfile Status Options</b></p>

<table border="0" frame="void" width="100%" class="CALSTABLE">
<col width="25%" />
<col width="75%" />
<thead>
<tr>
<th>Option</th>
<th>Meaning</th>
</tr>
</thead>

<tbody>
<tr>
<td>ADD</td>
<td>The package is required for proper system operation</td>
</tr>

<tr>
<td>SKP</td>
<td>The package will be automatically skipped</td>
</tr>

<tr>
<td>REC</td>
<td>The package is not required, but recommended</td>
</tr>

<tr>
<td>OPT</td>
<td>The package is optional</td>
</tr>
</tbody>
</table>
</div>

<p>The format is simply:</p>

<table border="0" bgcolor="#E0E0E0" width="100%">
<tr>
<td>
<pre class="SCREEN">
package_name: status
</pre>
</td>
</tr>
</table>

<p>One package per line. The original tagfiles for each software series are stored as
tagfile.org. So if you mess up yours, you can restore the original one.</p>

<p>Many administrators prefer writing their own tagfiles and starting the installer and
selecting &#8220;full&#8221;. The setup program will read the tagfiles and perform the
installation according to their contents. If you use REC or OPT, a dialog box will be
presented to the user asking whether or not they want a particular package. Therefore, it
is recommended that you stick with ADD and SKP when writing tagfiles for automated
installs.</p>

<p>Just make sure your tagfiles are written to the same location as the originals. Or you
can specify a custom tagfile path if you have custom tagfiles.</p>
</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="package-management-making-packages.html" accesskey="P">Prev</a></td>
<td width="34%" align="center" valign="top"><a href="index.html"
accesskey="H">Home</a></td>
<td width="33%" align="right" valign="top"><a href="zipslack.html"
accesskey="N">Next</a></td>
</tr>

<tr>
<td width="33%" align="left" valign="top">Making Packages</td>
<td width="34%" align="center" valign="top"><a href="package-management.html"
accesskey="U">Up</a></td>
<td width="33%" align="right" valign="top">ZipSlack</td>
</tr>
</table>
</div>
</body>
</html>