【现象】
[root@ecs-91984-0001 software]# yum install lrzsz
Last metadata expiration check: 0:02:42 ago on Tue 21 Jun 2022 04:12:00 PM CST.
No match for argument: lrzsz
Error: Unable to find a match: lrzsz
【解决方法】
下载lrzsz
wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
例如
[root@ecs-91984-0001 software]# wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
--2022-06-21 16:16:52-- http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
Resolving www.ohse.de (www.ohse.de)... 116.202.157.76
Connecting to www.ohse.de (www.ohse.de)|116.202.157.76|:80... connected.
HTTP request sent, awaiting response... 308 Permanent Redirect
Location: https://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz [following]
--2022-06-21 16:16:57-- https://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
Connecting to www.ohse.de (www.ohse.de)|116.202.157.76|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 280938 (274K)
Saving to: ‘lrzsz-0.12.20.tar.gz’
lrzsz-0.12.20.tar.g 100%[===================>] 274.35K 235KB/s in 1.2s
2022-06-21 16:16:59 (235 KB/s) - ‘lrzsz-0.12.20.tar.gz’ saved [280938/280938]
[root@ecs-91984-0001 software]# ls
lrzsz-0.12.20.tar.gz
[root@ecs-91984-0001 software]#
安装,依次执行如下命令
tar zxvf lrzsz-0.12.20.tar.gz && cd lrzsz-0.12.20
./configure && make && make install
cd /usr/bin
ln -s /usr/local/bin/lrz rz
ln -s /usr/local/bin/lsz sz
测试
[root@ecs-91984-0001 software]# rz
rz waiting to receive.
Starting zmodem transfer. Press Ctrl+C to cancel.
Transferring jdk-18_linux-x64_bin.rpm...
100% 159482 KB 7249 KB/sec 00:00:22 0 Errors
版权说明 : 本文为转载文章, 版权归原作者所有 版权申明
原文链接 : https://onefire.blog.csdn.net/article/details/125393517
内容来源于网络,如有侵权,请联系作者删除!