关闭

CentOS下安装SecureCRT的sz/rz工具包

488人阅读 评论(0) 收藏 举报
分类:

转自:http://www.cnblogs.com/zhangdsh/archive/2011/08/03/2126694.html

新安装的CentOS5.5系统,在secureCRT下使用rz  sz  上传下载文件时出现如下提示:

[root@webslave2 etc]# sz   hosts
-bash: sz: command not found
[root@webslave2 etc]#

由上述现象可知,很可能没有安装相应的软件包;sz  rz  命令所需要的软件包是lrzsz 

下面检查软件包是否安装?

[root@webslave2 etc]# yum  list   installed   lrzsz
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.neu.edu.cn
* base: mirror.neu.edu.cn
* extras: mirror.neu.edu.cn
* updates: mirror.neu.edu.cn
Error: No matching Packages to list       由此可知没有安装此包
[root@webslave2 etc]#
下面安装lrzsz软件包,可通过yum安装,比较方便!

先查看下载源中的软件包

[root@webslave2 etc]# yum search  lrzsz
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.neu.edu.cn
* base: mirror.neu.edu.cn
* extras: mirror.neu.edu.cn
* updates: mirror.neu.edu.cn

===================== Matched: lrzsz ==========================
lrzsz.x86_64 : The lrz and lsz modem communications programs.

安装软件包(使用yum自动安装:)
[root@webslave2 etc]# yum -y install lrzsz
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.neu.edu.cn
* base: mirror.neu.edu.cn
* extras: mirror.neu.edu.cn
* updates: mirror.neu.edu.cn
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 0:0.12.20-22.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================
Package              Arch                  Version                       Repository           Size

======================================================================
Installing:
lrzsz                x86_64                0.12.20-22.1                  base                 88 k

Transaction Summary
=======================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 88 k
Downloading Packages:
lrzsz-0.12.20-22.1.x86_64.rpm                                                |  88 kB     00:00    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : lrzsz                                                                        1/1

Installed:
  lrzsz.x86_64 0:0.12.20-22.1                                                                      

Complete!


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:151192次
    • 积分:2868
    • 等级:
    • 排名:第12993名
    • 原创:104篇
    • 转载:249篇
    • 译文:1篇
    • 评论:2条
    最新评论