|
|
《Fedora8也疯狂,Synaptic/apt-get试用报告》
Fedora 9 带着 KDE4/EXT4/PackageKit 等强悍特性快来临了,菜鸟只懂新装而不会跨版本升级,所以准备在Fedora8上做点惊险举动:Synaptic/apt-get试用。
初步感想:
1、感叹Fedora包管理的灵活。
2、Synaptic 比 add/remove software、yumex好用
3、速度上apt-get与yum一样,源地理位置不佳“超级牛力”也没辙。
4、yum-presto的deltarpms更新无法用于apt
想用划时代的deltarpms请看 http://www.my-guides.net/en/content/view/91/26/1/1/
官方进度 http://fedoraproject.org/wiki/Releases/FeaturePresto
5、package-cleanup比apt-get autoremove强大。(不作介绍)
6、没弄懂Fedora里apt的gpg控制
7、Fedora9 建议采用 PackageKit/yum方案
开始====================================================
1、yum install synaptic apt
安装完后,可以在Applications --> System Tools --> Synaptic Package Manager 里找到。
2、配置一下源的文件,修改前记得备份。
/etc/apt/sources.list.d/fedora.list- # Fedora
- #repomd http://download.fedora.redhat.com/pub/ fedora/linux/releases/$(VERSION)/Everything/$(ARCH)/os/
- #repomd http://mirror.pacific.net.au/linux/ fedora/linux/releases/$(VERSION)/Everything/$(ARCH)/os/
- #repomd http://opensource.nchc.org.tw/ fedora/linux/releases/$(VERSION)/Everything/$(ARCH)/os/
- repomd http://fedora.candishosting.com.cn/pub/ fedora/linux/releases/$(VERSION)/Everything/$(ARCH)/os/
- # Debug packages
- # repomd http://download.fedora.redhat.com/pub/ fedora/linux/releases/$(VERSION)/Everything/$(ARCH)/debug/
- # sources
- #repomd-src http://download.fedora.redhat.com/pub/ fedora/linux/releases/$(VERSION)/Everything/source/SRPMS/
复制代码 /etc/apt/sources.list.d/fedora-updates.list- # Fedora
- #repomd http://download.fedora.redhat.com/pub/ fedora/linux/updates/$(VERSION)/$(ARCH)/
- #repomd http://mirror.pacific.net.au/linux/ fedora/linux/updates/$(VERSION)/$(ARCH)/
- #repomd http://opensource.nchc.org.tw/ fedora/linux/updates/$(VERSION)/$(ARCH)/
- repomd http://ftp.twaren.net/Linux/ Fedora/linux/updates/$(VERSION)/$(ARCH)/
- # Debug packages
- #repomd http://download.fedora.redhat.com/pub/ fedora/linux/updates/$(VERSION)/$(ARCH)/debug/
- # sources
- #repomd-src http://download.fedora.redhat.com/pub/ fedora/linux/updates/$(VERSION)/SRPMS/
复制代码 /etc/apt/sources.list.d/livna.list- # rpm.livna.org sources.list entries for apt-rpm with repomd support,
- # http://apt-rpm.laiskiainen.org/
- # Please use a nearby repository - a list of mirrors is available eg. at
- # http://rpm.livna.org/smart-mirrors.txt . Pick one from the list, and
- # replace http://rpm.livna.org/fedora/ below with it.
- # -- Main repository
- #repomd http://rpm.livna.org/fedora/ $(VERSION)/$(ARCH)/
- repomd http://rpm.livna.org/fedora/ $(VERSION)/$(ARCH)/
- #repomd http://livna.cat.pdx.edu/fedora/ $(VERSION)/$(ARCH)/
- #repomd http://rpm.livna.org/fedora/ $(VERSION)/$(ARCH)/debug/
- #repomd-src http://rpm.livna.org/fedora/ $(VERSION)/SRPMS/
- # -- Potential updates in testing
- #repomd http://rpm.livna.org/fedora/ testing/$(VERSION)/$(ARCH)/
- #repomd http://rpm.livna.org/fedora/ testing/$(VERSION)/$(ARCH)/debug/
- #repomd-src http://rpm.livna.org/fedora/ testing/$(VERSION)/SRPMS/
- # -- Development repository -- requires Fedora Core + Extras development
- #repomd http://rpm.livna.org/fedora/ development/$(ARCH)/
- #repomd http://rpm.livna.org/fedora/ development/$(ARCH)/debug/
- #repomd-src http://rpm.livna.org/fedora/ development/SRPMS/
复制代码 /etc/apt/sources.list- # Add any local / 3rd party repositories here..
- #compiz-fusion非官方源
- #repomd http://www.dfm.uninsubria.it/ compiz/fusion/$(VERSION)/$(ARCH)/
- #adobe源
- repomd http://linuxdownload.adobe.com/ linux/i386/
- #freshrpms源
- #repomd http://ayo.freshrpms.net/ fedora/linux/$(VERSION)/$(ARCH)/freshrpms/
复制代码
好,现在已经可用了。但是速度并没有提升。对于fedora来说,yum是默认的,始终要细致周到一些。 |
|