glfs/general/sysutils/lsb-tools.xml
Pierre Labastie b1532549fc Format sysutils
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22859 af4574ff-66df-0310-9fd7-8a98e5e911e0
2020-03-19 10:00:16 +00:00

179 lines
5.2 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!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/djlucas/LSB-Tools/releases/download/v&lsb-tools-version;/LSB-Tools-&lsb-tools-version;.tar.gz">
<!ENTITY lsb-tools-download-ftp " ">
<!ENTITY lsb-tools-md5sum "2f692dca56d371a085d2cbf9fdb606af">
<!ENTITY lsb-tools-size "16 KB">
<!ENTITY lsb-tools-buildsize "180 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"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<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>
&lfs91_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>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/LSB-Tools"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of LSB-Tools</title>
<para>
Install <application>lsb_release</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/chapter09/theend.html">LFS</ulink>.</phrase>
<phrase revision="systemd">
<ulink url="&lfs-website;/lfs/view/systemd/chapter09/theend.html">LFS</ulink>
and
<ulink url="&lfs-website;/lfs/view/systemd/chapter06/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>
LSB_Tools-&lsb-tools-version;-py&python3-majorver;.egg-info
</seg>
<seg>/usr/lib/lsb and
/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>