# Tree menu in SLES 11 ?

**URL:** <https://forums.suse.com/t/tree-menu-in-sles-11/24004>\
**Category:** SLES Configure-Administer\
**Created:** [May 27, 2013, 8:58pm UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004 "2013-05-27T20:58:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tengs](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@Tengs](https://forums.suse.com/u/Tengs)\
**Post date:** [May 27, 2013, 8:58pm UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/1 "2013-05-27T20:58:03Z")

</div>

Hi,

I canÂ´t find the Steve BakerÂs tree utility to use in Terminal ?

Does it not support SLES 11 or there a new better way ?

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [May 28, 2013, 1:47am UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/2 "2013-05-28T01:47:41Z")

</div>

> [@](#):
>
> On Mon 27 May 2013 06:04:03 PM CDT, Tengs wrote:
> 
> Hi,
> 
> I canÂ´t find the Steve BakerÂs tree utility to use in Terminal ?
> 
> Does it not support SLES 11 or there a new better way ?

Hi  
If it’s not visible in the default repositories or on the SLE 11 SDK,  
then have a look here [http://software.opensuse.org/package/tree](http://software.opensuse.org/package/tree) seems a  
few users have it built (Unsupported of course).

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.3 (x86\_64) Kernel 3.7.10-1.4-desktop  
up 4:46, 3 users, load average: 0.31, 0.19, 0.11  
CPU AMD Athlon™ II P360@2.30GHz | GPU Mobility Radeon HD 4200

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [May 28, 2013, 12:09pm UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/3 "2013-05-28T12:09:13Z")

</div>

[QUOTE=malcolmlewis;13750]If it’s not visible in the default repositories or on the SLE 11 SDK,  
[/QUOTE]

I can see it on my SLES 11 SP2 install

[CODE]:~ # zypper info tree  
Refreshing service ‘nu\_novell\_com’.  
Loading repository data…  
Reading installed packages…

Information for package tree:

Repository: SLE11-SDK-SP1-Updates  
Name: tree  
Version: 1.5.1-2.10.2.1  
Arch: x86\_64  
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany  
Support Level: unknown  
Installed: No  
Status: not installed  
Installed Size: 64.0 KiB  
Summary: File listing as a tree  
Description:  
A tree-like directory listing program with dircolors support  
:~ # [/CODE]

It’s not in the SLE11-SDK-SP2-Core repo but my understanding is that for an SP2 install you’re supposed to have SP1 and SP2 repos set up (as per [http://www.novell.com/support/kb/doc.php?id=7010225](http://www.novell.com/support/kb/doc.php?id=7010225)).

---

<div class="post-metadata">

**Author:** ![Tengs](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@Tengs](https://forums.suse.com/u/Tengs)\
**Post date:** [May 28, 2013, 1:50pm UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/4 "2013-05-28T13:50:29Z")

</div>

[QUOTE=mikewillis;13751]I can see it on my SLES 11 SP2 install

[CODE]:~ # zypper info tree  
Refreshing service ‘nu\_novell\_com’.  
Loading repository data…  
Reading installed packages…

Information for package tree:

Repository: SLE11-SDK-SP1-Updates  
Name: tree  
Version: 1.5.1-2.10.2.1  
Arch: x86\_64  
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany  
Support Level: unknown  
Installed: No  
Status: not installed  
Installed Size: 64.0 KiB  
Summary: File listing as a tree  
Description:  
A tree-like directory listing program with dircolors support  
:~ # [/CODE]

It’s not in the SLE11-SDK-SP2-Core repo but my understanding is that for an SP2 install you’re supposed to have SP1 and SP2 repos set up (as per [http://www.novell.com/support/kb/doc.php?id=7010225](http://www.novell.com/support/kb/doc.php?id=7010225)).[/QUOTE]

That is strange…

IÂ´m also running SUSE 11 with SP2

```auto
cat /etc/*-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"

```

And when I try zypper info tree, there is nothing…

[CODE]zypper info tree  
Loading repository data…  
Reading installed packages…

package ‘tree’ not found.  
[/CODE]

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [May 28, 2013, 3:22pm UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/5 "2013-05-28T15:22:49Z")

</div>

Hi Tengs,

> That is strange…  
> IÂ´m also running SUSE 11 with SP2  
> And when I try zypper info tree, there is nothing…

the tree package is included in the SDK, not the base distribution. May I assume you have not installed the SDK add-on?

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![Tengs](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@Tengs](https://forums.suse.com/u/Tengs)\
**Post date:** [May 28, 2013, 3:59pm UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/6 "2013-05-28T15:59:13Z")

</div>

[QUOTE=jmozdzen;13754]Hi Tengs,

> That is strange…  
> IÂ´m also running SUSE 11 with SP2  
> And when I try zypper info tree, there is nothing…

the tree package is included in the SDK, not the base distribution. May I assume you have not installed the SDK add-on?

Regards,  
Jens[/QUOTE]

Yes, I have not installed the SDK, is the only way go get to install the SDK ?

---

<div class="post-metadata">

**Author:** ![Tengs](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@Tengs](https://forums.suse.com/u/Tengs)\
**Post date:** [May 28, 2013, 4:14pm UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/7 "2013-05-28T16:14:46Z")

</div>

> [@Tengs;13755](#):
>
> Yes, I have not installed the SDK, is the only way go get to install the SDK ?

Or is there another tool get a tree menu in terminal view on SLES 11 ?

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [May 28, 2013, 4:21pm UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/8 "2013-05-28T16:21:25Z")

</div>

Hi Tengs,

according to zypper, there are no further dependencies - so it might work to just fetch the RPM from the SDK DVD and install it.

[QUOTE]# zypper info --requires tree  
Refreshing service ‘SMT-http\_nde06\_hh\_nde\_ag’.  
Loading repository data…  
Reading installed packages…

Information for package tree:

Repository: SLE11-SDK-SP1-Updates  
Name: tree  
Version: 1.5.1-2.10.2.1  
Arch: x86\_64  
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany  
Support Level: unknown  
Installed: No  
Status: not installed  
Installed Size: 64.0 KiB  
Summary: File listing as a tree  
Description:  
A tree-like directory listing program with dircolors support  
Requires:  
libc.so.6()(64bit)  
libc.so.6(GLIBC\_2.2.5)(64bit)  
libc.so.6(GLIBC\_2.3)(64bit)  
rpmlib(CompressedFileNames) \<= 3.0.4-1  
rpmlib(PayloadFilesHavePrefix) \<= 4.0-1  
rpmlib(PayloadIsLzma) \<= 4.4.2-1 [/QUOTE]

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![jeffpuckett](https://avatars.discourse-cdn.com/v4/letter/j/57b2e6/32.png) [@jeffpuckett](https://forums.suse.com/u/jeffpuckett)\
**Post date:** [April 7, 2016, 12:16am UTC](https://forums.suse.com/t/tree-menu-in-sles-11/24004/9 "2016-04-07T00:16:59Z")

</div>

[QUOTE=Tengs;13749]Hi,

I canÂ´t find the Steve Baker’s tree utility to use in Terminal ?

Does it not support SLES 11 or there a new better way ?[/QUOTE]

It’s not supported, nor is it in the official repositories. I have no idea why.

However, you can download the source here: [http://mama.indstate.edu/users/ice/tree/](http://mama.indstate.edu/users/ice/tree/)

If you have curl, tar, gcc, and make installed, then you can build it and copy to /bin directory for system use

```auto
# if version 1.7.0 is still the latest, otherwise copy newest link from above
curl -O http://mama.indstate.edu/users/ice/tree/src/tree-1.7.0.tgz
tar -xzvf tree-*
cd tree-*
make
sudo cp tree /bin/
```
