1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 |
|
---|
6 | <!ENTITY lsb-tools-download-http "https://github.com/lfs-book/LSB-Tools/releases/download/v&lsb-tools-version;/LSB-Tools-&lsb-tools-version;.tar.gz">
|
---|
7 | <!ENTITY lsb-tools-download-ftp " ">
|
---|
8 | <!ENTITY lsb-tools-md5sum "846c7ee94989c7d48d386c875dbd1d9f">
|
---|
9 | <!ENTITY lsb-tools-size "19 KB">
|
---|
10 | <!ENTITY lsb-tools-buildsize "428 KB">
|
---|
11 | <!ENTITY lsb-tools-time "less than 0.1 SBU">
|
---|
12 |
|
---|
13 | %general-entities;
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="lsb-tools" xreflabel="lsb-tools-&lsb-tools-version;">
|
---|
17 | <?dbhtml filename="lsb-tools.html"?>
|
---|
18 |
|
---|
19 |
|
---|
20 | <title>LSB-Tools-&lsb-tools-version;</title>
|
---|
21 |
|
---|
22 | <indexterm zone="lsb-tools">
|
---|
23 | <primary sortas="a-lsb-tools">LSB-Tools</primary>
|
---|
24 | </indexterm>
|
---|
25 |
|
---|
26 | <sect2 role="package">
|
---|
27 | <title>Introduction to LSB-Tools</title>
|
---|
28 |
|
---|
29 | <para>
|
---|
30 | The <application>LSB-Tools</application> package includes tools
|
---|
31 | for Linux Standards Base (LSB) conformance.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs120_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&lsb-tools-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&lsb-tools-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &lsb-tools-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &lsb-tools-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &lsb-tools-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &lsb-tools-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2 role="installation">
|
---|
74 | <title>Installation of LSB-Tools</title>
|
---|
75 |
|
---|
76 | <para>
|
---|
77 | Install <application>LSB-Tools</application> by running the following
|
---|
78 | commands:
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <screen><userinput>python3 setup.py build</userinput></screen>
|
---|
82 |
|
---|
83 | <para>
|
---|
84 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
---|
88 |
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2>
|
---|
92 | <title>Configuration Information</title>
|
---|
93 |
|
---|
94 | <para>
|
---|
95 | The configuration for this package was done in <phrase revision="sysv">
|
---|
96 | <ulink url="&lfs-website;/lfs/view/stable/chapter11/theend.html">LFS</ulink>.</phrase>
|
---|
97 | <phrase revision="systemd">
|
---|
98 | <ulink url="&lfs-website;/lfs/view/systemd/chapter11/theend.html">LFS</ulink>
|
---|
99 | and
|
---|
100 | <ulink url="&lfs-website;/lfs/view/systemd/chapter08/systemd.html">Systemd</ulink>.</phrase>
|
---|
101 | The file <filename>/etc/lsb-release</filename> should already exist.
|
---|
102 | Be sure that the DISTRIB_CODENAME entry has been set properly.
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2 role="content">
|
---|
108 | <title>Contents</title>
|
---|
109 |
|
---|
110 | <segmentedlist>
|
---|
111 | <segtitle>Installed Programs</segtitle>
|
---|
112 | <segtitle>Installed Library</segtitle>
|
---|
113 | <segtitle>Installed Directories</segtitle>
|
---|
114 |
|
---|
115 | <seglistitem>
|
---|
116 | <seg>
|
---|
117 | lsb_release,
|
---|
118 | install_initd, and
|
---|
119 | remove_initd
|
---|
120 | </seg>
|
---|
121 | <seg>
|
---|
122 | None
|
---|
123 | </seg>
|
---|
124 | <seg>
|
---|
125 | <phrase revision="systemd">/usr/lib/lsb and</phrase>
|
---|
126 | /usr/lib/python&python3-majorver;/site-packages/lsbtools
|
---|
127 | </seg>
|
---|
128 | </seglistitem>
|
---|
129 | </segmentedlist>
|
---|
130 |
|
---|
131 | <variablelist>
|
---|
132 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
133 | <?dbfo list-presentation="list"?>
|
---|
134 | <?dbhtml list-presentation="table"?>
|
---|
135 |
|
---|
136 | <varlistentry id="lsb_release">
|
---|
137 | <term><command>lsb_release</command></term>
|
---|
138 | <listitem>
|
---|
139 | <para>
|
---|
140 | is a script to give LSB data
|
---|
141 | </para>
|
---|
142 | <indexterm zone="lsb-tools lsb_release">
|
---|
143 | <primary sortas="b-lsb-tools">lsb_release</primary>
|
---|
144 | </indexterm>
|
---|
145 | </listitem>
|
---|
146 | </varlistentry>
|
---|
147 | <varlistentry id="install_initd">
|
---|
148 | <term><command>install_initd</command></term>
|
---|
149 | <listitem>
|
---|
150 | <para>
|
---|
151 | is a script to activate SysV startup scripts
|
---|
152 | </para>
|
---|
153 | <indexterm zone="lsb-tools install_initd">
|
---|
154 | <primary sortas="b-lsb-tools">install_initd</primary>
|
---|
155 | </indexterm>
|
---|
156 | </listitem>
|
---|
157 | </varlistentry>
|
---|
158 | <varlistentry id="remove_initd">
|
---|
159 | <term><command>remove_initd</command></term>
|
---|
160 | <listitem>
|
---|
161 | <para>
|
---|
162 | is a script to deactivate SysV startup scripts
|
---|
163 | </para>
|
---|
164 | <indexterm zone="lsb-tools remove_initd">
|
---|
165 | <primary sortas="b-lsb-tools">remove_initd</primary>
|
---|
166 | </indexterm>
|
---|
167 | </listitem>
|
---|
168 | </varlistentry>
|
---|
169 | </variablelist>
|
---|
170 |
|
---|
171 | </sect2>
|
---|
172 |
|
---|
173 | </sect1>
|
---|