1RPM(8)                      System Manager's Manual                     RPM(8)
2
3
4

NAME

6       rpm - RPM Package Manager
7

SYNOPSIS

9   QUERYING AND VERIFYING PACKAGES:
10       rpm {-q|--query} [select-options] [query-options]
11
12       rpm --querytags
13
14       rpm {-V|--verify} [select-options] [verify-options]
15
16
17   INSTALLING, UPGRADING, AND REMOVING PACKAGES:
18       rpm {-i|--install} [install-options] PACKAGE_FILE ...
19
20
21
22       rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
23
24
25
26       rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
27
28
29
30       rpm {--reinstall} [install-options] PACKAGE_FILE ...
31
32
33
34       rpm {-e|--erase} [--allmatches] [--justdb] [--nodeps] [--noscripts]
35           [--notriggers] [--test] PACKAGE_NAME ...
36
37
38   MISCELLANEOUS:
39       rpm --showrc
40
41       rpm --setperms PACKAGE_NAME ...
42
43       rpm --setugids PACKAGE_NAME ...
44
45       rpm --setcaps PACKAGE_NAME ...
46
47       rpm --restore PACKAGE_NAME ...
48
49
50   select-options
51        [PACKAGE_NAME]
52        [-a,--all [SELECTOR]] [-f,--file FILE]
53        [-g,--group GROUP] [-p,--package PACKAGE_FILE]
54        [--hdrid SHA1] [--pkgid MD5] [--tid TID]
55        [--querybynumber HDRNUM] [--triggeredby PACKAGE_NAME]
56        [--whatprovides CAPABILITY] [--whatrequires CAPABILITY]
57        [--whatrecommends CAPABILITY] [--whatsuggests CAPABILITY]
58        [--whatsupplements CAPABILITY] [--whatenhances CAPABILITY]
59        [--whatobsoletes CAPABILITY] [--whatconflicts CAPABILITY]
60
61
62   query-options
63       General:
64        [--changelog] [--changes]  [--dupes] [-i,--info]
65        [--last] [--qf,--queryformat QUERYFMT] [--xml]
66
67       Dependencies:
68        [--conflicts] [--enhances] [--obsoletes] [--provides]
69        [--recommends] [-R,--requires] [--suggests] [--supplements]
70
71       Files:
72        [-c,--configfiles] [-d,--docfiles] [--dump] [--fileclass]
73        [--filecolor] [--fileprovide][--filerequire] [--filecaps]
74        [--filesbypkg] [-l,--list] [-s,--state]
75        [--noartifact] [--noghost] [--noconfig]
76
77       Scripts and triggers:
78        [--filetriggers] [--scripts] [--triggers,--triggerscripts]
79
80
81   verify-options
82        [--nodeps] [--nofiles] [--noscripts]
83        [--nodigest] [--nosignature]
84        [--nolinkto] [--nofiledigest] [--nosize] [--nouser]
85        [--nogroup] [--nomtime] [--nomode] [--nordev]
86        [--nocaps]
87
88
89   install-options
90        [--allfiles] [--badreloc] [--excludepath OLDPATH]
91        [--excludedocs] [--force] [-h,--hash]
92        [--ignoresize] [--ignorearch] [--ignoreos]
93        [--includedocs] [--justdb]
94        [--nodeps] [--nodigest] [--noplugins]
95        [--nocaps] [--noorder] [--noverify]
96        [--nosignature] [--noscripts] [--notriggers]
97        [--oldpackage] [--percent] [--prefix NEWPATH]
98        [--relocate OLDPATH=NEWPATH]
99        [--replacefiles] [--replacepkgs]
100        [--test]
101
102

DESCRIPTION

