LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2012, 03:36 AM   #16
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled

The output of the which tells us that the tree command is not installed. The output of
Code:
echo $PATH
tells us, that the pathes are already set correctly. tree will be installed into /usr/bin/ and this directory is in the path.
Therefore no need to change anything at the PATH variables.

Markus
 
Old 11-18-2012, 03:36 AM   #17
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hello Mandyapenguin ;



PHP Code:
[root@localhost hgfs]# ls -al
total 11
dr
-xr-xr-x  1 root root 4192 Nov 18 15:02 .
drwxr-xr-x  3 root root 4096 Oct  3 02:09 ..
drwxrwxrwx  1 root root    0 Aug 14 12:18 ORCL INSTALLATION DOCS
drwxrwxrwx  1 root root    0 Aug 14 11
:40 sharing
drwxrwxrwx  1 root root    0 Nov 18 13
:42 TREE 
PHP Code:
[root@localhost hgfs]# cd TREE/
[root@localhost TREE]# ls -al
total 24
drwxrwxrwx  1 root root     0 Nov 18 13
:42 .
dr-xr-xr-x  1 root root  4192 Nov 18 15:02 ..
-
rwxrwxrwx  1 root root 42706 Nov 18 13:41 tree-1.6.0.tgz 
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update

PHP Code:
[root@localhost TREE]# yum install tree
Setting up Install Process
Setting up repositories
Cannot find a valid baseurl 
for repoupdate
Error
Cannot find a valid baseurl for repoupdate 
PHP Code:
[root@localhost TREE]# yum install tree-1.6.0.tgz
Setting up Install Process
Setting up repositories
Cannot find a valid baseurl 
for repoupdate
Error
Cannot find a valid baseurl for repoupdate 
 
Old 11-18-2012, 08:39 AM   #18
mandyapenguin
Member
 
Registered: Nov 2011
Location: India
Distribution: RedHat, Cent OS, Fedora, Debian, Ubuntu
Posts: 106

Rep: Reputation: Disabled
yum install tree worked fine for me on Cent O/S.
I don't know your settings for yum,
and usually configuration files will be stored in /etc/yum.repos.d directory.
Code:
yum install tree-1.6.0.tgz
The above does not work, you have to use only yum install tree. Since tree-1.6.0.tgz is a tar.gzip file you have uncompress it first.
Anyway you already have the tree-1.6.0.tgz file or you can also download it from here.
I just tried on cent O/S by manually installing it and it worked nicely.
So just follow the below steps.
Code:
tar -xzvf tree-1.6.0.tgz
cd tree-1.6.0/
make
make install
Thats it!
Code:
tree
if you find any error, find the tree path using
Code:
whereis tree
or
which tree
You may find it in /usr/bin directory now use
Code:
/usr/bin/tree
/usr/bin/tree -a /tmp

Last edited by mandyapenguin; 11-18-2012 at 08:41 AM.
 
1 members found this post helpful.
Old 11-18-2012, 09:18 AM   #19
rajkumar.m
LQ Newbie
 
Registered: May 2010
Posts: 18

Rep: Reputation: 12
yum install tree

or

yum install tree.i386


If still not works download tree rpm from below link

wget http://mirror.centos.org/centos/5/os...0-4.x86_64.rpm

rpm -ivh tree-1.5.0-4.x86_64.rpm --nodeps


Thanks
Rajkumar.M
For Linux related Technical Study check out the below link
www.thetechnicalstuff.com
 
Old 11-18-2012, 09:55 AM   #20
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Thanks to all replies !

@ Hi mandiapenguin ;

Problem solved ... Please see the attachment i am getting
tree command output.


Thanks to all replies ... to all linuxions!
Really i got so many answers from everyone! Thanks to all;

My Questions

