source: general/genlib/libbytesize.xml@ f1398b1f

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since f1398b1f was f1398b1f, checked in by Douglas R. Reno <renodr@…>, 23 months ago

libbytesize: Document the correct python3 version

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22842 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.0 KB
Line 
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 %general-entities;
6
7 <!ENTITY libbytesize-download-http "https://github.com/storaged-project/libbytesize/releases/download/&libbytesize-version;/libbytesize-&libbytesize-version;.tar.gz">
8 <!ENTITY libbytesize-download-ftp " ">
9 <!ENTITY libbytesize-md5sum "b3cde64313e1d0d72828a5c6729d2721">
10 <!ENTITY libbytesize-size "436 KB">
11 <!ENTITY libbytesize-buildsize "4.2 MB">
12 <!ENTITY libbytesize-time "less than 0.1 SBU (including tests)">
13]>
14
15<sect1 id="libbytesize" xreflabel="libbytesize-&libbytesize-version;">
16 <?dbhtml filename="libbytesize.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libbytesize-&libbytesize-version;</title>
24
25 <indexterm zone="libbytesize">
26 <primary sortas="a-libbytesize">libbytesize</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libbytesize</title>
31
32 <para>
33 The <application>libbytesize</application> package is a library
34 facilitates the common operations with sizes in bytes.
35 </para>
36
37 &lfs91_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&libbytesize-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&libbytesize-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &libbytesize-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &libbytesize-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &libbytesize-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &libbytesize-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libbytesize Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="pcre2"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="gtk-doc"/>,
83 <xref linkend="six"/> (needed for tests and python bindings),
84 <ulink url="https://github.com/rhinstaller/pocketlint/releases">pocketlint</ulink> (python module for one test), and
85 <ulink url="https://pypi.python.org/pypi/polib">polib</ulink> (python module for one test)
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/libbytesize"/>
90 </para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of libbytesize</title>
96
97 <para>
98 Install <application>libbytesize</application> by running the following
99 commands:
100 </para>
101
102<screen><userinput>./configure --prefix=/usr &amp;&amp;
103make</userinput></screen>
104
105 <para>
106 If you have the optional python modules installed, the regression
107 tests can be run with: <command>make check</command>.
108 </para>
109
110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
113
114<screen role="root"><userinput>make install</userinput></screen>
115
116 </sect2>
117<!--
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para>
122 <option>-i -without-python2</option>: If
123 <application>Python 2</application> is installed, use this switch to
124 prevent the use of <application>Python 2</application>. This may be
125 required to run the tests, if some of the needed python modules have been
126 installed for <application>Python 3</application> only.
127 </para>
128 </sect2>
129-->
130 <sect2 role="content">
131 <title>Contents</title>
132
133 <segmentedlist>
134 <segtitle>Installed Programs</segtitle>
135 <segtitle>Installed Library</segtitle>
136 <segtitle>Installed Directories</segtitle>
137
138 <seglistitem>
139 <seg>
140 bscalc
141 </seg>
142 <seg>
143 libbytesize.so
144 </seg>
145 <seg>
146 /usr/include/bytesize,
147 /usr/share/gtk-doc/html/libbytesize, and
148 /usr/lib/python3.8/site-packages/bytesize
149 </seg>
150 </seglistitem>
151 </segmentedlist>
152<!--
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="libbytesize-lib">
159 <term><filename class='libraryfile'>libbytesize.so</filename></term>
160 <listitem>
161 <para>
162 contains the ATA S.M.A.R.T API functions.
163 </para>
164 <indexterm zone="libbytesize libbytesize-lib">
165 <primary sortas="c-libbytesize">libbytesize.so</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169
170 </variablelist>
171-->
172 </sect2>
173
174</sect1>
Note: See TracBrowser for help on using the repository browser.