FAQ:https://wiki.winehq.org/FAQ 1、启用 32 位软件包: `lscpu` `dpkg --add-architecture i386` 2、下载并安装存储库密钥: `wget -nc https://dl.winehq.org/wine-builds/winehq.key` `mv winehq.key /usr/share/keyrings/winehq-archive.key` 3、下载并安装 WineHQ 源文件: Debian 10: `wget -nc https://dl.winehq.org/wine-builds/debian/dists/buster/winehq-buster.sources` `mv winehq-buster.sources /etc/apt/sources.list.d/` Debian 11: `wget -nc https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources` `mv winehq-bullseye.sources /etc/apt/sources.list.d/` Debian 12: `wget -nc https://dl.winehq.org/wine-builds/winehq.key` `mv winehq.key /etc/apt/keyrings/winehq-archive.key` `wget -nc https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources` `mv winehq-bookworm.sources /etc/apt/sources.list.d/` 4、更新包: `apt update` 5、安装软件包 稳定版:`apt install --install-recommends winehq-stable` 开发版:`apt install --install-recommends winehq-staging` 6、初始化Wine(默认64位) `winecfg` 32位: `mkdir .wine` `WINEARCH=win32 WINEPREFIX=~/.wine winecfg ` 安装 WineGUI 初使化 https://gitlab.melroy.org/melroy/winegui/-/releases `dpkg -i WineGUI.deb` `apt-get -f install` `dpkg -i WineGUI.deb` 卸载 `dpkg -r WineGUI` 7、适配Wine字体 将下列内容填入注册表修改文件中 ` REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] "Arial"="simsun" "Arial CE,238"="simsun" "Arial CYR,204"="simsun" "Arial Greek,161"="simsun" "Arial TUR,162"="simsun" "Courier New"="simsun" "Courier New CE,238"="simsun" "Courier New CYR,204"="simsun" "Courier New Greek,161"="simsun" "Courier New TUR,162"="simsun" "FixedSys"="simsun" "Helv"="simsun" "Helvetica"="simsun" "MS Sans Serif"="simsun" "MS Shell Dlg"="simsun" "MS Shell Dlg 2"="simsun" "System"="simsun" "Tahoma"="simsun" "Times"="simsun" "Times New Roman CE,238"="simsun" "Times New Roman CYR,204"="simsun" "Times New Roman Greek,161"="simsun" "Times New Roman TUR,162"="simsun" "Tms Rmn"="simsun"` 向Wine中导入注册表配置 `regedit font.reg` 复制simfang.ttf、simsun.ttc到/root/.wine/drive_c/windows/Fonts 6、安装 Winetricks 网址:https://github.com/Winetricks/winetricks `cd "${HOME}/Downloads"` `wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks` `chmod +x winetricks` `sudo cp winetricks /usr/local/bin` 7、安装 zenity 或 kdialog 打能打开 Winetricks `apt install zenity -y` `apt install kdialog -y` 八零网管(Devilink) 2022-06-17 赏感谢支持关闭微信 支付宝 上一篇: Debian安装桌面环境记录一 下一篇: Debian安装桌面环境记录二 评论已关闭
评论已关闭