1. 添加仓库
    首次使用时,你需要运行如下一条命令将移植仓库添加到系统中。
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
安装过程日志输出:

zxl@Legion:~$ wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
--2023-11-21 19:26:42--  https://deepin-wine.i-m.dev/setup.sh
Resolving deepin-wine.i-m.dev (deepin-wine.i-m.dev)... 13.228.199.255, 18.139.194.139, 2406:da18:b3d:e200::64, ...
Connecting to deepin-wine.i-m.dev (deepin-wine.i-m.dev)|13.228.199.255|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1732 (1.7K) [application/x-sh]
Saving to: ‘STDOUT’

-                     100%[=========================>]   1.69K  --.-KB/s    in 0s      

2023-11-21 19:26:43 (27.5 MB/s) - written to stdout [1732/1732]

Hit:1 https://mirrors.aliyun.com/docker-ce/linux/ubuntu mantic InRelease
Get:2 http://packages.microsoft.com/repos/code stable InRelease [3,589 B]              
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease                          
Hit:4 http://security.ubuntu.com/ubuntu mantic-security InRelease                      
Hit:5 https://packages.microsoft.com/repos/edge stable InRelease                       
Hit:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic InRelease                      
Hit:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-updates InRelease
Hit:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic-backports InRelease
Fetched 3,589 B in 21s (173 B/s)
Reading package lists... Done
Ign:1 https://deepin-wine.i-m.dev  InRelease
Get:2 https://deepin-wine.i-m.dev  Release [1,611 B]
Ign:3 https://deepin-wine.i-m.dev  Release.gpg
Get:4 https://deepin-wine.i-m.dev  Packages [214 kB]
Fetched 216 kB in 3s (66.8 kB/s)   
Reading package lists... Done

大功告成,现在可以试试安装更新deepin-wine软件了,如:微信:sudo apt-get install com.qq.weixin.deepin
QQ:sudo apt-get install com.qq.im.deepin
TIM:sudo apt-get install com.qq.office.deepin
钉钉:sudo apt-get install com.dingtalk.deepin
完整列表见 https://deepin-wine.i-m.dev/

🌟 安装后需要注销重登录才能显示应用图标。🌟 无法安装?无法启动?无法正常使用?切记先去github主页看【常见问题】章节,再找找相关issue,也许早已经有了解决方案了。
如果觉得有用,不妨来给项目加个star:https://github.com/zq1997/deepin-wine
  1. 应用安装
    自此以后,你可以像对待普通的软件包一样,使用apt-get系列命令进行各种应用安装、更新和卸载清理了。
    比如安装微信只需要运行下面的命令,
sudo apt-get install com.qq.weixin.deepin
zxl@Legion:~$ sudo apt-get install com.qq.weixin.deepin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-6.5.0-9 linux-headers-6.5.0-9-generic linux-image-6.5.0-9-generic
  linux-modules-6.5.0-9-generic linux-modules-extra-6.5.0-9-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  deepin-elf-verify deepin-wine-helper deepin-wine-runtime deepin-wine6-stable
  libasound2-plugins libcapi20-3 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0
  libjpeg62-turbo libldap-2.4-2 libosmesa6 libssl1.1 libtiff5 libvkd3d-shader1
  libvkd3d1 libwebp6 vkd3d-compiler zenity zenity-common
Recommended packages:
  libodbc1
The following NEW packages will be installed:
  com.qq.weixin.deepin:i386 deepin-elf-verify deepin-wine-helper deepin-wine-runtime
  deepin-wine6-stable libasound2-plugins libcapi20-3 libgdk-pixbuf-xlib-2.0-0
  libgdk-pixbuf2.0-0 libjpeg62-turbo libldap-2.4-2 libosmesa6 libssl1.1 libtiff5
  libvkd3d-shader1 libvkd3d1 libwebp6 vkd3d-compiler zenity zenity-common
