Tree is a recursive directory listing command that produces a depth indented listing of files, which is colorized ala dircolors if the LS_COLORS environment variable is set and output is to tty.
Original maintainer | Florian Ernst |
---|---|
Homepage | http://mama.indstate.edu/users/ice/tree/ |
1.8.0










1.7.0











1.6.0

Distribution | Version | Since | Package | Installed | Packager | |
---|---|---|---|---|---|---|
![]() | xz | 1.8.0-1 | 2019-01-14 | 31 kiB | 117 kiB | Jelle van der Waa |
![]() | rpm | 1.6.0-10.el7 | 2020-01-07 | 46.4 kiB | 87.4 kiB | CentOS BuildSystem |
![]() | deb | 1.8.0-1 | 2019-01-12 | 48.2 kiB | 114 kiB | Florian Ernst |
![]() | deb | 1.7.0-5 | 2017-11-10 | 45.1 kiB | 104 kiB | Florian Ernst |
![]() | rpm | 1.7.0-14.fc28 | 2019-01-14 | 57.8 kiB | 107 kiB | Fedora Project |
![]() | rpm | 1.7.0-14.fc28 | 2019-01-14 | 57.8 kiB | 107 kiB | Fedora Project |
![]() | rpm | 1.7.0-14.fc28 | 2019-01-14 | 57.8 kiB | 107 kiB | Fedora Project |
![]() | rpm | 1.7.0-15.fc29 | 2019-01-14 | 52.1 kiB | 112 kiB | Fedora Project |
![]() | rpm | 1.7.0-15.fc29 | 2019-01-14 | 52.1 kiB | 112 kiB | Fedora Project |
![]() | rpm | 1.7.0-15.fc29 | 2019-01-14 | 52.1 kiB | 112 kiB | Fedora Project |
![]() | rpm | 1.7.0-15.fc29 | 2019-01-14 | 52.1 kiB | 112 kiB | Fedora Project |
![]() | rpm | 1.7.0-15.fc29 | 2019-01-14 | 52.1 kiB | 112 kiB | Fedora Project |
![]() | rpm | 1.7.0-15.fc29 | 2019-01-14 | 52.1 kiB | 112 kiB | Fedora Project |
![]() | rpm | 1.8.0-2.fc30 | 2019-06-17 | 52.7 kiB | 129 kiB | Fedora Project |
![]() | rpm | 1.8.0-2.fc30 | 2019-06-17 | 52.7 kiB | 129 kiB | Fedora Project |
![]() | rpm | 1.8.0-2.fc30 | 2019-06-17 | 52.7 kiB | 129 kiB | Fedora Project |
![]() | rpm | 1.8.0-2.fc30 | 2019-06-17 | 52.7 kiB | 129 kiB | Fedora Project |
![]() | rpm | 1.8.0-2.fc30 | 2019-06-17 | 52.7 kiB | 129 kiB | Fedora Project |
![]() | rpm | 1.8.0-3.fc31 | 2020-01-07 | 56.2 kiB | 116 kiB | Fedora Project |
![]() | rpm | 1.8.0-3.fc31 | 2020-01-07 | 56.2 kiB | 116 kiB | Fedora Project |
![]() | rpm | 1.8.0-4.fc32 | 2020-02-08 | 56.5 kiB | 114 kiB | Fedora Project |
![]() | rpm | 1.8.0-4.fc32 | 2020-02-08 | 56.5 kiB | 114 kiB | Fedora Project |
![]() | rpm | 1.8.0-3.fc31 | 2019-08-03 | 56.2 kiB | 116 kiB | Fedora Project |
![]() | xz | 1.8.0-1 | 2019-01-14 | 31 kiB | 117 kiB | Jelle van der Waa |
![]() | xz | 1.8.0-1 | 2019-01-14 | 31 kiB | 117 kiB | Jelle van der Waa |
![]() | xz | 1.8.0-1 | 2019-01-14 | 31 kiB | 117 kiB | Jelle van der Waa |
![]() | rpm | 1.7.0-lp150.1.8 | 2019-01-17 | 55.8 kiB | 110 kiB | https://bugs.opensuse.org |
![]() | rpm | 1.7.0-lp151.2.3 | 2019-01-23 | 56 kiB | 114 kiB | https://bugs.opensuse.org |
![]() | rpm | 1.7.0-lp152.3.6 | 2020-01-17 | 56 kiB | 114 kiB | https://bugs.opensuse.org |
![]() | rpm | 1.7.0-8.1 | 2019-01-17 | 49.4 kiB | 106 kiB | http://bugs.opensuse.org |
![]() | rpm | 1.8.0-1.5 | 2019-07-16 | 58.3 kiB | 119 kiB | https://bugs.opensuse.org |
![]() | deb | 1.7.0-5 | 2017-11-10 | 39.7 kiB | 103 kiB | Ubuntu Developers |
![]() | deb | 1.7.0-5 | 2017-11-10 | 39.7 kiB | 103 kiB | Ubuntu Developers |
![]() | deb | 1.7.0-5 | 2019-01-14 | 39.7 kiB | 103 kiB | Ubuntu Developers |
![]() | deb | 1.8.0-1 | 2019-01-27 | 42 kiB | 112 kiB | Ubuntu Developers |
![]() | deb | 1.8.0-1 | 2019-06-17 | 42 kiB | 112 kiB | Ubuntu Developers |
![]() | deb | 1.8.0-1 | 2020-01-07 | 42 kiB | 112 kiB | Ubuntu Developers |
![]() | deb | 1.7.0-3 | 2017-11-10 | 39.6 kiB | 135 kiB | Ubuntu Developers |
Manual pages
tree(1)
tree - list contents of directories in a tree-like format.
Latest updates

