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/djlucas/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 "9748ac3a6b792c2e9d69ff85d59a83d5">
|
---|
9 | <!ENTITY lsb-tools-size "12 KB">
|
---|
10 | <!ENTITY lsb-tools-buildsize "152 KB">
|
---|
11 | <!ENTITY lsb-tools-time "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 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>LSB-Tools-&lsb-tools-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="lsb-tools">
|
---|
27 | <primary sortas="a-lsb-tools">LSB-Tools</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to LSB-Tools</title>
|
---|
32 |
|
---|
33 | <para>The <application>LSB-Tools</application> package includes tools
|
---|
34 | for Linux Standards Base (LSB) conformance.</para>
|
---|
35 |
|
---|
36 | &lfs90_checked;
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&lsb-tools-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&lsb-tools-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &lsb-tools-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &lsb-tools-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &lsb-tools-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &lsb-tools-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <para condition="html" role="usernotes">User Notes:
|
---|
61 | <ulink url="&blfs-wiki;/LSB-Tools"/></para>
|
---|
62 |
|
---|
63 | </sect2>
|
---|
64 |
|
---|
65 | <sect2 role="installation">
|
---|
66 | <title>Installation of LSB-Tools</title>
|
---|
67 |
|
---|
68 | <para>Install <application>lsb_release</application> by running the following
|
---|
69 | commands:</para>
|
---|
70 |
|
---|
71 | <screen><userinput>python3 setup.py build</userinput></screen>
|
---|
72 |
|
---|
73 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
74 |
|
---|
75 | <screen role="root"><userinput>python3 setup.py install --optimize=1 &&
|
---|
76 | ln -sv /usr/lib/lsb/install_initd /usr/sbin &&
|
---|
77 | ln -sv /usr/lib/lsb/remove_initd /usr/sbin</userinput></screen>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2>
|
---|
82 | <title>Configuration Information</title>
|
---|
83 |
|
---|
84 | <para>
|
---|
85 | The configuration for this package was done in <phrase revision="sysv">
|
---|
86 | <ulink url="&lfs-website;/lfs/view/stable/chapter09/theend.html">LFS</ulink>.</phrase>
|
---|
87 | <phrase revision="systemd">
|
---|
88 | <ulink url="&lfs-website;/lfs/view/systemd/chapter09/theend.html">LFS</ulink>
|
---|
89 | and
|
---|
90 | <ulink url="&lfs-website;/lfs/view/systemd/chapter06/systemd.html">Systemd</ulink>.</phrase>
|
---|
91 | The file <filename>/etc/lsb-release</filename> should already exist.
|
---|
92 | Be sure that the DISTRIB_CODENAME entry has been set properly.
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="content">
|
---|
98 | <title>Contents</title>
|
---|
99 |
|
---|
100 | <segmentedlist>
|
---|
101 | <segtitle>Installed Programs</segtitle>
|
---|
102 | <segtitle>Installed Directories</segtitle>
|
---|
103 |
|
---|
104 | <seglistitem>
|
---|
105 | <seg>
|
---|
106 | lsb_release,
|
---|
107 | install_initd, and
|
---|
108 | remove_initd
|
---|
109 | </seg>
|
---|
110 | <seg>/usr/lib/lsb and
|
---|
111 | /usr/lib/python3.7/site-packages/lsbtools
|
---|
112 | </seg>
|
---|
113 | </seglistitem>
|
---|
114 | </segmentedlist>
|
---|
115 |
|
---|
116 | <variablelist>
|
---|
117 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
118 | <?dbfo list-presentation="list"?>
|
---|
119 | <?dbhtml list-presentation="table"?>
|
---|
120 |
|
---|
121 | <varlistentry id="lsb_release">
|
---|
122 | <term><command>lsb_release</command></term>
|
---|
123 | <listitem>
|
---|
124 | <para>is a script to give LSB data.</para>
|
---|
125 | <indexterm zone="lsb-tools lsb_release">
|
---|
126 | <primary sortas="b-lsb-tools">lsb_release</primary>
|
---|
127 | </indexterm>
|
---|
128 | </listitem>
|
---|
129 | </varlistentry>
|
---|
130 | <varlistentry id="install_initd">
|
---|
131 | <term><command>install_initd</command></term>
|
---|
132 | <listitem>
|
---|
133 | <para>is a script to activate SysV startup scripts.</para>
|
---|
134 | <indexterm zone="lsb-tools install_initd">
|
---|
135 | <primary sortas="b-lsb-tools">install_initd</primary>
|
---|
136 | </indexterm>
|
---|
137 | </listitem>
|
---|
138 | </varlistentry>
|
---|
139 | <varlistentry id="remove_initd">
|
---|
140 | <term><command>remove_initd</command></term>
|
---|
141 | <listitem>
|
---|
142 | <para>is a script to deactivate SysV startup scripts.</para>
|
---|
143 | <indexterm zone="lsb-tools remove_initd">
|
---|
144 | <primary sortas="b-lsb-tools">remove_initd</primary>
|
---|
145 | </indexterm>
|
---|
146 | </listitem>
|
---|
147 | </varlistentry>
|
---|
148 | </variablelist>
|
---|
149 |
|
---|
150 | </sect2>
|
---|
151 |
|
---|
152 | </sect1>
|
---|