【Linux】CentOS安装wine
CentOS自带的软件源没有wine,因此直接yum install wine是不可行的。一个办法就是借用fedora的软件源。首先我们添加fedora的软件源。rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
vi /etc/yum.repos.d/CentOS-fedora.repo输入以下内容:
name=fedora x86_64
baseurl=http://dl.fedoraproject.org/pub/epel/7/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7然后保存。更新yum的缓存,然后就可以安装来自fedora软件源的wine了。yum makecache
yum install wine
页:
[1]