linux tree命令找不到,CentOS6.5下tree命令-bash: tree: command not found的解决办法

刚装好的CentOS6.5,使用tree命令时,提示tree: command not found,该如何解决呢,问题很明显,tree没有安装,直接安装一下

yum -y install tree

[root@promote html]# yum -y install tree

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

epel/metalink | 5.6 kB 00:00

* base: mirrors.hust.edu.cn

* epel: ftp.sjtu.edu.cn

* extras: mirrors.hust.edu.cn

* updates: ftp.sjtu.edu.cn

base | 3.7 kB 00:00 ...

epel | 4.4 kB 00:00

epel/primary_db | 6.5 MB 00:04

extras | 3.4 kB 00:00 ...

updates | 3.4 kB 00:00

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package tree.x86_64 0:1.5.3-2.el6 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================

Package Arch Version Repository Size

==============================================================================================

Installing:

tree x86_64 1.5.3-2.el6 base 36 k

Transaction Summary

==============================================================================================

Install 1 Package(s)

Total download size: 36 k

Installed size: 65 k

Downloading Packages:

tree-1.5.3-2.el6.x86_64.rpm | 36 kB 00:03

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : tree-1.5.3-2.el6.x86_64 1/1

Verifying : tree-1.5.3-2.el6.x86_64 1/1

Installed:

tree.x86_64 0:1.5.3-2.el6

Complete!

[root@promote html]#

可见安装完成。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值