[35865a73] | 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">
|
---|
[8dfc5c3] | 5 |
|
---|
| 6 | <!ENTITY lsb-release-download-http "&sourceforge-dl;/lsb/lsb-release-&lsb-release-version;.tar.gz">
|
---|
[35865a73] | 7 | <!ENTITY lsb-release-download-ftp " ">
|
---|
| 8 | <!ENTITY lsb-release-md5sum "30537ef5a01e0ca94b7b8eb6a36bb1e4">
|
---|
| 9 | <!ENTITY lsb-release-size "12 KB">
|
---|
| 10 | <!ENTITY lsb-release-buildsize "80 KB">
|
---|
| 11 | <!ENTITY lsb-release-time "less than 0.1 SBU">
|
---|
| 12 |
|
---|
| 13 | %general-entities;
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="lsb-release" xreflabel="lsb_release-&lsb-release-version;">
|
---|
| 17 | <?dbhtml filename="lsb-release.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>lsb_release-&lsb-release-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="lsb-release">
|
---|
[07bc7db] | 27 | <primary sortas="a-lsb-release">lsb_release</primary>
|
---|
[35865a73] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to lsb_release</title>
|
---|
| 32 |
|
---|
[0d7900a] | 33 | <para>The <application>lsb_release</application> script gives information
|
---|
[35865a73] | 34 | about the Linux Standards Base (LSB) status of the distribution.</para>
|
---|
| 35 |
|
---|
[4bf60a36] | 36 | &lfs81_checked;
|
---|
[35865a73] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&lsb-release-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&lsb-release-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &lsb-release-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &lsb-release-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &lsb-release-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &lsb-release-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
[0d7900a] | 59 |
|
---|
[35865a73] | 60 | <para condition="html" role="usernotes">User Notes:
|
---|
| 61 | <ulink url="&blfs-wiki;/lsb_release"/></para>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2 role="installation">
|
---|
| 66 | <title>Installation of lsb_release</title>
|
---|
| 67 |
|
---|
[9cbbf24b] | 68 | <para>First fix a minor display problem:</para>
|
---|
| 69 |
|
---|
| 70 | <screen><userinput>sed -i "s|n/a|unavailable|" lsb_release</userinput></screen>
|
---|
| 71 |
|
---|
[35865a73] | 72 | <para>Install <application>lsb_release</application> by running the following
|
---|
| 73 | commands:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput>./help2man -N --include ./lsb_release.examples \
|
---|
| 76 | --alt_version_key=program_version ./lsb_release > lsb_release.1</userinput></screen>
|
---|
| 77 |
|
---|
| 78 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 79 |
|
---|
[de5068d] | 80 | <screen role="root"><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1/lsb_release.1 &&
|
---|
[35865a73] | 81 | install -v -m 755 lsb_release /usr/bin/lsb_release</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
[9cbbf24b] | 85 | <sect2>
|
---|
| 86 | <title>Configuration Information</title>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
[f3429309] | 89 | The configuration for this package was done in
|
---|
| 90 | <ulink url="&lfs-website;/lfs/view/stable/chapter09/theend.html">LFS</ulink>.
|
---|
[9cbbf24b] | 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>
|
---|
[39dcb8be] | 94 | <!--
|
---|
[13e5884] | 95 | <para>
|
---|
| 96 | Add the current package version to <filename>/etc/lsb-release</filename>.
|
---|
| 97 | As the <systemitem class="username">root</systemitem> user:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>echo 'LSB_VERSION="&lsb-release-version;"' >> /etc/lsb-release</userinput></screen>
|
---|
[39dcb8be] | 101 | -->
|
---|
[9cbbf24b] | 102 | </sect2>
|
---|
| 103 |
|
---|
[35865a73] | 104 | <sect2 role="content">
|
---|
| 105 | <title>Contents</title>
|
---|
| 106 |
|
---|
| 107 | <segmentedlist>
|
---|
| 108 | <segtitle>Installed Programs</segtitle>
|
---|
| 109 | <segtitle>Installed Library</segtitle>
|
---|
| 110 | <segtitle>Installed Directories</segtitle>
|
---|
| 111 |
|
---|
| 112 | <seglistitem>
|
---|
| 113 | <seg>lsb_release</seg>
|
---|
| 114 | <seg>None</seg>
|
---|
| 115 | <seg>None</seg>
|
---|
| 116 | </seglistitem>
|
---|
| 117 | </segmentedlist>
|
---|
| 118 |
|
---|
| 119 | <variablelist>
|
---|
| 120 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 121 | <?dbfo list-presentation="list"?>
|
---|
| 122 | <?dbhtml list-presentation="table"?>
|
---|
| 123 |
|
---|
| 124 | <varlistentry id="lsb_release-prog">
|
---|
| 125 | <term><command>lsb_release</command></term>
|
---|
| 126 | <listitem>
|
---|
| 127 | <para>is a script to give LSB data.</para>
|
---|
[07bc7db] | 128 | <indexterm zone="lsb-release lsb_release-prog">
|
---|
[35865a73] | 129 | <primary sortas="b-lsb-release">lsb_release</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 | </variablelist>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | </sect1>
|
---|