红联Linux门户
Linux帮助

为fedora 8添加软件源;并附fc8下使用apt-get的方法

发布时间:2007-12-30 16:15:16来源:红联作者:bitrated
作者:潇雪荻
为fedora8添加软件源

freshrpms

rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/8/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm

livna

rpm -ivh http://rpm.livna.org/livna-release-8.rpm

加速yum
yum install yum-fastestmirror

Fedora8 中使用apt

apt是Debian系列的Linux发行版所采用的软件包管理工具,可能因为我接触的第一个管理器就是apt-get,所以我对他一直情有独钟,就算后来把系统换成了Fedora也一直想用apt来替代系统自带的yum。在RHEL和Fedora6下我曾经尝试过这样作,但是结果并不理想。现在好了,Fedora
8的官方源里面已经加入了apt,现在可以随心所欲的使用这个强大的工具了。

1.apt的安装
apt的安装需要以下软件包:

apt-devel-0.5.15lorg3.93-2.fc8
apt-0.5.15lorg3.93-2.fc8
fedora-package-config-apt-8-1

但是在实际安装的时候,如果已经设置好了yum的源,可以直接输入:
yum
install apt
这样就可以了,很简单。

2.apt的使用
很喜欢使用apt-get时候系统的那句提示:This
APT has Super Cow Powers(本apt具有超级牛力!),很有意思。

主要命令如下:
update
- Retrieve new lists of packages
upgrade - Perform an
upgrade
install - Install new packages (pkg is libc6 not
libc6.rpm)
remove - Remove packages
source - Download source
archives
build-dep - Configure build-dependencies for source
packages
dist-upgrade - Distribution upgrade, see apt-get(8)
clean
- Erase downloaded archive files
autoclean - Erase old downloaded
archive files
check - Verify that there are no broken dependencies
文章评论

共有 2 条评论

  1. zidscen 于 2007-12-30 17:27:41发表:

    路过

  2. deepwhite 于 2007-12-30 16:41:46发表:

    把我的东西咔嚓掉一段粘过来,改了个作者名字?
    嘿嘿!!