This file is indexed.

/usr/share/doc/HOWTO/de-html/DE-RPM-HOWTO-5.html is in doc-linux-de 2003.10-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.65">
 <TITLE>Linux RPM HOWTO: Benutzung des RPM</TITLE>
 <LINK HREF="DE-RPM-HOWTO-6.html" REL=next>
 <LINK HREF="DE-RPM-HOWTO-4.html" REL=previous>
 <LINK HREF="DE-RPM-HOWTO.html#toc5" REL=contents>
</HEAD>
<BODY>
<A HREF="DE-RPM-HOWTO-6.html"><IMG SRC="next.png" ALT="Weiter"></A>
<A HREF="DE-RPM-HOWTO-4.html"><IMG SRC="prev.png" ALT="Zurück"></A>
<A HREF="DE-RPM-HOWTO.html#toc5"><IMG SRC="toc.png" ALT="Inhalt"></A>
<HR>
<H2><A NAME="s5">5.</A> <A HREF="DE-RPM-HOWTO.html#toc5">Benutzung des RPM</A></H2>

<P>Die einfachste M&ouml;glichkeit der Anwendung ist die Installation eines
Paketes:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
rpm -i foobar-1.0-1.i386.rpm
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>Ebenso einfach ist die Deinstallation eines Paketes:</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
rpm -e foobar
</PRE>
</CODE></BLOCKQUOTE>
</P>

<P>Ein etwas komplizierteres, aber <EM>sehr</EM> n&uuml;tzliches Kommando erlaubt die
Installation von Paketen via FTP. Wenn man eine Verbindung ins Internet hat
und ein neues Paket installieren will, mu&szlig; man die Dateien nur zus&auml;tzlich
mit einem g&uuml;ltigen URL versehen, etwa so:
<BLOCKQUOTE><CODE>
<PRE>
rpm -i ftp://ftp.pht.com/pub/linux/redhat/rh-2.0-beta/RPMS/foobar-1.0-1.i386.rpm
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>Man beachte, da&szlig; der RPM jetzt via FTP arbeitet und installiert.</P>
<P>Au&szlig;er f&uuml;r diese simplen Kommandos kann rpm auch noch f&uuml;r viele andere
Aufgaben eingesetzt werden, wie dies die <CODE>Usage</CODE> Message andeutet:
<BLOCKQUOTE><CODE>
<PRE>
RPM version 2.3.9
Copyright (C) 1997 - Red Hat Software
This may be freely redistributed under the terms of the GNU Public License

usage: rpm {--help}
       rpm {--version}
       rpm {--initdb}   [--dbpath &lt;dir>]
       rpm {--install -i} [-v] [--hash -h] [--percent] [--force] [--test]
                        [--replacepkgs] [--replacefiles] [--root &lt;dir>]
                        [--excludedocs] [--includedocs] [--noscripts]
                        [--rcfile &lt;file>] [--ignorearch] [--dbpath &lt;dir>]
                        [--prefix &lt;dir>] [--ignoreos] [--nodeps]
                        [--ftpproxy &lt;host>] [--ftpport &lt;port>]
                        file1.rpm ... fileN.rpm
       rpm {--upgrade -U} [-v] [--hash -h] [--percent] [--force] [--test]
                        [--oldpackage] [--root &lt;dir>] [--noscripts]
                        [--excludedocs] [--includedocs] [--rcfile &lt;file>]
                        [--ignorearch]  [--dbpath &lt;dir>] [--prefix &lt;dir>] 
                        [--ftpproxy &lt;host>] [--ftpport &lt;port>]
                        [--ignoreos] [--nodeps] file1.rpm ... fileN.rpm
       rpm {--query -q} [-afpg] [-i] [-l] [-s] [-d] [-c] [-v] [-R]
                        [--scripts] [--root &lt;dir>] [--rcfile &lt;file>]
                        [--whatprovides] [--whatrequires] [--requires]
                        [--ftpuseport] [--ftpproxy &lt;host>] [--ftpport &lt;port>]
                        [--provides] [--dump] [--dbpath &lt;dir>] [targets]
       rpm {--verify -V -y} [-afpg] [--root &lt;dir>] [--rcfile &lt;file>]
                        [--dbpath &lt;dir>] [--nodeps] [--nofiles] [--noscripts]
                        [--nomd5] [targets]
       rpm {--setperms} [-afpg] [target]
       rpm {--setugids} [-afpg] [target]
       rpm {--erase -e} [--root &lt;dir>] [--noscripts] [--rcfile &lt;file>]
                        [--dbpath &lt;dir>] [--nodeps] [--allmatches]
                        package1 ... packageN
       rpm {-b|t}[plciba] [-v] [--short-circuit] [--clean] [--rcfile  &lt;file>]
                        [--sign] [--test] [--timecheck &lt;s>] specfile
       rpm {--rebuild} [--rcfile &lt;file>] [-v] source1.rpm ... sourceN.rpm
       rpm {--recompile} [--rcfile &lt;file>] [-v] source1.rpm ... sourceN.rpm
       rpm {--resign} [--rcfile &lt;file>] package1 package2 ... packageN
       rpm {--addsign} [--rcfile &lt;file>] package1 package2 ... packageN
       rpm {--checksig -K} [--nopgp] [--nomd5] [--rcfile &lt;file>]
                           package1 ... packageN
       rpm {--rebuilddb} [--rcfile &lt;file>] [--dbpath &lt;dir>]
       rpm {--querytags}
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>Mehr dazu, was die verschiedenen Optionen bewirken, findet man in der
Manpage des RPM.</P>

<HR>
<A HREF="DE-RPM-HOWTO-6.html"><IMG SRC="next.png" ALT="Weiter"></A>
<A HREF="DE-RPM-HOWTO-4.html"><IMG SRC="prev.png" ALT="Zurück"></A>
<A HREF="DE-RPM-HOWTO.html#toc5"><IMG SRC="toc.png" ALT="Inhalt"></A>
</BODY>
</HTML>