/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ö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ützliches Kommando erlaubt die
Installation von Paketen via FTP. Wenn man eine Verbindung ins Internet hat
und ein neues Paket installieren will, muß man die Dateien nur zusätzlich
mit einem gü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ß der RPM jetzt via FTP arbeitet und installiert.</P>
<P>Außer für diese simplen Kommandos kann rpm auch noch fü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 <dir>]
rpm {--install -i} [-v] [--hash -h] [--percent] [--force] [--test]
[--replacepkgs] [--replacefiles] [--root <dir>]
[--excludedocs] [--includedocs] [--noscripts]
[--rcfile <file>] [--ignorearch] [--dbpath <dir>]
[--prefix <dir>] [--ignoreos] [--nodeps]
[--ftpproxy <host>] [--ftpport <port>]
file1.rpm ... fileN.rpm
rpm {--upgrade -U} [-v] [--hash -h] [--percent] [--force] [--test]
[--oldpackage] [--root <dir>] [--noscripts]
[--excludedocs] [--includedocs] [--rcfile <file>]
[--ignorearch] [--dbpath <dir>] [--prefix <dir>]
[--ftpproxy <host>] [--ftpport <port>]
[--ignoreos] [--nodeps] file1.rpm ... fileN.rpm
rpm {--query -q} [-afpg] [-i] [-l] [-s] [-d] [-c] [-v] [-R]
[--scripts] [--root <dir>] [--rcfile <file>]
[--whatprovides] [--whatrequires] [--requires]
[--ftpuseport] [--ftpproxy <host>] [--ftpport <port>]
[--provides] [--dump] [--dbpath <dir>] [targets]
rpm {--verify -V -y} [-afpg] [--root <dir>] [--rcfile <file>]
[--dbpath <dir>] [--nodeps] [--nofiles] [--noscripts]
[--nomd5] [targets]
rpm {--setperms} [-afpg] [target]
rpm {--setugids} [-afpg] [target]
rpm {--erase -e} [--root <dir>] [--noscripts] [--rcfile <file>]
[--dbpath <dir>] [--nodeps] [--allmatches]
package1 ... packageN
rpm {-b|t}[plciba] [-v] [--short-circuit] [--clean] [--rcfile <file>]
[--sign] [--test] [--timecheck <s>] specfile
rpm {--rebuild} [--rcfile <file>] [-v] source1.rpm ... sourceN.rpm
rpm {--recompile} [--rcfile <file>] [-v] source1.rpm ... sourceN.rpm
rpm {--resign} [--rcfile <file>] package1 package2 ... packageN
rpm {--addsign} [--rcfile <file>] package1 package2 ... packageN
rpm {--checksig -K} [--nopgp] [--nomd5] [--rcfile <file>]
package1 ... packageN
rpm {--rebuilddb} [--rcfile <file>] [--dbpath <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>
|