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