[App Sharing] 搓了一个Deepin15的兼容环境(也支持Deepin20/23)
Tofloor
poster avatar
gfdgd_xi
deepin
Ecological co-builder
2023-06-29 21:38
Author

今天碰巧 网易邮箱大师 有 Linux 原生版,详细可以看这里:https://bbs.deepin.org/post/258703
那我也把自己搞的兼容环境发一下(类似 dcm 的东东,写来练手的)

这个兼容环境和 ablrun 一样都用到了 bwrap,但是不同之处(目的也并不相同)在于 ablrun 只提供新版的 glibc 以解决 glibc 问题,而此环境(也叫 gx-env)则提供了较为完整的容器,这里用的是 Ubuntu 22.04(一开始是想让 deepin 15.11 能够运行一些比较新的软件)
但是比较坑的是 bwrap 的权限问题,例如在这个兼容中不能用 sudo(和 pkexec),以及使用起来会比 ablrun 繁琐(恼),以及运行 chrome 内核的应用也有问题(deepin23好像就可以,可能是 bwrap 后续修复了这个问题)
目前这个东东的完成度还不高,反正能用就行 joy
在第一次运行该程序时会提示要输入密码,别点取消啊,不然兼容环境用不了别怪我

也提供了预装该兼容环境的系统安装镜像,预装 6.1.11-hwe 内核,如果出现 安装镜像的安装 deb 包按钮按了没用的问题,输入sudo apt update ; sudo apt upgrade获取更新包即可

(更详细的可以看我近一段时间的 B 站动态:https://space.bilibili.com/695814694/dynamic)

图片.png

深度截图_20230629075026.png

深度截图_20230629075351.png

深度截图_20230629075707.png

深度截图_20230629082954.png

常见问题

如何在兼容环境安装应用

安装程序后启动器会出现一个“兼容环境设置”的东东,在这里面就可以选择从 星火应用商店 和 deb 安装器安装

图片.png
如果在安装程序后并关闭 deb 安装器/星火应用商店却没有在启动器出现快捷方式,可以点击“刷新启动器图标”按钮重新生成

能用这个运行 UEngine 环境吗(在deepin15.11运行UEngine环境)

不能

能用这个运行 Wine 环境吗(在deepin15.11运行Wine环境)

可以
深度截图_20230629082954.png

能使用 sudo/pkexec 吗

因为 bwrap 的限制,不行。
但是你可以在“兼容环境设置”里面的“打开终端(root)”来变相获取 root 权限

如何在兼容环境运行 chrome 内核应用?

因为 bwrap 的问题(23似乎修复了),需要在 “兼容环境设置”中勾选 --no-sandbox 选项并保存,并点击“刷新图标按钮”
注:部分程序可能在勾选该选项后会异常或无法运行,如无必要不建议开启

能在非 X86 架构上使用吗

如果有非X86架构的gx-env-runtime包就可以

能命令调用吗

可以,使用 gx-env-run 命令即可

为什么提供的 Deepin15.11 安装镜像的安装 deb 包按钮按了没用

因为打包打的太急,出了些问题,输入sudo apt update ; sudo apt upgrade获取更新包即可

支持声音和输入法吗

支持(前提不是以 root 权限运行),但例如网易云音乐等程序还是不行

下载链接

Gitee:https://gitee.com/gfdgd-xi/deepin15-ubuntuenv

Github:https://github.com/gfdgd-xi/deepin15-ubuntuenv
123盘:https://www.123pan.com/s/pDSKVv-UxaWv.html

Reply Favorite View the author
All Replies
1 / 2
To page
阿尼樱奈奈
Moderator
2023-06-29 21:41
#1

like

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-29 21:42
#2

补图
图片.png

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-29 21:42
#3
阿尼樱奈奈

like

blush 感谢支持

Reply View the author
wcs4221
deepin beta test group
2023-06-29 21:45
#4

proud

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-29 21:45
#5
wcs4221

proud

blush

感谢支持

Reply View the author
青稚
Moderator
2023-06-29 21:51
#6
gfdgd_xi

blush

感谢支持

这我高低给你点赞like

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-29 21:56
#7
青稚

这我高低给你点赞like

blush

感谢支持

Reply View the author
神末shenmo
deepin
Spark-App
2023-06-29 21:56
#8

你这是手搓了一个丐版的distrobox啊

为什么不直接用呢?

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-29 22:08
#9
神末shenmo

你这是手搓了一个丐版的distrobox啊

为什么不直接用呢?

joy 主要是练手

Reply View the author
hanzn-zzx
deepin
2023-06-29 23:07
#10

like棒!

(会像dcm那样和关机杠上吗joy

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-29 23:14
#11
hanzn-zzx

like棒!

(会像dcm那样和关机杠上吗joy

joy 不知道啊,反正我的没杠上

Reply View the author
神末shenmo
deepin
Spark-App
2023-06-29 23:58
#12
gfdgd_xi

joy 主要是练手

个人觉得,可以弄一个ubuntu dde15

反正Dtk2这些也可以在高版本Qt编译

然后非系统应用统一跑apx安装

Reply View the author
vivian_me
deepin testing team
2023-06-30 00:47
#13

优秀优秀 手动点赞like

Reply View the author
yanjuner
Super Moderator
2023-06-30 00:59
#14

越来越厉害了哦applaud

Reply View the author
qs166
deepin
2023-06-30 02:28
#15

不明觉厉!

Reply View the author
fax928
deepin
2023-06-30 02:28
#16

yeah 加油!加油!

Reply View the author
mardou
deepin
2023-06-30 05:30
#17

厉害的。👍

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-30 17:19
#18
神末shenmo

个人觉得,可以弄一个ubuntu dde15

反正Dtk2这些也可以在高版本Qt编译

然后非系统应用统一跑apx安装

这个想法好
like
但我之前在Ubuntu22编译dde15似乎不行,不知道是不是我的问题
joy

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-30 17:19
#19
vivian_me

优秀优秀 手动点赞like

blush 感谢支持

Reply View the author
gfdgd_xi
deepin
Ecological co-builder
2023-06-30 17:19
#20
yanjuner

越来越厉害了哦applaud

blush 感谢支持

Reply View the author
1 / 2
To page