CentOS用yum自动安装rar和unrar的方法

2023-12-04 0 178

目的:让CentOS能用yum自动安装rar和unrar

系统环境:CentOS 7.0

具体操作步骤如下:

1.编辑文件

编辑dag.repo文件,或者说是新建一个dag.repo文件。

vi /etc/yum.repos.d/dag.repo

2.在文件中添加代码

该文件在我这里是个空文件,添加入下内容,然后:wq保存!

[dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

3.安装

执行下列代码自动安装rar和unrar:

yum -y install rar unrar

ok,大功告成!

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 RedHat/Centos CentOS用yum自动安装rar和unrar的方法 https://www.u-9.cn/system/redhatcentos/81888.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务