Tree menu in SLES 11 ?

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

[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).

[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).[/QUOTE]

That is strange…

I´m also running SUSE 11 with SP2

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]

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

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

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

[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/

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

# 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/