104       rpm is a powerful Package Manager, which can be used to build, install,
105       query, verify, update, and erase individual software packages.  A pack‐
106       age  consists  of an archive of files and meta-data used to install and
107       erase the archive files. The meta-data includes  helper  scripts,  file
108       attributes,  and  descriptive  information about the package.  Packages
109       come in two varieties: binary packages, used to encapsulate software to
110       be  installed,  and  source  packages,  containing  the source code and
111       recipe necessary to produce binary packages.
112
113       One of the following basic  modes  must  be  selected:  Query,  Verify,
114       Install/Upgrade/Freshen/Reinstall,  Uninstall,  Set Owners/Groups, Show
115       Querytags, and Show Configuration.
116
117   GENERAL OPTIONS
118       These options can be used in all the different modes.
119
120       -?, --help
121              Print a longer usage message then normal.
122
123       --version
124              Print a single line containing the version number of  rpm  being
125              used.
126
127       --quiet
128              Print  as little as possible - normally only error messages will
129              be displayed.
130
131       -v, --verbose
132              Print verbose information - normally routine  progress  messages
133              will be displayed.
134
135       -vv    Print lots of ugly debugging information.
136
137       --rcfile FILELIST
138              Replace  the list of configuration files to be read. Each of the
139              files in the colon separated FILELIST is  read  sequentially  by
140              rpm  for  configuration information.  Only the first file in the
141              list must exist, and tildes will be expanded  to  the  value  of
142              $HOME.  The default FILELIST is /usr/lib/rpm/rpmrc:/usr/lib/rpm/
143              redhat/rpmrc:/etc/rpmrc:~/.rpmrc.
144
145
146       --load FILE
147              Load an individual macro file.
148
149
150       --macros FILELIST
151              Replace the list of macro files to be loaded. Each of the  files
152              in  the colon separated FILELIST is read sequentially by rpm for
153              macro definitions.  Only the first file in the list must  exist,
154              and  tildes will be expanded to the value of $HOME.  The default
155              FILELIST is  /usr/lib/rpm/macros:/usr/lib/rpm/macros.d/macros.*:
156              /usr/lib/rpm/platform/%{_target}/macros:/usr/lib/rpm/fileattrs/
157              *.attr:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/
158              macros:/etc/rpm/%{_target}/macros:~/.rpmmacros
159
160
161       --pipe CMD
162              Pipes the output of rpm to the command CMD.
163
164       --dbpath DIRECTORY
165              Use  the  database  in  DIRECTORY  rather  than the default path
166              /var/lib/rpm
167
168       --root DIRECTORY
169              Use the file system tree rooted at DIRECTORY for all operations.
170              Note  that this means the database within DIRECTORY will be used
171              for dependency checks  and  any  scriptlet(s)  (e.g.   %post  if
172              installing, or %prep if building, a package) will be run after a
173              chroot(2) to DIRECTORY.
174
175       -D, --define='MACRO EXPR'
176              Defines MACRO with value EXPR.
177
178       --undefine='MACRO'
179              Undefines MACRO.
180
181       -E, --eval='EXPR'
182              Prints macro expansion of EXPR.
183
184
185       More - less often needed - options can be found on the rpm-misc(8)  man
186       page.
187
188   INSTALL AND UPGRADE OPTIONS
189       In  these  options, PACKAGE_FILE can be either rpm binary file or ASCII
190       package manifest (see PACKAGE SELECTION OPTIONS), and may be  specified
191       as  an  ftp  or  http URL, in which case the package will be downloaded
192       before being installed. See FTP/HTTP OPTIONS for information  on  rpm's
193       ftp and http client support.
194
195       The general form of an rpm install command is
196
197       rpm {-i|--install} [install-options] PACKAGE_FILE ...
198
199       This installs a new package.
200
201       The general form of an rpm upgrade command is
202
203       rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
204
205       This  upgrades  or  installs the package currently installed to a newer
206       version.  This is the same as install, except all other  version(s)  of
207       the package are removed after the new package is installed.
208
209       rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
210
211       This  will upgrade packages, but only ones for which an earlier version
212       is installed.
213
214       The general form of an rpm reinstall command is
215
216       rpm {--reinstall} [install-options] PACKAGE_FILE ...
217
218       This reinstalls a previously installed package.
219
220       --allfiles
221              Installs or upgrades all the missingok  files  in  the  package,
222              regardless if they exist.
223
224       --badreloc
225              Used  with --relocate, permit relocations on all file paths, not
226              just those OLDPATH's included in the binary  package  relocation
227              hint(s).
228
229       --excludepath OLDPATH
230              Don't install files whose name begins with OLDPATH.
231
232       --excludedocs
233              Don't install any files which are marked as documentation (which
234              includes man pages and texinfo documents).
235
236       --force
237              Same as using --replacepkgs, --replacefiles, and --oldpackage.
238
239       -h, --hash
240              Print 50 hash marks as the package  archive  is  unpacked.   Use
241              with -v|--verbose for a nicer display.
242
243       --ignoresize
244              Don't  check mount file systems for sufficient disk space before
245              installing this package.
246
247       --ignorearch
248              Allow installation or upgrading even if the architectures of the
249              binary package and host don't match.
250
251       --ignoreos
252              Allow installation or upgrading even if the operating systems of
253              the binary package and host don't match.
254
255       --includedocs
256              Install documentation files. This is the default behavior.
257
258       --justdb
259              Update only the database, not the filesystem.
260
261       --nodigest
262              Don't verify package or header digests when reading.
263
264       --nomanifest
265              Don't process non-package files as manifests.
266
267       --nosignature
268              Don't verify package or header signatures when reading.
269
270       --nodeps
271              Don't do a dependency check before  installing  or  upgrading  a
272              package.
273
274       --nocaps
275              Don't set file capabilities.
276
277       --noorder
278              Don't  reorder the packages for an install. The list of packages
279              would normally be reordered to satisfy dependencies.
280
281       --noverify
282              Don't perform verify package files prior to installation.
283
284       --noplugins
285              Do not load and execute plugins.
286
287       --noscripts, --nopre, --nopost,  --nopreun,  --nopostun,  --nopretrans,
288       --noposttrans
289              Don't  execute  the scriptlet of the same name.  The --noscripts
290              option is equivalent to
291
292              --nopre --nopost --nopreun --nopostun --nopretrans --noposttrans
293
294              and turns off the execution of the  corresponding  %pre,  %post,
295              %preun, %postun %pretrans, and %posttrans scriptlet(s).
296
297
298       --notriggers, --notriggerin, --notriggerun, --notriggerprein, --notrig‐
299       gerpostun
300              Don't execute any trigger scriptlet  of  the  named  type.   The
301              --notriggers option is equivalent to
302
303              --notriggerprein --notriggerin --notriggerun --notriggerpostun
304
305              and  turns  off  execution  of  the corresponding %triggerprein,
306              %triggerin, %triggerun, and %triggerpostun scriptlet(s).
307
308       --oldpackage
309              Allow an upgrade to replace a newer package with an older one.
310
311       --percent
312              Print percentages as files are unpacked  from  the  package  ar‐
313              chive.   This  is  intended  to  make rpm easy to run from other
314              tools.
315
316       --prefix NEWPATH
317              For relocatable binary packages, translate all file  paths  that
318              start  with  the  installation  prefix in the package relocation
319              hint(s) to NEWPATH.
320
321       --relocate OLDPATH=NEWPATH
322              For relocatable binary packages, translate all file  paths  that
323              start with OLDPATH in the package relocation hint(s) to NEWPATH.
324              This option can be used repeatedly if several OLDPATH's  in  the
325              package are to be relocated.
326
327       --replacefiles
328              Install  the  packages  even  if  they replace files from other,
329              already installed, packages.
330
331       --replacepkgs
332              Install the packages even if some of them are already  installed
333              on this system.
334
335       --test Do  not  install the package, simply check for and report poten‐
336              tial conflicts.
337
338   ERASE OPTIONS
339       The general form of an rpm erase command is
340
341       rpm {-e|--erase}  [--allmatches]  [--justdb]  [--nodeps]  [--noscripts]
342       [--notriggers] [--test] PACKAGE_NAME ...
343
344
345       The following options may also be used:
346
347       --allmatches
348              Remove  all  versions  of  the package which match PACKAGE_NAME.
349              Normally an error is issued  if  PACKAGE_NAME  matches  multiple
350              packages.
351
352       --justdb
353              Update only the database, not the filesystem.
354
355       --nodeps
356              Don't check dependencies before uninstalling the packages.
357
358       --noscripts, --nopreun, --nopostun
359              Don't  execute  the scriptlet of the same name.  The --noscripts
360              option during package erase is equivalent to
361
362              --nopreun --nopostun
363
364              and turns off the execution of  the  corresponding  %preun,  and
365              %postun scriptlet(s).
366
367       --notriggers, --notriggerun, --notriggerpostun
368              Don't  execute  any  trigger  scriptlet  of the named type.  The
369              --notriggers option is equivalent to
370
371              --notriggerun --notriggerpostun
372
373              and turns off execution of  the  corresponding  %triggerun,  and
374              %triggerpostun scriptlet(s).
375
376       --test Don't  really  uninstall  anything, just go through the motions.
377              Useful in conjunction with the -vv option for debugging.
378
379   QUERY OPTIONS
380       The general form of an rpm query command is
381
382       rpm {-q|--query} [select-options] [query-options]
383
384
385       You may specify the format that package information should  be  printed
386       in. To do this, you use the
387
388        --qf|--queryformat QUERYFMT
389
390       option, followed by the QUERYFMT format string.  Query formats are mod‐
391       ified versions of the standard printf(3) formatting. The format is made
392       up  of  static  strings (which may include standard C character escapes
393       for newlines, tabs, and other special characters)  and  printf(3)  type
394       formatters.  As rpm already knows the type to print, the type specifier
395       must be omitted however, and replaced by the name of the header tag  to
396       be  printed, enclosed by {} characters. Tag names are case insensitive,
397       and the leading RPMTAG_ portion of the tag name may be omitted as well.
398
399       Alternate output formats may be requested by  following  the  tag  with
400       :typetag.  Currently, the following types are supported:
401
402       :armor Wrap a public key in ASCII armor.
403
404       :arraysize
405              Display number of elements in array tags.
406
407       :base64
408              Encode binary data using base64.
409
410       :date  Use strftime(3) "%c" format.
411
412       :day   Use strftime(3) "%a %b %d %Y" format.
413
414       :depflags
415              Format dependency comparison operator.
416
417       :deptype
418              Format dependency type.
419
420       :expand
421              Perform macro expansion.
422
423       :fflags
424              Format file flags.
425
426       :fstate
427              Format file state.
428
429       :fstatus
430              Format file verify status.
431
432       :hex   Format in hexadecimal.
433
434       :octal Format in octal.
435
436       :humaniec
437              Human  readable  number (in IEC 80000). The suffix K = 1024, M =
438              1048576, ...
439
440       :humansi
441              Human readable number (in SI). The suffix K = 1000, M = 1000000,
442              ...
443
444       :perms Format file permissions.
445
446       :pgpsig
447              Display signature fingerprint and time.
448
449       :shescape
450              Escape single quotes for use in a script.
451
452       :string
453              Display string format. (default)
454
455       :triggertype
456              Display trigger suffix.
457
458       :vflags
459              File verification flags.
460
461       :xml   Wrap data in simple xml markup.
462
463       For example, to print only the names of the packages queried, you could
464       use %{NAME} as the format string.  To print the packages name and  dis‐
465       tribution information in two columns, you could use %-30{NAME}%{DISTRI‐
466       BUTION}.  rpm will print a list of all of the tags it knows about  when
467       it is invoked with the --querytags argument.
468
469       There  are  three  subsets  of options for querying: package selection,
470       file selection and information selection.
471
472   PACKAGE SELECTION OPTIONS:
473       PACKAGE_NAME
474              Query installed package named PACKAGE_NAME. To specify the pack‐
475              age  more precisely the package name may be followed by the ver‐
476              sion or version and release both  separated  by  a  dash  or  an
477              architecture  name separated by a dot. See the output of rpm -qa
478              or rpm -qp PACKAGE_FILE as an example.
479
480
481       -a, --all [SELECTOR]
482              Query all installed packages.
483
484              An optional SELECTOR in the form of tag=pattern can be  provided
485              to narrow the selection, for example name="b*" to query packages
486              whose name starts with "b".
487
488       --dupes
489              List duplicated packages.
490
491       -f, --file FILE
492              Query package owning FILE.
493
494       --filecaps
495              List file names with POSIX1.e capabilities.
496
497       --fileclass
498              List file names with their classes (libmagic classification).
499
500       --filecolor
501              List file names with their colors (0 for noarch, 1 for 32bit,  2
502              for 64 bit).
503
504       --fileprovide
505              List file names with their provides.
506
507       --filerequire
508              List file names with their requires.
509
510       -g, --group GROUP
511              Query packages with the group of GROUP.
512
513       --hdrid SHA1
514              Query  package that contains a given header identifier, i.e. the
515              SHA1 digest of the immutable header region.
516
517       -p, --package PACKAGE_FILE
518              Query an (uninstalled) package PACKAGE_FILE.   The  PACKAGE_FILE
519              may  be specified as an ftp or http style URL, in which case the
520              package header will be downloaded  and  queried.   See  FTP/HTTP
521              OPTIONS  for  information  on rpm's ftp and http client support.
522              The PACKAGE_FILE argument(s), if not a binary package,  will  be
523              interpreted  as  an  ASCII  package manifest unless --nomanifest
524              option is used.  In manifests, comments are permitted,  starting
525              with a '#', and each line of a package manifest file may include
526              white space separated glob expressions,  including  URL's,  that
527              will  be  expanded to paths that are substituted in place of the
528              package manifest as additional  PACKAGE_FILE  arguments  to  the
529              query.
530
531       --pkgid MD5
532              Query package that contains a given package identifier, i.e. the
533              MD5 digest of the combined header and payload contents.
534
535       --querybynumber HDRNUM
536              Query the HDRNUMth database entry directly; this is useful  only
537              for debugging.
538
539       --specfile SPECFILE
540              Parse  and  query SPECFILE as if it were a package. Although not
541              all the information (e.g. file lists) is available, this type of
542              query  permits  rpm  to be used to extract information from spec
543              files without having to write a specfile parser.
544
545       --tid TID
546              Query package(s) that have a given TID transaction identifier. A
547              unix  time  stamp is currently used as a transaction identifier.
548              All package(s) installed or erased within a  single  transaction
549              have a common identifier.
550
551       --triggeredby PACKAGE_NAME
552              Query packages that are triggered by package(s) PACKAGE_NAME.
553
554       --whatobsoletes CAPABILITY
555              Query all packages that obsolete CAPABILITY for proper function‐
556              ing.
557
558       --whatprovides CAPABILITY
559              Query all packages that provide the CAPABILITY capability.
560
561       --whatrequires CAPABILITY
562              Query all packages that require CAPABILITY for proper  function‐
563              ing.
564
565       --whatconflicts CAPABILITY
566              Query all packages that conflict with CAPABILITY.
567
568       --whatrecommends CAPABILITY
569              Query all packages that recommend CAPABILITY.
570
571       --whatsuggests CAPABILITY
572              Query all packages that suggest CAPABILITY.
573
574       --whatsupplements CAPABILITY
575              Query all packages that supplement CAPABILITY.
576
577       --whatenhances CAPABILITY
578              Query all packages that enhance CAPABILITY.
579
580   PACKAGE QUERY OPTIONS:
581       --changelog
582              Display change information for the package.
583
584       --changes
585              Display  change  information  for  the  package  with  full time
586              stamps.
587
588       --conflicts
589              List capabilities this package conflicts with.
590
591       --dump Dump file information as follows (implies -l):
592
593
594              path size mtime digest mode owner group isconfig isdoc rdev symlink
595
596
597       --enhances
598              List capabilities enhanced by package(s)
599
600       --filesbypkg
601              List all the files in each selected package.
602
603       --filetriggers
604              List filetrigger scriptlets from package(s).
605
606       -i, --info
607              Display  package  information,  including  name,  version,   and
608              description.  This uses the --queryformat if one was specified.
609
610       --last Orders  the package listing by install time such that the latest
611              packages are at the top.
612
613       -l, --list
614              List files in package.
615
616       --obsoletes
617              List packages this package obsoletes.
618
619       --provides
620              List capabilities this package provides.
621
622       --recommends
623              List capabilities recommended by package(s)
624
625       -R, --requires
626              List capabilities on which this package depends.
627
628       --suggests
629              List capabilities suggested by package(s)
630
631       --supplements
632              List capabilities supplemented by package(s)
633
634       --scripts
635              List the package specific scriptlet(s) that are used as part  of
636              the installation and uninstallation processes.
637
638       -s, --state
639              Display  the  states  of files in the package (implies -l).  The
640              state of each file is one of normal, not installed, or replaced.
641
642       --triggers, --triggerscripts
643              Display the trigger scripts, if any, which are contained in  the
644              package.  --xml Format package headers as XML.
645
646
647   FILE SELECTION OPTIONS:
648       -A, --artifactfiles
649              Only include artifact files (implies -l).
650
651       -c, --configfiles
652              Only include configuration files (implies -l).
653
654       -d, --docfiles
655              Only include documentation files (implies -l).
656
657       -L, --licensefiles
658              Only include license files (implies -l).
659
660       --noartifact
661              Exclude artifact files.
662
663       --noconfig
664              Exclude config files.
665
666       --noghost
667              Exclude ghost files.
668
669
670   VERIFY OPTIONS
671       The general form of an rpm verify command is
672
673       rpm {-V|--verify} [select-options] [verify-options]
674
675
676       Verifying  a  package compares information about the installed files in
677       the package with information about the files  taken  from  the  package
678       metadata  stored  in  the  rpm database.  Among other things, verifying
679       compares the size, digest, permissions, type, owner and group  of  each
680       file.   Any discrepancies are displayed.  Files that were not installed
681       from the package, for example, documentation files excluded on  instal‐
682       lation using the "--excludedocs" option, will be silently ignored.
683
684       The  package  and  file  selection  options are the same as for package
685       querying  (including  package  manifest  files  as  arguments).   Other
686       options unique to verify mode are:
687
688       --nodeps
689              Don't verify dependencies of packages.
690
691       --nodigest
692              Don't verify package or header digests when reading.
693
694       --nofiles
695              Don't verify any attributes of package files.
696
697       --noscripts
698              Don't execute the %verifyscript scriptlet (if any).
699
700       --nosignature
701              Don't verify package or header signatures when reading.
702
703       --nolinkto
704
705       --nofiledigest (formerly --nomd5)
706
707       --nosize
708
709       --nouser
710
711       --nogroup
712
713       --nomtime
714
715       --nomode
716
717       --nordev
718              Don't verify the corresponding file attribute.
719
720       --nocaps
721              Don't verify file capabilities.
722
723       The  format  of  the  output  is  a  string of 9 characters, a possible
724       attribute marker:
725
726       c %config configuration file.
727       d %doc documentation file.
728       g %ghost file (i.e. the file contents are not included in the package payload).
729       l %license license file.
730       r %readme readme file.
731
732       from the package header, followed by the file  name.   Each  of  the  9
733       characters  denotes  the  result of a comparison of attribute(s) of the
734       file to the value of those attribute(s) recorded in  the  database.   A
735       single "." (period) means the test passed, while a single "?" (question
736       mark) indicates the test could not be performed (e.g. file  permissions
737       prevent  reading).  Otherwise,  the (mnemonically emBoldened) character
738       denotes failure of the corresponding --verify test:
739
740       S file Size differs
741       M Mode differs (includes permissions and file type)
742       5 digest (formerly MD5 sum) differs
743       D Device major/minor number mismatch
744       L readLink(2) path mismatch
745       U User ownership differs
746       G Group ownership differs
747       T mTime differs
748       P caPabilities differ
749
750
751   MISCELLANEOUS COMMANDS
752       rpm --showrc
753              shows the values rpm will use for all of the  options  are  cur‐
754              rently set in rpmrc and macros configuration file(s).
755
756       rpm --setperms PACKAGE_NAME
757              sets  permissions  of files in the given package. Consider using
758              --restore instead.
759
760       rpm --setugids PACKAGE_NAME
761              sets user/group ownership of files in the  given  package.  This
762              command can change permissions and capabilities of files in that
763              package. In most cases it is better to use --restore instead.
764
765       rpm --setcaps PACKAGE_NAME
766              sets capabilities of files in the given package. Consider  using
767              --restore instead.
768
769       rpm --restore PACKAGE_NAME
770              The  option  restores owner, group, permissions and capabilities
771              of files in the given package.
772
773       Options --setperms, --setugids, --setcaps and
774              --restore are mutually exclusive.
775
776
777   FTP/HTTP OPTIONS
778       rpm can act as an FTP and/or  HTTP  client  so  that  packages  can  be
779       queried  or  installed  from  the internet.  Package files for install,
780       upgrade, and query operations may be specified as an ftp or http  style
781       URL:
782
783       http://HOST[:PORT]/path/to/package.rpm
784
785       ftp://[USER:PASSWORD]@HOST[:PORT]/path/to/package.rpm
786
787       If both the user and password are omitted, anonymous ftp is used.
788
789       rpm allows the following options to be used with ftp URLs:
790
791       rpm allows the following options to be used with
792              http and ftp URLs:
793
794       --httpproxy HOST
795              The  host  HOST  will be used as a proxy server for all http and
796              ftp transfers. This option may also be specified by  configuring
797              the macro %_httpproxy.
798
799       --httpport PORT
800              The  TCP PORT number to use for the http connection on the proxy
801              http server instead of the default port. This option may also be
802              specified by configuring the macro %_httpport.
803

