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

87324554 2011-10-07

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

[root@webslave2etc]#szhosts

-bash:sz:commandnotfound

[root@webslave2etc]#

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

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

[root@webslave2etc]#yumlistinstalledlrzsz

Loadedplugins:fastestmirror

Loadingmirrorspeedsfromcachedhostfile

*addons:mirror.neu.edu.cn

*base:mirror.neu.edu.cn

*extras:mirror.neu.edu.cn

*updates:mirror.neu.edu.cn

Error:NomatchingPackagestolist由此可知没有安装此包

[root@webslave2etc]#

下面安装lrzsz软件包,可通过yum安装,比较方便!

先查看下载源中的软件包

[root@webslave2etc]#yumsearchlrzsz

Loadedplugins:fastestmirror

Loadingmirrorspeedsfromcachedhostfile

*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:Thelrzandlszmodemcommunicationsprograms.

安装软件包(使用yum自动安装:)

[root@webslave2etc]#yum-yinstalllrzsz

Loadedplugins:fastestmirror

Loadingmirrorspeedsfromcachedhostfile

*addons:mirror.neu.edu.cn

*base:mirror.neu.edu.cn

*extras:mirror.neu.edu.cn

*updates:mirror.neu.edu.cn

SettingupInstallProcess

ResolvingDependencies

-->Runningtransactioncheck

--->Packagelrzsz.x86_640:0.12.20-22.1settobeupdated

-->FinishedDependencyResolution

DependenciesResolved

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

PackageArchVersionRepositorySize

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

Installing:

lrzszx86_640.12.20-22.1base88k

TransactionSummary

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

Install1Package(s)

Upgrade0Package(s)

Totaldownloadsize:88k

DownloadingPackages:

lrzsz-0.12.20-22.1.x86_64.rpm|88kB00:00

Runningrpm_check_debug

RunningTransactionTest

FinishedTransactionTest

TransactionTestSucceeded

RunningTransaction

Installing:lrzsz1/1

Installed:

lrzsz.x86_640:0.12.20-22.1

Complete!

(来自网络)

相关推荐