[FZH] 回复:Re: 回复:Re: fedora23 请问怎么清理无用的软件包?

lyfbuaa lyfbuaa at 163.com
Sun Jan 10 02:57:27 UTC 2016


好的,谢谢,下次我试试这种方法;但是想清理从仓库安装的但卸载没卸干净的有办法没?








在 2016-01-10 09:22:46,"Robin Lee" <robinlee.sysu在gmail.com> 写道:
>用 dnf mark instal XXX 来指定哪些包是手动安装的,反操作是 dnf mark remove XXX
>
>2016-01-09 19:52 GMT+08:00 Szopen Xiao <chopins.xiao在gmail.com>:
>
>> dnf autoremove 删除的是独立叶节点的包,肯定不可靠
>>
>> 在 2016年1月9日 下午6:06,Yang Zhang <yzfedora在gmail.com>写道:
>>
>> > 哈哈,我也跑了以下这个命令,结果他要删除我的VLC还有wireshark. 我前几分钟都还在用这两个包。
>> >
>> > 2016-01-09 18:02 GMT+08:00 lyfbuaa <lyfbuaa在163.com>:
>> >
>> > >
>> > >
>> > >
>> > > 可靠吗?    我也看到这个选项了,没敢用。
>> > > 比如我刚跑了下,结果这个包就在列,可是我是要用的呢。
>> > > 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在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在fedoraproject.org
>> > > >zsun in #fedora-zh #openshift on freenode.net
>> > > >--
>> > > >Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>> > > --
>> > > Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>> > >
>> > --
>> > Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>> >
>> --
>> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>>
>--
>Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese


More information about the Chinese mailing list