<?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">
  %general-entities;
]>

<sect1 id="ch-system-bc" role="wrap">
  <?dbhtml filename="bc.html"?>

  <title>Bc-&bc-version;</title>

  <indexterm zone="ch-system-bc">
    <primary sortas="a-Bc">Bc</primary>
  </indexterm>

  <sect2 role="package">
    <title/>

    <para>The Bc package contains an arbitrary precision numeric processing language.</para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of Bc</title>

    <para os="a">Prepare Bc for compilation:</para>

<screen os="b"><userinput>./configure --prefix=/usr --with-readline \
    --mandir=/usr/share/man --infodir=/usr/share/info</userinput></screen>

    <para os="c">Compile the package:</para>

<screen os="d"><userinput>make</userinput></screen>

    <para os="e">To test the results, issue:</para>

<screen os="e2"><userinput remap="test">echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>

    <para os="f">Install the package:</para>

<screen os="g"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 id="contents-bc" role="content">
    <title>Contents of Bc</title>

    <segmentedlist>
      <segtitle>Installed programs</segtitle>

      <seglistitem>
        <seg>bc, dc</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="bc">
        <term><command>bc</command></term>
        <listitem>
          <para>is a command line calculator</para>
          <indexterm zone="ch-system-bc bc">
            <primary sortas="b-bc">bc</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="dc">
        <term><command>dc</command></term>
          <listitem>
          <para>is a reverse-polish command line calculator</para>
          <indexterm zone="ch-system-bc dc">
            <primary sortas="b-dc">dc</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