LEGACY ISSUES

805   Executing rpmbuild
806       The  build  modes of rpm are now resident in the /usr/bin/rpmbuild exe‐
807       cutable.  Install the package containing rpmbuild  (usually  rpm-build)
808       and see rpmbuild(8) for documentation of all the rpm build modes.
809

FILES

811   rpmrc Configuration
812       /usr/lib/rpm/rpmrc
813       /usr/lib/rpm/<vendor>/rpmrc
814       /etc/rpmrc
815       ~/.rpmrc
816
817   Macro Configuration
818       /usr/lib/rpm/macros
819       /usr/lib/rpm/<vendor>/macros
820       /etc/rpm/macros
821       ~/.rpmmacros
822
823   Database
824       /var/lib/rpm/Basenames
825       /var/lib/rpm/Conflictname
826       /var/lib/rpm/Dirnames
827       /var/lib/rpm/Group
828       /var/lib/rpm/Installtid
829       /var/lib/rpm/Name
830       /var/lib/rpm/Obsoletename
831       /var/lib/rpm/Packages
832       /var/lib/rpm/Providename
833       /var/lib/rpm/Requirename
834       /var/lib/rpm/Sha1header
835       /var/lib/rpm/Sigmd5
836       /var/lib/rpm/Triggername
837
838   Temporary
839       /var/tmp/rpm*
840

SEE ALSO

842       rpm-misc(8),
843       popt(3),
844       rpm2cpio(8),
845       rpmbuild(8),
846       rpmdb(8),
847       rpmkeys(8),
848       rpmsign(8),
849       rpmspec(8),
850
851       rpm  --help  - as rpm supports customizing the options via popt aliases
852       it's impossible to  guarantee  that  what's  described  in  the  manual
853       matches what's available.
854
855
856       http://www.rpm.org/ <URL:http://www.rpm.org/>
857

AUTHORS

859       Marc Ewing <marc@redhat.com>
860       Jeff Johnson <jbj@redhat.com>
861       Erik Troan <ewt@redhat.com>
862
863
864
865Red Hat, Inc.                    09 June 2002                           RPM(8)
Impressum