『测试版本rhel8.1』Linux下安装rar,解决bash: /usr/local/bin/rar: No such file or directory已解决

『测试版本rhel8.1』Linux下安装rar

wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz
ll
tar -zxvf  rarlinux-3.8.0.tar.gz
cd rar/
make
make install 

以上安装完成以后,就可以运行rar,unrar
如果有如下报错,安装后面两条yum命令

[root@localhost Desktop]# rar
bash: /usr/local/bin/rar: No such file or directory
[root@localhost Desktop]# rar x ds
bash: /usr/local/bin/rar: No such file or directory

在这里插入图片描述

yum install ld-linux.so.2
yum install libstdc++.so.6

在这里插入图片描述成功运行。

猜你喜欢

转载自blog.csdn.net/qq_39679699/article/details/113150186