CentOS6 安装 wine

第一种:

         1. 新建yum源  vim /etc/yum.repos.d/dag.repo, 内容如下:

[dag]

name=Dag RPM Repository for Red Hat Enterprise Linux

baseurl=http://ftp.riken.jp/Linux/dag/redhat/el$releasever/en/$basearch/dag

http://apt.sw.be/redhat/el$releasever/en/$basearch/dag

enabled=0

gpgcheck=1

gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

         2. 执行命令  yum --enablerepo=dag install wine

我的系统以失败而告终,所以尝试第二种方法:

第二种:

         1 下载最新版的 epel-release

              http://download.fedora.redhat.com/pub/epel/6/x86_64/

         2  安装 epel-release  rpm

              rpm -Uvh epel-release*rpm

         3   安装wine

              yum install wine

居然成功,在此 Mark 一下。

猜你喜欢

转载自liyf155.iteye.com/blog/1343745