0 upgraded, 20 newly installed, 0 to remove and 27 not upgraded.
Need to get 408 MB of archives.
After this operation, 1,028 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deepin-wine.i-m.dev  libssl1.1 1.1.1d.17-deepin1 [1,566 kB]              
Get:2 https://deepin-wine.i-m.dev  deepin-elf-verify 1.2.0.6-1 [1,408 B]               
Get:4 https://deepin-wine.i-m.dev  libldap-2.4-2 2.4.47+dfsg.5-1+deepin [225 kB]       
Get:8 https://deepin-wine.i-m.dev  libjpeg62-turbo 1:1.5.2.6-1+dde [134 kB]            
Get:9 https://deepin-wine.i-m.dev  libwebp6 0.6.1.2-1+dde [262 kB]                     
Get:10 https://deepin-wine.i-m.dev  libtiff5 4.1.0.8-1+deepin [272 kB]                 
Get:3 https://deepin-wine.i-m.dev  deepin-wine-runtime 0.1.6 [141 MB]                  
Get:5 https://deepin-wine.i-m.dev  deepin-wine6-stable 6.0.0.61-1 [52.6 MB]            
Get:6 https://deepin-wine.i-m.dev  deepin-wine-helper 5.2.31-1 [684 kB]                
Get:7 https://deepin-wine.i-m.dev  com.qq.weixin.deepin 3.9.5.80deepin10 [207 MB]      
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/universe amd64 libgdk-pixbuf-xlib-2.0-0 amd64 2.40.2-3 [42.6 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/universe amd64 libgdk-pixbuf2.0-0 amd64 2.40.2-3 [2,440 B]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/universe amd64 libvkd3d-shader1 amd64 1.2-15 [100 kB]
Get:14 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/universe amd64 libvkd3d1 amd64 1.2-15 [115 kB]
Get:15 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/universe amd64 libasound2-plugins amd64 1.2.7.1-1ubuntu2 [74.8 kB]
Get:16 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/main amd64 zenity-common all 3.44.2-1 [277 kB]
Get:17 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/main amd64 zenity amd64 3.44.2-1 [61.2 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/universe amd64 vkd3d-compiler amd64 1.2-15 [7,772 B]
Get:19 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/universe amd64 libcapi20-3 amd64 1:3.27-3 [28.4 kB]
Get:20 http://mirrors.tuna.tsinghua.edu.cn/ubuntu mantic/main amd64 libosmesa6 amd64 23.2.1-1ubuntu3 [3,156 kB]
Fetched 408 MB in 20s (20.0 MB/s)      
Preconfiguring packages ...
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 258796 files and directories currently installed.)
Preparing to unpack .../00-libssl1.1_1.1.1d.17-deepin1_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1d.17-deepin1) ...
Selecting previously unselected package deepin-elf-verify.
Preparing to unpack .../01-deepin-elf-verify_1.2.0.6-1_amd64.deb ...
Unpacking deepin-elf-verify (1.2.0.6-1) ...
Selecting previously unselected package deepin-wine-runtime.
Preparing to unpack .../02-deepin-wine-runtime_0.1.6_amd64.deb ...
Unpacking deepin-wine-runtime (0.1.6) ...
Selecting previously unselected package libgdk-pixbuf-xlib-2.0-0:amd64.
Preparing to unpack .../03-libgdk-pixbuf-xlib-2.0-0_2.40.2-3_amd64.deb ...
Unpacking libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-3) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:amd64.
Preparing to unpack .../04-libgdk-pixbuf2.0-0_2.40.2-3_amd64.deb ...
Unpacking libgdk-pixbuf2.0-0:amd64 (2.40.2-3) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../05-libldap-2.4-2_2.4.47+dfsg.5-1+deepin_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg.5-1+deepin) ...
Selecting previously unselected package libvkd3d-shader1:amd64.
Preparing to unpack .../06-libvkd3d-shader1_1.2-15_amd64.deb ...
Unpacking libvkd3d-shader1:amd64 (1.2-15) ...
Selecting previously unselected package libvkd3d1:amd64.
Preparing to unpack .../07-libvkd3d1_1.2-15_amd64.deb ...
Unpacking libvkd3d1:amd64 (1.2-15) ...
Selecting previously unselected package libasound2-plugins:amd64.
Preparing to unpack .../08-libasound2-plugins_1.2.7.1-1ubuntu2_amd64.deb ...
Unpacking libasound2-plugins:amd64 (1.2.7.1-1ubuntu2) ...
Selecting previously unselected package deepin-wine6-stable.
Preparing to unpack .../09-deepin-wine6-stable_6.0.0.61-1_amd64.deb ...
Unpacking deepin-wine6-stable (6.0.0.61-1) ...
Selecting previously unselected package zenity-common.
Preparing to unpack .../10-zenity-common_3.44.2-1_all.deb ...
Unpacking zenity-common (3.44.2-1) ...
Selecting previously unselected package zenity.
Preparing to unpack .../11-zenity_3.44.2-1_amd64.deb ...
Unpacking zenity (3.44.2-1) ...
Selecting previously unselected package deepin-wine-helper.
Preparing to unpack .../12-deepin-wine-helper_5.2.31-1_amd64.deb ...
Unpacking deepin-wine-helper (5.2.31-1) ...
Selecting previously unselected package com.qq.weixin.deepin:i386.
Preparing to unpack .../13-com.qq.weixin.deepin_3.9.5.80deepin10_i386.deb ...
Unpacking com.qq.weixin.deepin:i386 (3.9.5.80deepin10) ...
Selecting previously unselected package libjpeg62-turbo:amd64.
Preparing to unpack .../14-libjpeg62-turbo_1%3a1.5.2.6-1+dde_amd64.deb ...
Unpacking libjpeg62-turbo:amd64 (1:1.5.2.6-1+dde) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../15-libwebp6_0.6.1.2-1+dde_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.1.2-1+dde) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../16-libtiff5_4.1.0.8-1+deepin_amd64.deb ...
Unpacking libtiff5:amd64 (4.1.0.8-1+deepin) ...
Selecting previously unselected package vkd3d-compiler.
Preparing to unpack .../17-vkd3d-compiler_1.2-15_amd64.deb ...
Unpacking vkd3d-compiler (1.2-15) ...
Selecting previously unselected package libcapi20-3:amd64.
Preparing to unpack .../18-libcapi20-3_1%3a3.27-3_amd64.deb ...
Unpacking libcapi20-3:amd64 (1:3.27-3) ...
Selecting previously unselected package libosmesa6:amd64.
Preparing to unpack .../19-libosmesa6_23.2.1-1ubuntu3_amd64.deb ...
Unpacking libosmesa6:amd64 (23.2.1-1ubuntu3) ...
Setting up libasound2-plugins:amd64 (1.2.7.1-1ubuntu2) ...
Setting up libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-3) ...
Setting up libcapi20-3:amd64 (1:3.27-3) ...
Setting up libssl1.1:amd64 (1.1.1d.17-deepin1) ...
Setting up deepin-elf-verify (1.2.0.6-1) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg.5-1+deepin) ...
Setting up deepin-wine-runtime (0.1.6) ...
Setting up libjpeg62-turbo:amd64 (1:1.5.2.6-1+dde) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.40.2-3) ...
Setting up libvkd3d-shader1:amd64 (1.2-15) ...
Setting up zenity-common (3.44.2-1) ...
Setting up libwebp6:amd64 (0.6.1.2-1+dde) ...
Setting up libtiff5:amd64 (4.1.0.8-1+deepin) ...
Setting up vkd3d-compiler (1.2-15) ...
Setting up libosmesa6:amd64 (23.2.1-1ubuntu3) ...
Setting up libvkd3d1:amd64 (1.2-15) ...
Setting up deepin-wine6-stable (6.0.0.61-1) ...
Setting up zenity (3.44.2-1) ...
Setting up deepin-wine-helper (5.2.31-1) ...
most recently configured version 
Setting up com.qq.weixin.deepin:i386 (3.9.5.80deepin10) ...
most recently configured version 
do install script
Processing triggers for libc-bin (2.38-1ubuntu6) ...
Processing triggers for man-db (2.11.2-3) ...

com.qq.weixin.deepin替换为下列包名,可以继续安装其他应用:

应用

包名

微信

com.qq.weixin.deepin

QQ

com.qq.im.deepin

TIM

com.qq.office.deepin

钉钉

com.dingtalk.deepin

阿里旺旺

com.taobao.wangwang.deepin

QQ音乐

com.qq.music.deepin

QQ视频

com.qq.video.deepin

爱奇艺

com.iqiyi.deepin

完整列表参见https://deepin-wine.i-m.dev。

  1. 遇到问题?
    别急,也许issue里面也有很多人碰到了和你类似的问题,搜一搜也许就有解决方案。

links:

https://github.com/zq1997/deepin-wine