glfs/general/sysutils/lsb-tools.xml
2024-01-19 22:39:35 +01:00

174 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
<!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">
<!ENTITY lsb-tools-download-ftp " ">
<!ENTITY lsb-tools-md5sum "846c7ee94989c7d48d386c875dbd1d9f">
<!ENTITY lsb-tools-size "19 KB">
<!ENTITY lsb-tools-buildsize "428 KB">
<!ENTITY lsb-tools-time "less than 0.1 SBU">
%general-entities;
]>
<sect1 id="lsb-tools" xreflabel="lsb-tools-&lsb-tools-version;">
<?dbhtml filename="lsb-tools.html"?>
<title>LSB-Tools-&lsb-tools-version;</title>
<indexterm zone="lsb-tools">
<primary sortas="a-lsb-tools">LSB-Tools</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to LSB-Tools</title>
<para>
The <application>LSB-Tools</application> package includes tools
for Linux Standards Base (LSB) conformance.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&lsb-tools-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&lsb-tools-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &lsb-tools-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &lsb-tools-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &lsb-tools-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &lsb-tools-time;
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of LSB-Tools</title>
<para>
Install <application>LSB-Tools</application> by running the following
commands:
</para>
<screen><userinput>python3 setup.py build</userinput></screen>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
</sect2>
<sect2>
<title>Configuration Information</title>
<para>
The configuration for this package was done in <phrase revision="sysv">
<ulink url="&lfs-website;/lfs/view/stable/chapter11/theend.html">LFS</ulink>.</phrase>
<phrase revision="systemd">
<ulink url="&lfs-website;/lfs/view/systemd/chapter11/theend.html">LFS</ulink>
and
<ulink url="&lfs-website;/lfs/view/systemd/chapter08/systemd.html">Systemd</ulink>.</phrase>
The file <filename>/etc/lsb-release</filename> should already exist.
Be sure that the DISTRIB_CODENAME entry has been set properly.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
lsb_release,
install_initd, and
remove_initd
</seg>
<seg>
None
</seg>
<seg>
<phrase revision="systemd">/usr/lib/lsb and</phrase>
/usr/lib/python&python3-majorver;/site-packages/lsbtools
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="lsb_release">
<term><command>lsb_release</command></term>
<listitem>
<para>
is a script to give LSB data
</para>
<indexterm zone="lsb-tools lsb_release">
<primary sortas="b-lsb-tools">lsb_release</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="install_initd">
<term><command>install_initd</command></term>
<listitem>
<para>
is a script to activate SysV startup scripts
</para>
<indexterm zone="lsb-tools install_initd">
<primary sortas="b-lsb-tools">install_initd</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="remove_initd">
<term><command>remove_initd</command></term>
<listitem>
<para>
is a script to deactivate SysV startup scripts
</para>
<indexterm zone="lsb-tools remove_initd">
<primary sortas="b-lsb-tools">remove_initd</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>