📄 fedora - redhat 软件包管理指南 fedora 中文用户.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0042)http://fedora.linuxsir.org/main/?q=node/63 -->
<HTML lang=zh-hans xml:lang="zh-hans"
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Fedora / Redhat 软件包管理指南 | Fedora 中文用户</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE type=text/css media=all>@import url( misc/drupal.css );
</STYLE>
<STYLE type=text/css>@import url( http://fedora.linuxsir.org/main/modules/codefilter/codefilter.css );
</STYLE>
<LINK media=screen
href="Fedora - Redhat 软件包管理指南 Fedora 中文用户.files/menuExpandable3.css"
type=text/css rel=stylesheet>
<SCRIPT src="Fedora - Redhat 软件包管理指南 Fedora 中文用户.files/menuExpandable3.js"
type=text/javascript></SCRIPT>
<LINK href="Fedora - Redhat 软件包管理指南 Fedora 中文用户.files/common.css" type=text/css
rel=stylesheet>
<STYLE type=text/css media=all>@import url( themes/chameleon/marvin/style.css );
</STYLE>
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV id=header><A title=Home href="http://fedora.linuxsir.org/main/"><IMG
alt=Home src="Fedora - Redhat 软件包管理指南 Fedora 中文用户.files/logo.jpg"></A></DIV>
<DIV class=navlinks>
<DIV class=primary><A href="http://www.linuxsir.org/main"><FONT
color=white>LinuxSir.Org 首页</FONT></A> | <A
href="http://fedora.linuxsir.org/main/?q"><FONT color=white>本站首页</FONT></A> | <A
href="http://fedora.linuxsir.org/main/?q=aggregator/categories/3"><FONT
color=white>新闻</FONT></A> | <A
href="http://fedora.linuxsir.org/main/?q=taxonomy/term/1/9/"><FONT
color=white>文档</FONT></A> | <A
href="http://fedora.linuxsir.org/main/?q=taxonomy/term/16/9/"><FONT
color=white>资源</FONT></A> | <A
href="http://fedora.linuxsir.org/main/?q=search"><FONT color=white>搜索</FONT></A>
| <A href="http://www.linuxsir.org/bbs/forumdisplay.php?f=40"
target=_blank><FONT color=white>论坛</FONT></A> | <A
href="http://fedora.linuxsir.org/main/?q=taxonomy/term/14/9"><FONT
color=white>贡献者</FONT></A> | <A
href="http://fedora.linuxsir.org/main/?q=node/3"><FONT color=white>关于</FONT></A>
| <A href="http://fedora.linuxsir.org/main/?q=user"><FONT
color=white>注册/登录</FONT></A></DIV></DIV>
<TABLE id=content>
<TBODY>
<TR>
<TD id=sidebar-left>
<DIV class="block block-block" id=block-block-1>
<H2 class=title>入门必读</H2>
<DIV class=content>
<UL>
<LI><A href="http://fedora.linuxsir.org/main/?q=node/7">什么是Fedora</A>
<LI><A href="http://fedora.linuxsir.org/main/?q=node/42">Fedora
4.0安装手册</A>
<LI><A href="http://fedora.linuxsir.org/main/?q=node/6">Fedora 下载及说明</A>
<LI><A href="http://fedora.linuxsir.org/main/?q=node/63">软件包管理</A>
<LI><A href="http://fedora.linuxsir.org/main/?q=node/91">用户管理</A>
<LI><A href="http://fedora.linuxsir.org/main/?q=node/89">硬件管理</A>
<LI><A href="http://fedora.linuxsir.org/main/?q=node/88">内核管理</A>
</LI></UL>
<SCRIPT src="Fedora - Redhat 软件包管理指南 Fedora 中文用户.files/urchin.js"
type=text/javascript></SCRIPT>
<BR>
<SCRIPT
type=text/javascript>_uacct = "UA-55567-5";urchinTracker();</SCRIPT>
<BR></DIV></DIV>
<DIV class="block block-block" id=block-block-3>
<H2 class=title>重要资讯</H2>
<DIV class=content>
<UL>
<LI><A
href="http://fedora.linuxsir.org/main/?q=taxonomy/term/3/9/">本站公告</A>
<LI><A
href="http://fedora.linuxsir.org/main/?q=taxonomy/term/4/9/">新闻事件</A>
<LI><A href="http://www.linuxsir.org/bbs" target=_blank>本站论坛</A>
<LI><A href="http://fedora.linuxsir.org/main/?q=taxonomy/term/14/9/">贡 献
者</A> </LI></UL></DIV></DIV>
<DIV class="block block-user" id=block-user-1>
<H2 class=title>站点导航</H2>
<DIV class=content>
<DIV class=menu>
<UL>
<LI class=leaf><A title=注册/登录
href="http://fedora.linuxsir.org/main/?q=user">注册/登录</A>
<LI class=collapsed><A
href="http://fedora.linuxsir.org/main/?q=aggregator">新闻聚合</A>
</LI></UL></DIV></DIV></DIV>
<DIV class="block block-aggregator" id=block-aggregator-feed-2>
<H2 class=title>LinuxSir.Org</H2>
<DIV class=content>
<DIV class=item-list>
<UL>
<LI><A
href="http://www.linuxsir.org/main/?q=node/250">恭喜北南南北喜得千金~~~~~~~2006年10月24日02时39分</A>
<LI><A
href="http://www.linuxsir.org/main/?q=node/247">贺Linuxfish兄弟大喜~~~~
2006年10月02日;</A>
<LI><A
href="http://www.linuxsir.org/main/?q=node/246">获悉kissingwolf兄喜得贵子,举站同贺!!!</A>
</LI></UL></DIV>
<DIV class=more-link><A title=查看此feed的最新消息
href="http://fedora.linuxsir.org/main/?q=aggregator/sources/2">更多</A></DIV></DIV></DIV>
<DIV class="block block-user" id=block-user-2>
<H2 class=title>最新注册</H2>
<DIV class=content>
<DIV class=item-list>
<UL>
<LI>qwboys
<LI>bobzheng
<LI>ebluetoo
<LI>xkd01
<LI>colubra</LI></UL></DIV></DIV></DIV>
<DIV class="block block-user" id=block-user-3>
<H2 class=title>当前在线</H2>
<DIV class=content>0 users 和 30 游客 在线</DIV></DIV></TD>
<TD id=main>
<DIV class=breadcrumb><A
href="http://fedora.linuxsir.org/main/?q=">首页</A></DIV>
<H2>Fedora / Redhat 软件包管理指南</H2><!-- begin content -->
<DIV class=node>
<DIV class=content>
<P><B>作者:</B>北南南北<BR><B>来自:</B>LinuxSir.Org<BR><B>提要:</B>在系统管理中,软件包的管理是最重要的,是系统管理的基础的基础;只有我们学会软件包的管理才能谈得上其它的应用;本文以目录式的文档格式,列出新手弟兄所面对的软件包的安装、更新、查询相对的文档,以及几个常用的软件包管理工具,比如
system-cofig-packages 、yum 、apt 等的文档目录等;</P>
<P><B><BR>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<BR>正文<BR>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<BR></B></P>
<P><FONT size=4><B><BR>一、软件包管理的基础;<BR></B></FONT><BR><FONT
size=3><B><BR>1、什么是RPM,RPM有何用?<BR></B></FONT></P>
<P>初次为Fedora /Redhat
安装软件,我们应该学会RPM的安装和使用,也应该知道RPM是做什么用的;在下面文档中,您可能会有点收获;</P>
<P>请参考:</P>
<P><A href="http://fedora.linuxsir.org/main/?q=node/50">《RPM
的介绍和应用》</A><BR><A href="http://fedora.linuxsir.org/main/?q=node/70">《RPM
HOWTO 中译本》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=node/74">《Maximum RPM》</A></P>
<P><FONT size=3><B><BR>2、system-config-packages
本地软件包管理工具;<BR></B></FONT><BR>如果您在安装系统时,把有些必要的软件忘记安装了,我们可以通过
system-config-packages 来安装;system-config-packages
是一个管理本地软件包的工具;更直接一点system-config-packages是通过系统安装盘来安装、移除软件;这个工具极为有用,能解决软件包之间的依赖关系;Redhat
软件包管理工具应该是 redhat-config-packages ,用法是一样的;</P>
<P>请参考:<A href="http://fedora.linuxsir.org/main/?q=node/48"> 《Fedora
软件包管理器system-config-packages》</A></P>
<P><FONT size=3><B><BR>3、如何编译安装源码包软件;<BR></B></FONT></P>
<P>对非file.rpm
软件包的安装,我们也应该有点了解,至少下面的文档能告诉您软件包中大多有README、INSTALL等帮助文档;本文还提到一些非file.rpm的软件的安装方法等;</P>
<P>请参考:<A
href="http://fedora.linuxsir.org/main/?q=node/51">《如何编译安装源码包软件》</A></P>
<P><FONT size=3><B><BR>4、file.src.rpm
是做什么用的?<BR></B></FONT><BR>file.src.rpm 是源码包以rpm 包格式打包,了解一下file.src.rpm
也是有用的;</P>
<P>请参考:</P>
<P><A
href="http://fedora.linuxsir.org/main/?q=src.spec.html">《file.src.rpm
使用方法的简介》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=node/68">《fedora-rpmdevtools
工具介绍》</A></P>
<P><FONT size=4><B><BR>二、软件包管理工具;<BR></B></FONT></P>
<P><FONT size=3><B><BR>1、system-config-packages ;<BR></B></FONT></P>
<P>再重提一下这个工具,放在软件包基础中显示极重要性,放在这里再提一下也适合;</P>
<P>请参考:<A href="http://fedora.linuxsir.org/main/?q=node/48"> 《Fedora
软件包管理器system-config-packages》</A></P>
<P><FONT size=3><B><BR>2、yum 在线更新软件包,也能管理本地已经安装的软件包工具;<BR></B></FONT></P>
<P>Fedora/Redhat 由于有yum 和apt,这两个强大的在线更新工具以及Fedora
扩充计划的推出,才使其有了第二生命力;yum和apt工具能自动解决依赖关系;常期以来由于软件包的依赖关系不能得到很好的解决,使很多Fedora /
Redhat 用户投入到更容易解决软件包依赖的发行版;yum 和apt 无疑是Fedora / Redhat
强心剂;<BR><B><BR>本条目归类yum ,请参考相关yum的文档;<BR></B></P>
<P><A href="http://fedora.linuxsir.org/main/?q=node/31">《Fedora/Redhat
在线安装更新软件包,yum 篇》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=node/52">《软件在线升级更新yum
图形工具介绍》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=node/32">《Fedora Extras(Fedora
计划的扩充资源) rpm.livna.org软件仓库的介绍和应用》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=node/35">《Freshrpms.net 资源介绍,及yum
和apt 的应用》</A></P>
<P><FONT size=3><B><BR>2、apt 在线更新软件包,也能管理本地已经安装的软件包工具;<BR></B></FONT></P>
<P>apt+synaptic 小巧轻快,反应速度快,是最佳的搭档;</P>
<P><B>请参考下列文档;</B></P>
<P><A href="http://fedora.linuxsir.org/main/?q=node/24">《用apt+synaptic
在线安装或升级Fedora core 4.0 软件包》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=node/32">《Fedora Extras(Fedora
计划的扩充资源) rpm.livna.org软件仓库的介绍和应用》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=node/35">《Freshrpms.net 资源介绍,及apt
和yum 的应用》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=sources.list.html">《apt的sources.list》</A><BR><A
href="http://fedora.linuxsir.org/main/?q=node/68">《fedora-rpmdevtools
工具介绍》</A></P>
<P><FONT size=4><B>总结;</B></FONT></P>
<P>如果您是初学者,对Linux一无所知,读完上面的一些文档,我感觉软件包管理,您可能就差不多入门了;至于对Linux系统管理的其它方面,还得慢慢来,比如用户、磁盘、网络、服务器等等;</P>
<P><FONT
size=4><B>后记:</B></FONT><BR>对于软件包管理,可能没有后记可写了,我把初学者遇到的软件管理写的差不了;以后我会不定期的更新和维护这些文档;如果我的水平有所提高,可能会写一点关于软件包管理的新内容;至少目前没有这种能力
;</P></DIV>
<DIV class=links>By beinan at 2005/09/01 - 14:11 | <A
href="http://fedora.linuxsir.org/main/?q=taxonomy/term/18">Fedora</A> | <A
href="http://fedora.linuxsir.org/main/?q=taxonomy/term/17">Redhat</A> | <A
href="http://fedora.linuxsir.org/main/?q=taxonomy/term/19">Apt Yum Rpm</A>
| <A href="http://fedora.linuxsir.org/main/?q=taxonomy/term/2">基础入门</A> |
<A title=共享你有关本文的思想和意见。
href="http://fedora.linuxsir.org/main/?q=comment/reply/63#comment">参与评论</A>
| 42117 阅读</DIV></DIV><A id=comment></A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -