old-www/LDP/lame/LAME/linux-admin-made-easy/update-redhat.html

223 lines
4.2 KiB
HTML

<HTML
><HEAD
><TITLE
>Downloading and Installing Red Hat Updates</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="HOME"
TITLE="Linux Administration Made Easy"
HREF="index.html"><LINK
REL="UP"
TITLE="Installation and Hardware Configuration"
HREF="install-config.html"><LINK
REL="PREVIOUS"
TITLE="Booting with LILO"
HREF="install-lilo.html"><LINK
REL="NEXT"
TITLE="Configuring the X Window System"
HREF="xwindows-configuration.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Administration Made Easy</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="install-lilo.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. Installation and Hardware Configuration</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="xwindows-configuration.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="UPDATE-REDHAT"
>4.9. Downloading and Installing Red Hat Updates</A
></H1
><P
>Red Hat has produced some pretty impressive versions of their
distribution so far, but seems to have a history of releasing them when
they are not quite <SPAN
CLASS="QUOTE"
>"ready for prime time"</SPAN
>. Therefore in order
to take full advantage of your Linux system, it is necessary to download
and apply updated packages. These packages, also called <SPAN
CLASS="QUOTE"
>"rpm
files"</SPAN
> are applied using the RPM utility (for details on this
utility, see <A
HREF="using-rpm.html"
>Section 10.1</A
>).</P
><P
>This will prove to be one of the more time-consuming parts of
getting your Linux system ready (unless you have a stellarly fast Internet
connection). However, take the time to do this! You will likely save
yourself a <EM
>lot</EM
> of grief!</P
><P
>First, download all files from:</P
><A
NAME="AEN500"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><P
><A
HREF="ftp://ftp.redhat.com/redhat/updates/6.1/i386/"
TARGET="_top"
>ftp://ftp.redhat.com/redhat/updates/6.1/i386/</A
></P
></BLOCKQUOTE
><P
>(The above assumes you are using Linux on an Intel box).</P
><P
>You should probably download everything into a single directory,
and then you can simply type: ``<TT
CLASS="LITERAL"
>rpm -Uvh *</TT
>'' which
will upgrade all the packages. If you've downloaded any kernel rpm files,
you should probably move them to another directory for now. Upgrading or
customizing your kernel is a bit more complicated and needs to be done
with great care (see <A
HREF="linux-kernel-upgrades.html"
>Section 10.4</A
> for details
on this). Therefore before you apply the upgrades, you may wish to
consider moving all the kernel-*.rpm files out of your temporary upgrade
directory.</P
><P
>To apply the upgrades, you can simply run
``<TT
CLASS="LITERAL"
>rpm</TT
>'' against all the packages at once (ie.
<SPAN
CLASS="QUOTE"
>"<TT
CLASS="LITERAL"
>rpm -Uvh *</TT
>"</SPAN
>), or if you prefer, you can
upgrade them one at a time (ie. <SPAN
CLASS="QUOTE"
>"<TT
CLASS="LITERAL"
>rpm -Uvh
file_to_upgrade.rpm</TT
>"</SPAN
>). The latter method is for us anal
types who wish to ensure that each update is applied correctly without
error. :-)</P
><P
>Perhaps you are curious to see if a given package is installed
before you attempt to upgrade it. Or perhaps you wish to find out what
version of a given package is installed. All this can be done with the
RPM utility; see <A
HREF="using-rpm.html"
>Section 10.1</A
> for details.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="install-lilo.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="xwindows-configuration.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Booting with LILO</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="install-config.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Configuring the X Window System</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>