安装wine的方法:(有各种网页摘抄,只是为了记下来写在这里)
1、进入存放源配置的文件夹
cd /etc/yum.repos.d
2、备份默认源
mv ./CentOS-Base.repo./CentOS-Base.repo.bak
3 sohu的yum源
wgethttp://mirrors.sohu.com/help/CentOS-Base-sohu.repo
4 为CentOS安装EPEL软件仓库
CentOS 5.x 64-bit(32位也适用)
rpm -Uvhhttp://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
5 想暂停使用EPEL,在下面的文件中设置enabled=0即可.
然后yum install wine就可以了
vim /etc/yum.repos.d/epel.repo
本来是通过tar.bz2包安装sublime但是因为系统版本太低(可能),所以安装没有成功,但是我先装了wine,再下载exe的sublime安装程序就可以安装了
wine 安装包名.exe
就可以安装成功