<?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;

<!ENTITY tree-download-http "http://mama.indstate.edu/users/ice/tree/src/tree-&tree-version;.tgz">
<!ENTITY tree-download-ftp  "ftp://mama.indstate.edu/linux/tree/tree-&tree-version;.tgz">
<!ENTITY tree-md5sum        "abe3e03e469c542d8e157cdd93f4d8a6">
<!ENTITY tree-size          "48 KB">
<!ENTITY tree-buildsize     "656 KB">
<!ENTITY tree-time          "less than 0.1 SBU">
]>

<sect1 id="tree" xreflabel="tree-&tree-version;">
  <?dbhtml filename="tree.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-20 22:16:55 -0500 (Fri, 20 Feb 2015) $</date>
  </sect1info>

  <title>tree-&tree-version;</title>

  <indexterm zone="tree">
    <primary sortas="a-tree">tree</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to tree</title>

    <para>The <application>tree</application> application, as the name suggests,
    is useful to display, in a terminal, directory contents, including
    directories, files, links.</para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&tree-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&tree-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &tree-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &tree-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &tree-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &tree-time;</para>
      </listitem>
    </itemizedlist>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/tree"/></para>

  </sect2>

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

    <para>Install <application>tree</application> by running the following
    commands:</para>

<screen><userinput>make</userinput></screen>

    <para>This package does not come with a test suite.</para>

    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>

<screen role="root"><userinput>make MANDIR=/usr/share/man/man1 install &amp;&amp;
chmod -v 644 /usr/share/man/man1/tree.1</userinput></screen>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Program</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>tree</seg>
        <seg>None</seg>
        <seg>None</seg>
      </seglistitem>
    </segmentedlist>

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

      <varlistentry id="tree-app">
        <term><command>tree</command></term>
        <listitem>
          <para>displays a directory tree in a terminal.</para>
          <indexterm zone="tree tree-app">
            <primary sortas="b-tree">tree</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