Fedora rawhide development/Server-os: Updated from 1.8.0-3.fc31 to 1.8.0-4.fc32
2020-02-08

Fedora rawhide development/Everything-os: Updated from 1.8.0-3.fc31 to 1.8.0-4.fc32
2020-02-08

OpenSUSE Leap 15.2 oss: Updated from 1.7.0-lp152.3.5 to 1.7.0-lp152.3.6
2020-01-17
- Update to 1.7.0:
- Allow user/group names up to 32 characters before clipping.
- Made -i compress XML and JSON output as much as possible by eliminating extraneous whitespace.
- Added --caseinsensitive (renamed --ignore-case ala grep) flag so patterns match without regard to case, courtesy of Jason A Donenfeld.
- Added --matchdirs option courtesy of Brian Mattern & Jason A. Donenfeld <Jason>.
- Fixed possible buffer overflow on large uid/gids w/o user names/group names (Alexandre Wendling <alexandrerw>)
- Added JSON support courtesy of Florian Sesser <fs>.
- Fixed formatting error with HTML output when -L 1 specified. (Sascha Zorn <sascha.zorn>)
- Added file size sorting (Philipp M?ller <philippausmuensing>)
- Added '--sort[=]<name>' option, ala ls.
- Fixed OS X makefile problems (Ryan Hollis <theryanhollis>)
- Fixed possible memory overflow in read_dir (path/lbuf not equal in size to pathsize/lbufsize.) (Han Hui <hanhui03>)
- Fix S_ISDOOR/S_IFDOOR spelling mistake for Solaris. (Tim Mooney <Tim.Mooney>)
- Make tree more reliably detect UTF-8 locales. (Mantas Mikulnas <grawity> and others.)
- Return non-zero exit status on option errors, print usage to stdout when not an error, add the posix '--' option terminator, Change -S description to mean CP437 (console) output codes, not ASCII. (Ivan Shmakov <oneingray>)
- Use upstream tarball instead of a custom one
- Adjust the makefile patch accordingly:
- Rename tree-dontstrip.patch to tree-makefile.patch,
since the upstream makefile does not include the strip flag anymore in that line - Fix the CFLAGS and LDFLAGS accordingly
- Rename tree-dontstrip.patch to tree-makefile.patch,
- Run spec-cleaner

Fedora 31 releases/Server-os: Version 1.8.0-3.fc31 introduced
2020-01-07

Fedora 31 releases/Everything-os: Version 1.8.0-3.fc31 introduced
2020-01-07

