$man dnf
...
dnf [options] autoremove
Removes all "leaf" packages from the system that were originally
installed as dependencies of user-installed packages but which are
no longer required by any such package.
...
所以现在用 sudo dnf autoremove可以完成。
On 01/09/2016 11:04 AM, lyfbuaa wrote:
请问怎么清理无用的软件包?
以前用的yum有package-cleanup工具;现在已经把yum卸载了用dnf了,发现它安装的时候安装的依赖包在卸载时并没有都卸载,怎样清理呢?
--
Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
--
Zamir SUN
zsun(a)fedoraproject.org
zsun in #fedora-zh #openshift on
freenode.net