Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15309620
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: LINUX

2008-06-18 12:06:01

       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

睡觉了,不写了。使用apt纯属个人爱好,没有否定yum的意思。

我的: wget
阅读(4657) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~