可靠吗? 我也看到这个选项了,没敢用。
比如我刚跑了下,结果这个包就在列,可是我是要用的呢。
gcc-5.3.1-2.fc23.x86_64
当前:
[abc@localhost ~]$ rpm -qa|grep gcc
gcc-5.3.1-2.fc23.x86_64
libgcc-5.3.1-2.fc23.x86_64
libgcc-5.3.1-2.fc23.i686
还有它列出了下面两个包,我理解当前已经编译完相关组件确实是不再被需要了,但如果akmod被卸载的话,下次
VirtualBox升级不就不能自动编译(升级)相应版本的kmod了吗? 而且kmod-VirtualBox有两个版本却没列出来?
VirtualBox-kmodsrc x86_64 5.0.10-1.fc23 @rpmfusion-free-updates
akmod-VirtualBox x86_64 5.0.10-1.fc23 @rpmfusion-free-updates
当前VirtualBox相关:
[abc@localhost ~]$ rpm -qa|grep VirtualBox
VirtualBox-kmodsrc-5.0.10-1.fc23.x86_64
kmod-VirtualBox-4.2.8-300.fc23.x86_64-5.0.10-1.fc23.x86_64
akmod-VirtualBox-5.0.10-1.fc23.x86_64
VirtualBox-5.0.10-1.fc23.x86_64
kmod-VirtualBox-4.2.5-300.fc23.x86_64-5.0.10-1.fc23.x86_64
在 2016-01-09 11:12:30,"Zamir SUN" <zsun(a)fedoraproject.org> 写道:
$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
--
Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese