早就想干掉 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
居然还有这好处
确实变快了
Featured Collection
Popular Ranking
Popular Events
早就想干掉 python2 了,但是卸载 python2 会同时卸载文件管理器。今天捋了一下依赖关系,发现文件管理器依赖 samba, samba 依赖 python2。所以我们只需要去掉 samba 对 python2 的依赖即可。尝试编译安装最新版 samba 后卸载 python2,一切正常。相关软件包已经上传到 better-dde 中
操作步骤
1.添加 better-dde 的源
https://bbs.deepin.org/post/237746
2.更新
3.卸载 python2
Nice