<?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-tar" role="wrap">
  <?dbhtml filename="tar.html"?>

  <title>Tar-&tar-version;</title>

  <indexterm zone="ch-system-tar">
    <primary sortas="a-Tar">Tar</primary>
  </indexterm>

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

    <para>The Tar package contains an archiving program.</para>


  </sect2>

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

    <para os="p1">The following patch adds a man page for <command>tar</command>:</para>

<screen os="p2"><userinput>patch -Np1 -i ../&tar-man_page-patch;</userinput></screen>

    <para os="p3">The following patch will add support for new compressors like LZIP:</para>

<screen os="p4"><userinput>patch -Np1 -i ../&tar-new_compressors-patch;</userinput></screen>

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

<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>

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

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

    <para os="e">To test the results, issue:
    <userinput>make check</userinput>.</para>

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

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

  </sect2>

  <sect2 id="contents-tar" role="content">
    <title>Contents of Tar</title>

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

      <seglistitem>
        <seg>rmt and tar</seg>
      </seglistitem>
    </segmentedlist>

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

      <varlistentry id="rmt">
        <term><command>rmt</command></term>
        <listitem>
          <para>Remotely manipulates a magnetic
          tape drive through an interprocess communication connection</para>
          <indexterm zone="ch-system-tar rmt">
            <primary sortas="b-rmt">rmt</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="tar">
        <term><command>tar</command></term>
        <listitem>
          <para>Creates, extracts files from, and lists the contents of
          archives, also known as tarballs</para>
          <indexterm zone="ch-system-tar tar">
            <primary sortas="b-tar">tar</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
