[FZH] Fedora该如何清理无用软件包?

Mike Manilone crtmike at gmx.us
Sat Feb 16 12:52:21 UTC 2013


在 yum.conf 的 [main] 下寫個
cleanup_requirements_on_remove=1
就能在 yum remove 時自動刪除孤包,yum 自己的功能,質量有保證,PackageKit
裏面也可以使用。

在 2013-02-16六的 15:15 +0800,Mike Manilone写道:
> 新版的 yum 明明有一個選項,你們都不知道嗎?!?
> http://blog.christophersmart.com/2010/11/11/testing-yums-autoremove-orphaned-deps-feature/
> 
> 
> 在 2013-02-16六的 14:18 +0800,Tommy He写道:
> > 在 package-cleanup 里有 orphans 的选项查看孤包啊……
> > 
> > 2013/2/16 Easior Lars <easior.lars在yahoo.com>:
> > > 孤包确实难弄!
> > >
> > > On Feb 15, 2013, at 8:54 PM, 杜宏羽 <dongfengweixiao在gmail.com> wrote:
> > >
> > >> 1。熟能生巧
> > >> 2。查看yum的历史记录
> > >>
> > >> 最后要说的是,孤包并不容易解决
> > >> 在 2013-2-15 下午8:50,"Easior Lars" <easior.lars在yahoo.com>写道:
> > >>
> > >>> 重拾Fedora,感觉清理系统没有头绪。
> > >>>
> > >>>
> > >>> 1、桌面自带软件想清理,但苦于程序菜单中的名字是中文,例如程序菜单中有字典、茄子、软件等图标,却不知道它们对应的英文包名字,无法用yum删去!(字典、茄子已经搞定,软件图标不知道是哪个包的?)
> > >>>
> > >>>
> > >>> 2、由于编译了一些包,安装了好些devel包,这些包在完成编译之后就没有用了。可是,这些包中很多是由于编译依赖而被安装的,无法记住确切包名,故没有好的方法清理。
> > >>>
> > >>> 尽管yum提供了remove-leaves插件以及package-cleanup工具,可对上面这些问题,这些仍显得很无力!不知道Fedora中有没有一个地方记录用户yum
> > >>> install或rpm -i的信息,以便区分包是用户主动安装或者因依赖被动安装的?
> > >>>
> > >>> 各位有什么见解,分享一下吧?
> > >>>
> > >>> Cheers,
> > >>>
> > >>> Easior Lars
> > >>>
> > >>> easior.lars在yahoo.com
> > >>> www.shlug.org
> > >>>
> > >>> --
> > >>> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
> > >>>
> > >> --
> > >> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
> > >
> > > Cheers,
> > >
> > > Easior Lars
> > >
> > > easior.lars在yahoo.com
> > > www.shlug.org
> > >
> > > --
> > > Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
> > 
> > 
> > 
> 
> 
> --
> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese




More information about the Chinese mailing list