ubuntu20.04安装 deepin-wine
- 修改软件源,为阿里镜像仓库,
sudo vi /etc/apt/sources.list
,修改后的内容如下,然后执行sudo apt-get update
deb https://packages.deepin.com/ubuntu/ focal main restricted universe multiverse
deb-src https://packages.deepin.com/ubuntu/ focal main restricted universe multiverse
deb https://packages.deepin.com/ubuntu/ focal-security main restricted universe multiverse
deb-src https://packages.deepin.com/ubuntu/ focal-security main restricted universe multiverse
deb https://packages.deepin.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://packages.deepin.com/ubuntu/ focal-updates main restricted universe multiverse
deb https://packages.deepin.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src https://packages.deepin.com/ubuntu/ focal-proposed main restricted universe multiverse
deb https://packages.deepin.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://packages.deepin.com/ubuntu/ focal-backports main restricted universe multiverse
- 新建一个临时文件夹,用来存放deepin-wine的安装包
mkdir deepin-wine
cd deepin-wine
- 使用wget 下载deepin-wine安装包
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
wget https://mirrors.aliyun.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb
- 添加32位支持
sudo dpkg --add-architecture i386
sudo apt-get update
- 开始安装
sudo dpkg -i *.deb
```小题
6. 修复依赖关系
sudo apt install -fy
* 如果出现以下错误,执行 `sudo apt install -fy --fix-missing`
E: 无法下载 https://packages.deepin.com/ubuntu/pool/main/libg/libglu/libglu1-mesa_9.0.1-1build1_i386.deb Undetermined Error [IP: 27.221.56.135 80]
E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?
7. 安装完成后,从阿里云镜像仓库下载deepin打包的应用,比如安装tim
wget https://packages.deepin.com/deepin/pool/non-free/d/deepin.com.qq.office/deepin.com.qq.office_2.0.0deepin4_i386.deb
sudo dpkg -i deepin.com.qq.office_2.0.0deepin4_i386.deb