赞
踩
测试环境:Ubuntu 22.04 LTS + KDE
如果想使用 Wine 5.0, 直接安装即可
sudo apt-get install wine
系统源中的的 wine 版本必然很旧,不要指望版本有多新,图个安逸且好装。
sudo dpkg --add-architecture i386 # 下载添加仓库密钥: wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key sudo cp winehq.key /etc/apt/keyrings/winehq-archive.key # 并添加仓库: wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources sudo mv winehq-$(lsb_release -sc).sources /etc/apt/sources.list.d/ # 更新安装包: sudo apt-get update # 安装稳定分支: sudo apt-get install --install-recommends winehq-stable # 或者通过以下方式安装 wine 开发版本: sudo apt install winehq-devel # 或者通过以下命令安装 wine-staging sudo apt install winehq-staging # 验证安装情况(查看 Wine 版本): wine --version
# 配置wine环境
WINEARCH=win32 WINEPREFIX=~/wine-workspace winecfg
# 添加DLL包
WINEARCH=win32 WINEPREFIX=~/wine-workspace winetricks
# 运行EXE
WINEARCH=win32 WINEPREFIX=~/wine-workspace wine ./Application.exe
安装包后在终端运行winecfg以生成配置文件。并且,运行命令以链接.desktop文件:
sudo ln -s /usr/share/doc/wine/examples/wine.desktop /usr/share/applications/
Wine 1.1.4 以上版本的中文支持得到了极大改善。如果您在使用较低版本的WINE或者对WINE的中文支持不满意,可以把下面文字保存为 zh.reg 文件,
运行 regedit 导入它即可
REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] "Arial"="WenQuanYi Zenhei" "Arial CE,238"="WenQuanYi Zenhei" "Arial CYR,204"="WenQuanYi Zenhei" "Arial Greek,161"="WenQuanYi Zenhei" "Arial TUR,162"="WenQuanYi Zenhei" "Courier New"="WenQuanYi Zenhei" "Courier New CE,238"="WenQuanYi Zenhei" "Courier New CYR,204"="WenQuanYi Zenhei" "Courier New Greek,161"="WenQuanYi Zenhei" "Courier New TUR,162"="WenQuanYi Zenhei" "FixedSys"="WenQuanYi Zenhei" "Helv"="WenQuanYi Zenhei" "Helvetica"="WenQuanYi Zenhei" "MS Sans Serif"="WenQuanYi Zenhei" "MS Shell Dlg"="WenQuanYi Zenhei" "MS Shell Dlg 2"="WenQuanYi Zenhei" "System"="WenQuanYi Zenhei" "Tahoma"="WenQuanYi Zenhei" "Times"="WenQuanYi Zenhei" "Times New Roman CE,238"="WenQuanYi Zenhei" "Times New Roman CYR,204"="WenQuanYi Zenhei" "Times New Roman Greek,161"="WenQuanYi Zenhei" "Times New Roman TUR,162"="WenQuanYi Zenhei" "Tms Rmn"="WenQuanYi Zenhei"
https://www.yisu.com/zixun/65742.html
https://zhuanlan.zhihu.com/p/108106453
https://blog.csdn.net/zmkzmkok/article/details/115003551
https://www.51cto.com/article/708897.html
免费软件,但是最新版本好像是支持到 Ubuntu 18.10
而且也需要安装 wine:i386,但是我在 Ubuntu 22.04 LTS 下感觉好像也没啥问题,没有深度使用。
https://www.playonlinux.com/en/download.html
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_cosmic.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux
一个商业化的版本,界面好看,好用,当然了也贵,不多赘述。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。