OpenSUSE Leap 15.2 oss: Version 1.7.0-lp152.3.5 introduced
2020-01-07
- Update to 1.7.0:
- Allow user/group names up to 32 characters before clipping.
- Made -i compress XML and JSON output as much as possible by eliminating extraneous whitespace.
- Added --caseinsensitive (renamed --ignore-case ala grep) flag so patterns match without regard to case, courtesy of Jason A Donenfeld.
- Added --matchdirs option courtesy of Brian Mattern & Jason A. Donenfeld <Jason>.
- Fixed possible buffer overflow on large uid/gids w/o user names/group names (Alexandre Wendling <alexandrerw>)
- Added JSON support courtesy of Florian Sesser <fs>.
- Fixed formatting error with HTML output when -L 1 specified. (Sascha Zorn <sascha.zorn>)
- Added file size sorting (Philipp M?ller <philippausmuensing>)
- Added '--sort[=]<name>' option, ala ls.
- Fixed OS X makefile problems (Ryan Hollis <theryanhollis>)
- Fixed possible memory overflow in read_dir (path/lbuf not equal in size to pathsize/lbufsize.) (Han Hui <hanhui03>)
- Fix S_ISDOOR/S_IFDOOR spelling mistake for Solaris. (Tim Mooney <Tim.Mooney>)
- Make tree more reliably detect UTF-8 locales. (Mantas Mikulnas <grawity> and others.)
- Return non-zero exit status on option errors, print usage to stdout when not an error, add the posix '--' option terminator, Change -S description to mean CP437 (console) output codes, not ASCII. (Ivan Shmakov <oneingray>)
- Use upstream tarball instead of a custom one
- Adjust the makefile patch accordingly:
- Rename tree-dontstrip.patch to tree-makefile.patch,
since the upstream makefile does not include the strip flag anymore in that line - Fix the CFLAGS and LDFLAGS accordingly
- Rename tree-dontstrip.patch to tree-makefile.patch,
- Run spec-cleaner

CentOS 7.7.1908 os: Version 1.6.0-10.el7 introduced
2020-01-07
- Mass rebuild 2014-01-24

Ubuntu 20.04 focal/universe: Version 1.8.0-1 introduced
2020-01-07
- [23e80a5] New upstream version 1.8.0 (Closes: #915941)
- Use strftime() exclusively when formatting date/time to respect locale. (Closes: #859311)
- [bac91e0] refresh patches
- Thanks to Boyuan Yang for the cleanup NMU which I'm now superseding; all changes have been incorporated.

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 reintroduced
2019-10-10
- [23e80a5] New upstream version 1.8.0 (Closes: #915941)
- Use strftime() exclusively when formatting date/time to respect locale. (Closes: #859311)
- [bac91e0] refresh patches
- Thanks to Boyuan Yang for the cleanup NMU which I'm now superseding; all changes have been incorporated.

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 removed
2019-10-10

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 reintroduced
2019-10-10
- [23e80a5] New upstream version 1.8.0 (Closes: #915941)
- Use strftime() exclusively when formatting date/time to respect locale. (Closes: #859311)
- [bac91e0] refresh patches
- Thanks to Boyuan Yang for the cleanup NMU which I'm now superseding; all changes have been incorporated.

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 removed
2019-10-10

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 reintroduced
2019-09-25
- [23e80a5] New upstream version 1.8.0 (Closes: #915941)
- Use strftime() exclusively when formatting date/time to respect locale. (Closes: #859311)
- [bac91e0] refresh patches
- Thanks to Boyuan Yang for the cleanup NMU which I'm now superseding; all changes have been incorporated.

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 removed
2019-09-25

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 reintroduced
2019-09-25
- [23e80a5] New upstream version 1.8.0 (Closes: #915941)
- Use strftime() exclusively when formatting date/time to respect locale. (Closes: #859311)
- [bac91e0] refresh patches
- Thanks to Boyuan Yang for the cleanup NMU which I'm now superseding; all changes have been incorporated.

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 removed
2019-09-25

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 reintroduced
2019-09-06
- [23e80a5] New upstream version 1.8.0 (Closes: #915941)
- Use strftime() exclusively when formatting date/time to respect locale. (Closes: #859311)
- [bac91e0] refresh patches
- Thanks to Boyuan Yang for the cleanup NMU which I'm now superseding; all changes have been incorporated.

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 removed
2019-09-06

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 reintroduced
2019-09-06
- [23e80a5] New upstream version 1.8.0 (Closes: #915941)
- Use strftime() exclusively when formatting date/time to respect locale. (Closes: #859311)
- [bac91e0] refresh patches
- Thanks to Boyuan Yang for the cleanup NMU which I'm now superseding; all changes have been incorporated.

Ubuntu 19.10 eoan/universe: Version 1.8.0-1 removed
2019-09-06
Related packages
tree-debuginfo - Debug information for package tree
tree-debugsource - Debug sources for package tree
tree-ppuzzle - Parallelized reconstruction of phylogenetic trees by maximum likelihood
tree-puzzle - Reconstruction of phylogenetic trees by maximum likelihood
tree-puzzle-doc - Reconstruction of phylogenetic trees by maximum likelihood (doc)