ubuntu安装wine

wine安装步骤

参考地址:https://wiki.winehq.org/Ubuntu
PPA地址: https://launchpad.net/~wine/+archive/ubuntu/wine-builds

1.如果您的系统是64位,则启用32位架构
sudo dpkg –add-architecture i386
2.添加仓库
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu
3.更新包
sudo apt-get update
4.安装下面任意包

wine 安装命令
Stable branch sudo apt-get install –install-recommends winehq-stable
Development branch sudo apt-get install –install-recommends winehq-devel
Staging branch sudo apt-get install –install-recommends winehq-staging

注意:(wine-3.0.2踩坑路)
1.wine 安装.exe软件中文简体,中文的地方都以方框代替,以为是安装软件乱码的问题,最后是wine乱码的问题.
解决步骤:
1.下载宋体(新宋体)simsun.ttc,拷贝到~/.wine/drive_c/windows/Fonts
2.修改~/.wine/system.reg文件
ubuntu安装wine
ubuntu安装wine