Install wine (the Solution to "No package wine available" When "yum install wine")

来源:互联网 发布:淘宝网店登陆 编辑:程序博客网 时间:2024/06/10 07:35

Attention:

    I found that when installing wine with yum from EPEL repo, there will be a blackscreen after rebooting. Remember to download all the i686 packages from EPEL and install it half-locally~(I don't know why but it works!)

Problem:

When using

$ sudo yum install wine
it reports
No package wine available.
Solution:

CentOS is lack of EPEL(Extra Packages for Enterprise Linux). A proper EPEL repository should be installed.

1.Download epel-release-5-4.noarch.rpm(backup link)

2.Install the EPEL repository

$ sudo rpm -Uvh epel-release-5-4.noarch.rpm
When successes, there will be 2 .repo files added to /etc/yum.repos.d/, which are epel.repo and epel-testing.repo.

3.Install wine with yum

$ sudo yum install wine
4.Launch wine: Applications>>Wine>>Wine Files. Wine will create a folder called .wine at the user's home folder.