⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fedora-redhat 在线安装更新软件包,yum 篇 ── 给新手指南 fedora 中文用户.htm

📁 linuxSir 网站的精华文章
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<!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/31 -->
<HTML lang=zh-hans xml:lang="zh-hans" 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Fedora/Redhat 在线安装更新软件包,yum 篇 ── 给新手指南 | 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>


<LINK media=screen 
href="Fedora-Redhat 在线安装更新软件包,yum 篇 ── 给新手指南  Fedora 中文用户.files/menuExpandable3.css" 
type=text/css rel=stylesheet>
<SCRIPT 
src="Fedora-Redhat 在线安装更新软件包,yum 篇 ── 给新手指南  Fedora 中文用户.files/menuExpandable3.js" 
type=text/javascript></SCRIPT>
<LINK 
href="Fedora-Redhat 在线安装更新软件包,yum 篇 ── 给新手指南  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.2180" name=GENERATOR></HEAD>
<BODY>
<DIV id=header><A title=Home href="http://fedora.linuxsir.org/main/"><IMG 
alt=Home 
src="Fedora-Redhat 在线安装更新软件包,yum 篇 ── 给新手指南  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 在线安装更新软件包,yum 篇 ── 给新手指南  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/227">上海 Linux工作机会</A> 
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/226">改变网络接口的速度和协商方式的工具miitool 
        和ethtool (v0.1b)</A> 
        <LI><A href="http://www.linuxsir.org/main/?q=node/224">Linux 
        网络接口配置文件及相关工具 (v0.1b)</A> 
        <LI><A href="http://www.linuxsir.org/main/?q=node/223">普通 56K猫拔号上网工具 
        wvdial 介绍</A> 
        <LI><A 
        href="http://www.linuxsir.org/main/?q=node/222">Linux操作系统主机名(hostname)简说(v0.1b)</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>sebastianstt
        <LI>fzh76
        <LI>diaalphisto
        <LI>xzlian
        <LI>layeyeung</LI></UL></DIV></DIV></DIV>
      <DIV class="block block-user" id=block-user-3>
      <H2 class=title>当前在线</H2>
      <DIV class=content>0 users 和 5 游客 在线</DIV></DIV></TD>
    <TD id=main>
      <DIV class=breadcrumb><A 
      href="http://fedora.linuxsir.org/main/?q=">首页</A></DIV>
      <H2>Fedora/Redhat 在线安装更新软件包,yum 篇 ── 给新手指南</H2><!-- begin content -->
      <DIV class=node>
      <DIV class=content>
      <P><B>作者:</B>北南南北<BR><B>来自:</B>LinuxSir.Org<BR><B>提要:</B>我们用的是Redhat/Fedora通过在线安装更新软件包,除了系统自带的up2date以外,我们还有更为强大的在线升级工具 
      yum 和 apt-get 可用。主要资源有 freshrpms.net和 rpm.livna.org ;</P>
      <P>在本文中,我们主要解介绍 Fedora core 4.0 
      通过软件包管理工具yum来在线安装更新软件;关于apt工具应用,我们会在另外一篇中介绍;</P>
      <P><FONT size=3><B><BR>一、 yum 
      的使用;<BR></B></FONT><BR>有些初学Linux的弟兄可能问,为什么不用系统自带的图形化工具up2date来升级,却要用 
      yum呢。其实大家用一用就知道了,up2date 真是奇慢无比,而且经常失去响应;造成机器假死的情况。所以我们还是试一试yum 
      ;另外freshrpms.net 可能比官方站更快的更新升级源,也没有理由不用 
      yum;<BR><B><BR>1、首先我们要到下面的地址下载与自己系统相对应的版本的 yum;<BR></B></P>
      <P>http://ayo.freshrpms.net/</P>
      <P>比如我用的是Fedora core 4.0 就下载如下的包安装;<BR>
      <DIV class=codeblock><CODE>[root@localhost beinan]# rpm -ivh 
      freshrpms-release-1.1-1.fc.noarch.rpm<BR>warning: 
      freshrpms-release-1.1-1.fc.noarch.rpm: Header V3 DSA signature: NOKEY, key 
      ID e42d547b<BR>Preparing... ########################################### 
      [100%]<BR>1:freshrpms-release ########################################### 
      [100%]</CODE></DIV><BR><B><BR>2、安装软件举例;<BR></B><BR>比如我要安装能听mp3的 
      bmp-mp3,只要输入下面的命令行即可,系统就自己工作了;<BR>
      <DIV class=codeblock><CODE>[root@localhost beinan]# yum install 
      bmp-mp3</CODE></DIV>
      <P></P>
      <P>内容全景如下:</P>
      <P>
      <DIV class=codeblock><CODE>[root@localhost beinan]# yum install 
      bmp-mp3<BR>Setting up Install Process<BR>Setting up 
      repositories<BR>updates-released 100% |=========================| 951 B 
      00:00<BR>extras 100% |=========================| 1.1 kB 00:00<BR>base 100% 
      |=========================| 1.1 kB 00:00<BR>freshrpms 100% 
      |=========================| 951 B 00:00<BR>Reading repository metadata in 
      from local files<BR>primary.xml.gz 100% |=========================| 42 kB 
      00:03<BR>freshrpms : ################################################## 
      122/122<BR>Added 122 new packages, deleted 0 old in 0.72 
      seconds<BR>Parsing package install arguments<BR>Resolving 
      Dependencies<BR>--&gt; Populating transaction set with selected packages. 
      Please wait.<BR>---&gt; Downloading header for bmp-mp3 to pack into 
      transaction set.<BR>bmp-mp3-0.9.7-1.2.fc4.i38 100% 
      |=========================| 2.9 kB 00:00<BR>---&gt; Package bmp-mp3.i386 
      0:0.9.7-1.2.fc4 set to be updated<BR>--&gt; Running transaction 
      check<BR>--&gt; Processing Dependency: libid3-3.8.so.3 for package: 
      bmp-mp3<BR>--&gt; Processing Dependency: libbeep.so.2 for package: 
      bmp-mp3<BR>--&gt; Processing Dependency: bmp &gt;= 0.9.7 for package: 
      bmp-mp3<BR>--&gt; Restarting Dependency Resolution with new 
      changes.<BR>--&gt; Populating transaction set with selected packages. 
      Please wait.<BR>---&gt; Downloading header for id3lib to pack into 
      transaction set.<BR>id3lib-3.8.3-11.fc4.i386. 100% 
      |=========================| 38 kB 00:05<BR>---&gt; Package id3lib.i386 
      0:3.8.3-11.fc4 set to be updated<BR>---&gt; Downloading header for bmp to 
      pack into transaction set.<BR>bmp-0.9.7-10.fc4.i386.rpm 100% 
      |=========================| 14 kB 00:03<BR>---&gt; Package bmp.i386 
      0:0.9.7-10.fc4 set to be updated<BR>--&gt; Running transaction 
      check<BR>Dependencies 
      Resolved<BR>=============================================================================<BR>&nbsp;Package 
      Arch Version Repository 
      Size<BR>=============================================================================<BR>Installing:<BR>&nbsp;bmp-mp3 
      i386 0.9.7-1.2.fc4 freshrpms 95 k<BR>Installing for 
      dependencies:<BR>&nbsp;bmp i386 0.9.7-10.fc4 extras 912 k<BR>&nbsp;id3lib 
      i386 3.8.3-11.fc4 extras 752 k<BR>Transaction 
      Summary<BR>=============================================================================<BR>Install 
      3 Package(s)<BR>Update 0 Package(s)<BR>Remove 0 Package(s)<BR>Total 
      download size: 1.7 M<BR>Is this ok [y/N]: y<BR>Downloading 
      Packages:<BR>(1/3): id3lib-3.8.3-11.fc 100% |=========================| 
      752 kB 01:04<BR>(2/3): bmp-0.9.7-10.fc4.i 100% |=========================| 
      912 kB 02:14<BR>(3/3): bmp-mp3-0.9.7-1.2. 100% |=========================| 
      95 kB 00:05<BR>Running Transaction Test<BR>Finished Transaction 
      Test<BR>Transaction Test Succeeded<BR>Running 
      Transaction<BR>&nbsp;&nbsp;Installing: bmp ######################### 
      [1/3]<BR>&nbsp;&nbsp;Installing: id3lib ######################### 
      [2/3]<BR>&nbsp;&nbsp;Installing: bmp-mp3 ######################### 
      [3/3]<BR>Installed: bmp-mp3.i386 0:0.9.7-1.2.fc4<BR>Dependency Installed: 
      bmp.i386 0:0.9.7-10.fc4 id3lib.i386 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -