source: BOOK/final-system/common/bc.xml@ 5856ea8

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5856ea8 was 47eeca5, checked in by William Harrington <kb0iic@…>, 11 years ago

pacakge is to be package. Typo reported by Alexey Orishko.

  • Property mode set to 100644
File size: 2.2 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
8<sect1 id="ch-system-bc" role="wrap">
9 <?dbhtml filename="bc.html"?>
10
11 <title>Bc-&bc-version;</title>
12
13 <indexterm zone="ch-system-bc">
14 <primary sortas="a-Bc">Bc</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Bc package contains an arbitrary precision numeric processing language.</para>
21
22 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of Bc</title>
26
27 <para os="a">Prepare Bc for compilation:</para>
28
29<screen os="b"><userinput>./configure --prefix=/usr --with-readline \
30 --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen>
31
32 <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36 <para os="e">To test the results, issue:</para>
37
38<screen os="e2"><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>
39
40 <para os="f">Install the package:</para>
41
42<screen os="g"><userinput>make install</userinput></screen>
43
44 </sect2>
45
46 <sect2 id="contents-bc" role="content">
47 <title>Contents of Bc</title>
48
49 <segmentedlist>
50 <segtitle>Installed programs</segtitle>
51
52 <seglistitem>
53 <seg>bc and dc</seg>
54 </seglistitem>
55 </segmentedlist>
56
57 <variablelist>
58 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
59 <?dbfo list-presentation="list"?>
60 <?dbhtml list-presentation="table"?>
61
62 <varlistentry id="bc">
63 <term><command>bc</command></term>
64 <listitem>
65 <para>is a command line calculator</para>
66 <indexterm zone="ch-system-bc bc">
67 <primary sortas="b-bc">bc</primary>
68 </indexterm>
69 </listitem>
70 </varlistentry>
71
72 <varlistentry id="dc">
73 <term><command>dc</command></term>
74 <listitem>
75 <para>is a reverse-polish command line calculator</para>
76 <indexterm zone="ch-system-bc dc">
77 <primary sortas="b-dc">dc</primary>
78 </indexterm>
79 </listitem>
80 </varlistentry>
81
82 </variablelist>
83
84 </sect2>
85
86</sect1>
Note: See TracBrowser for help on using the repository browser.