1.What's was the exact problem to install this ?
when i googled , i was trying to execute some commands.
2.what is the specific reason some commands are not working?
for ex :
PHP Code:
[root@localhost ~]# cat   /etc/*-version 
cat: /etc/*-version: No such file or directory 
3. How can i check my OS is good or not ?

4. IF u don't mind , can you provide good link to download OEL?
It's for my own practice ... atleast good version to support.

Thanks !!




,
Attached Thumbnails
Click image for larger version

Name:	uplin.png
Views:	23
Size:	159.9 KB
ID:	11263  
 
Old 11-18-2012, 02:35 PM   #21
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
@thiyagusham:
The 'yum' command only work if you OS is not end of lifed. Your version is TOO OLD, full of SECURITY VULNERABILITIES and is NOT RECOMMENDED. Linux is free, just install something newer. According to the informations you posted, your OS has received no updated in 6 years. Installing 'tree' on a modern system is simply 'yum install tree' and nothing else. Installing tree from source DAMAGE YOUR SYSTEM by populating /usr with untracked files.

As for the other questions, I already answered them in my previous post. Your OS is _NOT_ good, it is outdated not only by the time since its inception, but by the fact that security updates don't seem to have been applied at all since it was installed. This is not only dangerous for the integrity of the network this system reside in, but is also a very, very bad way of learning Linux because you _have_ to do thing wrong so it can work.
 
1 members found this post helpful.
Old 11-18-2012, 03:02 PM   #22
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ Elv13

I asked some questions. but mainly i need OEL(Good Version)
If i get image copies it will be good to me!
Google showing too may sites.

>> Please Reply >>

Any good link to Download OEL ?
 
Old 11-18-2012, 03:28 PM   #23
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Oracle Linux is not free. It cost money and if you don't plan to pay this money, use CentOS. CentOS is 100% compatible with OEL and RHEL. They are all built in the same source code. While OEL have some extra features like ZFS and DTrace from Solaris and no-reboot kernel updates, that's about it. CentOS is free and provide free updates. It can be downloaded from their website and will be supported for the same period as OEL and RHEL. Of course, all you get is forum support instead of phone one, but you can buy real support from many companies, including Oracle (if they still offer that, I haven't checked in a while).

As for the images, I think there is a 30 day demo somewhere, but you need to pay for the real deal anyway. So if you want to download a OEL compatible image, get CentOS. Do not, for no reasons what so ever install OEL if you don't plan to pay for it for the lifetime of the OS.

http://mirror.its.sfu.ca/mirror/CentOS/6.3/isos/

EDIT:
Look:
http://lwn.net/Articles/525230/#Comments
Both OEL, RHEL, CentOS and SL all have the same updates the same day, this is because they are all based on RHEL source code. As soon as one get something, so the others. In fact, CentOS had that kernel update OEL had that day more than 30 hours earlier.

Last edited by Elv13; 11-18-2012 at 03:33 PM.
 
1 members found this post helpful.
Old 11-18-2012, 09:51 PM   #24
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
It is good that your problem has solved, but I would like to add:
Code:
root@localhost TREE]# unzip tree-1.6.0.tgz
It's a tar and zipped file. You should have tried opening it using:
Code:
root@localhost TREE]# tar -zxvf tree-1.6.0.tgz
Inside the extract you will find INSTALL and makefile, so you would have to run it to install tree.
 
1 members found this post helpful.
Old 11-19-2012, 12:41 AM   #25
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
As per Elv13, 'Enterprise Linux Enterprise Linux AS release 4 (October Update 4)' is dead and gone. RH (& therefore Centos, SL, OEL) only support versions 5 & 6.
If you want paid support, use RHEL or OEL. If you want free/do your own support, go Centos or SL.
https://access.redhat.com/support/po...pdates/errata/
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help for Windows cmd commands into Linux terminal commands. windowsNilo Linux - Software 2 07-02-2008 06:26 PM
Need help for Windows cmd commands into Linux terminal commands. windowsNilo Linux - General 2 07-01-2008 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration