[Tutorials] 安装WineHQ
Tofloor
poster avatar
怪怪不怪
deepin
2022-06-04 17:22
Author

第一步:
用管理员(root)权限打开终端,并在终端中输入以下命令,用以开启32位支持:
sudo dpkg --add-architecture i386


第二步:
在打开的终端中输入以下命令,用以安装被用于签发安装包的密钥:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo mv winehq.key /usr/share/keyrings/winehq-archive.key


第三步:
在打开的终端中输入以下命令,用以下载和安装WineHQ源文件:
wget -nc https://dl.winehq.org/wine-builds/debian/dists/buster/winehq-buster.sources
sudo mv winehq-buster.sources /etc/apt/sources.list.d/


第四步:
在打开的终端中输入以下命令,用以更新软件仓库:
sudo apt update


第五步:
在打开的终端中输入以下命令,用以安装以下其中一个安装包:
1.稳定分支版本:sudo apt install --install-recommends winehq-stable
2.开发分支版本:sudo apt install --install-recommends winehq-devel
3.Staging分支版本:sudo apt install --install-recommends winehq-staging
PS:如果 apt 提示缺少依赖,请先安装缺少的依赖,然后重复以上两步(update 和 install)。


第六步(非必选):
在漫长的等待结束后,可能会提示错误,提示结果里有一句很不像是机器代码的语句:
“有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?”
执行以下命令,补安装之前报错失败的部分软件包:
sudo apt install --install-recommends winehq-stable --fix-missing


第七步:
在打开的终端中输入以下命令,用以配置并更新WineHQ:
winecfg
PS:若弹出窗口提示安装,点击安装即可。至少需要运行一次winecfg来设置wine的目录和硬件。

Reply Favorite View the author
All Replies
ice
deepin beta test group
2022-06-04 17:26
#1

写了两个第二步

Reply View the author
怪怪不怪
deepin
2022-06-04 17:40
#2
ice

写了两个第二步

承蒙您的纠错

Reply View the author
守候阳光
deepin
2022-06-07 06:25
#3

不明觉厉,支持下分享好资源

Reply View the author
怪怪不怪
deepin
2022-06-07 14:56
#4
守候阳光

不明觉厉,支持下分享好资源

WineHQ使用时出现中文乱码:https://bbs.deepin.org/post/238339

Reply View the author
花雨落逝
deepin
2022-10-28 02:45
#5

楼主你好,请问我连接不上wine服务器怎么办,谢谢你

Reply View the author