source: general/genutils/bc.xml@ ff769b8c

10.0 10.1 11.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since ff769b8c was ff769b8c, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated the XML sources to use DocBook XML DTD-4.4.

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

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY bc-download-http "http://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
8<!ENTITY bc-download-ftp "ftp://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
9<!ENTITY bc-md5sum "d44b5dddebd8a7a7309aea6c36fda117">
10<!ENTITY bc-size "278 KB">
11<!ENTITY bc-buildsize "2.31 MB">
12<!ENTITY bc-time "0.04 SBU">
13]>
14
15<sect1 id="bc" xreflabel="bc-&bc-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="bc.html"?>
21<title>bc-&bc-version;</title>
22<indexterm zone="bc">
23<primary sortas="a-Bc">Bc</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>bc</application></title>
27
28<para>The <application>bc</application> package contains
29an arbitrary precision numeric processing language.</para>
30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP): <ulink
34url="&bc-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink
36url="&bc-download-ftp;"/></para></listitem>
37<listitem><para>Download MD5 sum: &bc-md5sum;</para></listitem>
38<listitem><para>Download size: &bc-size;</para></listitem>
39<listitem><para>Estimated disk space required:
40&bc-buildsize;</para></listitem>
41<listitem><para>Estimated build time:
42&bc-time;</para></listitem></itemizedlist>
43</sect3>
44
45<sect3><title>Additional downloads</title>
46<itemizedlist spacing='compact'>
47<listitem><para>Required Patch: <ulink
48url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para></listitem>
49<listitem><para>Required Patch: <ulink
50url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para></listitem>
51</itemizedlist></sect3>
52
53</sect2>
54
55<sect2>
56<title>Installation of <command>bc</command></title>
57
58<para>Install <command>bc</command> by running the following commands:</para>
59
60<screen><userinput><command>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &amp;&amp;
61patch -Np1 -i ../bc-&bc-version;-readline-1.patch &amp;&amp;
62./configure --prefix=/usr --with-readline &amp;&amp;
63make</command></userinput></screen>
64
65<para>Now, as the root user:</para>
66
67<screen><userinput role='root'><command>make install</command></userinput></screen>
68
69</sect2>
70
71<sect2>
72<title>Contents</title>
73
74<segmentedlist>
75<segtitle>Installed Programs</segtitle>
76<segtitle>Installed Libraries</segtitle>
77<segtitle>Installed Directories</segtitle>
78
79<seglistitem>
80<seg>bc and dc</seg>
81<seg>None</seg>
82<seg>None</seg>
83</seglistitem>
84</segmentedlist>
85
86<variablelist>
87<bridgehead renderas="sect3">Short Descriptions</bridgehead>
88<?dbfo list-presentation="list"?>
89
90<varlistentry id="bc-prog">
91<term><command>bc</command></term>
92<listitem><para>is a calculator.</para>
93<indexterm zone="bc bc-prog">
94<primary sortas="b-bc">bc</primary>
95</indexterm></listitem>
96</varlistentry>
97
98<varlistentry id="dc">
99<term><command>dc</command></term>
100<listitem><para>is a reverse-polish calculator.</para>
101<indexterm zone="bc dc">
102<primary sortas="b-dc">dc</primary>
103</indexterm></listitem>
104</varlistentry>
105</variablelist>
106
107</sect2>
108
109</sect1>
110
Note: See TracBrowser for help on using the repository browser.