[740597c] | 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 | <!ENTITY tree-download-http "http://mama.indstate.edu/users/ice/tree/src/tree-&tree-version;.tgz">
|
---|
| 8 | <!ENTITY tree-download-ftp "ftp://mama.indstate.edu/linux/tree/tree-&tree-version;.tgz">
|
---|
[dab0680] | 9 | <!ENTITY tree-md5sum "4caa5ac97ae9f9a47b8a657f548e99b6">
|
---|
[0a0ad3a] | 10 | <!ENTITY tree-size "56 KB">
|
---|
| 11 | <!ENTITY tree-buildsize "488 KB">
|
---|
[740597c] | 12 | <!ENTITY tree-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="tree" xreflabel="tree-&tree-version;">
|
---|
| 16 | <?dbhtml filename="tree.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>tree-&tree-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="tree">
|
---|
| 25 | <primary sortas="a-tree">tree</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to tree</title>
|
---|
| 30 |
|
---|
[b7a85cd9] | 31 | <para>
|
---|
| 32 | The <application>tree</application> application, as the name suggests,
|
---|
| 33 | is useful to display, in a terminal, directory contents, including
|
---|
| 34 | directories, files, links.
|
---|
| 35 | </para>
|
---|
[740597c] | 36 |
|
---|
[c93c620c] | 37 | &lfs110a_checked;
|
---|
[740597c] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[b7a85cd9] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&tree-download-http;"/>
|
---|
| 44 | </para>
|
---|
[740597c] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[b7a85cd9] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&tree-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[740597c] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[b7a85cd9] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &tree-md5sum;
|
---|
| 54 | </para>
|
---|
[740597c] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[b7a85cd9] | 57 | <para>
|
---|
| 58 | Download size: &tree-size;
|
---|
| 59 | </para>
|
---|
[740597c] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[b7a85cd9] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &tree-buildsize;
|
---|
| 64 | </para>
|
---|
[740597c] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[b7a85cd9] | 67 | <para>
|
---|
| 68 | Estimated build time: &tree-time;
|
---|
| 69 | </para>
|
---|
[740597c] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <para condition="html" role="usernotes">User Notes:
|
---|
| 74 | <ulink url="&blfs-wiki;/tree"/></para>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of tree</title>
|
---|
| 80 |
|
---|
[b7a85cd9] | 81 | <para>
|
---|
| 82 | Install <application>tree</application> by running the following
|
---|
| 83 | commands:
|
---|
| 84 | </para>
|
---|
[740597c] | 85 |
|
---|
| 86 | <screen><userinput>make</userinput></screen>
|
---|
| 87 |
|
---|
[b7a85cd9] | 88 | <para>
|
---|
| 89 | This package does not come with a test suite.
|
---|
| 90 | </para>
|
---|
[740597c] | 91 |
|
---|
[b7a85cd9] | 92 | <para>
|
---|
| 93 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 94 | </para>
|
---|
[740597c] | 95 |
|
---|
[03c52662] | 96 | <!-- Without MANDIR=/usr/share/man, it'll create /usr/share/man1/man1 and
|
---|
| 97 | install 'tree.1' there. Also, without prefix=/usr, it'll install the
|
---|
| 98 | 'tree' command in /usr/local/bin. -->
|
---|
| 99 |
|
---|
| 100 | <screen role="root"><userinput>make prefix=/usr MANDIR=/usr/share/man install &&
|
---|
[0bd0a202] | 101 | chmod -v 644 /usr/share/man/man1/tree.1</userinput></screen>
|
---|
[740597c] | 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Program</segtitle>
|
---|
| 110 | <segtitle>Installed Libraries</segtitle>
|
---|
| 111 | <segtitle>Installed Directories</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
| 114 | <seg>tree</seg>
|
---|
| 115 | <seg>None</seg>
|
---|
| 116 | <seg>None</seg>
|
---|
| 117 | </seglistitem>
|
---|
| 118 | </segmentedlist>
|
---|
| 119 |
|
---|
| 120 | <variablelist>
|
---|
| 121 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 122 | <?dbfo list-presentation="list"?>
|
---|
| 123 | <?dbhtml list-presentation="table"?>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="tree-app">
|
---|
| 126 | <term><command>tree</command></term>
|
---|
| 127 | <listitem>
|
---|
[b7a85cd9] | 128 | <para>
|
---|
[4c24eb0a] | 129 | displays a directory tree in a terminal
|
---|
[b7a85cd9] | 130 | </para>
|
---|
[740597c] | 131 | <indexterm zone="tree tree-app">
|
---|
| 132 | <primary sortas="b-tree">tree</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | </variablelist>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | </sect1>
|
---|