https://blog.csdn.net/m0_37751917/article/details/80739850
1:检查是否安装sz rz
rpm -qa |grep sz
rpm -qa |grep rz
2:如果没有安装,安装一下
yum install sz
3:如果安装失败,搜索一下
yum search sz
4:根据搜索结果,进行安装
yum -y install lrzsz.x86_64
5:安装完成。rz一下进行选择文件
[[email protected] /]# rz
完毕! 具体命令及命令及返回结果
[[email protected] /]# rpm -qa |grep sz
[[email protected] /]# rpm -qa |grep rz
[[email protected] /]# yum install sz
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Setting up Install Process
No package sz available.
Error: Nothing to do
[[email protected] /]# yum search sz
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
==================== N/S Matched: sz ====================
lrzsz.x86_64 : The lrz and lsz modem communications
: programs
Name and summary matches only, use "search all" for everything.
[[email protected] /]# yum -y install lrzsz.x86_64
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 0:0.12.20-27.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================
Package Arch Version Repository
Size
=========================================================
Installing:
lrzsz x86_64 0.12.20-27.1.el6 base 71 k
Transaction Summary
=========================================================
Install 1 Package(s)
Total download size: 71 k
Installed size: 159 k
Downloading Packages:
lrzsz-0.12.20-27.1.el6.x86_64.rpm | 71 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lrzsz-0.12.20-27.1.el6.x86_64 1/1
Verifying : lrzsz-0.12.20-27.1.el6.x86_64 1/1
Installed:
lrzsz.x86_64 0:0.12.20-27.1.el6
Complete!
[[email protected] /]# rz
**B0300c0d200bb60
rz: jdk-8u211-linux-x64.tar.gz removed. [[email protected] /]#
原文地址:https://www.cnblogs.com/mrray/p/10857875.html