[Share Experiences] better-dde 更新,这次干掉了 python2
Tofloor
poster avatar
deepin-superuser
deepin
2022-07-13 04:34
Author

早就想干掉 python2 了,但是卸载 python2 会同时卸载文件管理器。今天捋了一下依赖关系,发现文件管理器依赖 samba, samba 依赖 python2。所以我们只需要去掉 samba 对 python2 的依赖即可。尝试编译安装最新版 samba 后卸载 python2,一切正常。相关软件包已经上传到 better-dde 中

操作步骤

1.添加 better-dde 的源

https://bbs.deepin.org/post/237746

wget -q -O - https://better-dde.github.io/ppa/better-dde.gpg | sudo apt-key add -
sudo sh -c 'echo "deb https://better-dde.github.io/ppa/ ./" > /etc/apt/sources.list.d/better-dde.list'

2.更新

sudo apt update && sudo apt dist-upgrade

3.卸载 python2

sudo apt autoremove libpython2* --purge

Nice

Reply Favorite View the author
All Replies
2 / 2
To page
agicinaqin
deepin
2023-01-14 02:21
#21
deepin-superuser

居然还有这好处tail

确实变快了shamed

Reply View the author
2 / 2
To page