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

LEGACY ISSUES

813   Executing rpmbuild
814       The build modes of rpm are now resident in the  /usr/bin/rpmbuild  exe‐
815       cutable.   Install  the package containing rpmbuild (usually rpm-build)
816       and see rpmbuild(8) for documentation of all the rpm build modes.
817

FILES

819   rpmrc Configuration
820       /usr/lib/rpm/rpmrc
821       /usr/lib/rpm/redhat/rpmrc
822       /etc/rpmrc
823       ~/.rpmrc
824
825   Macro Configuration
826       /usr/lib/rpm/macros
827       /usr/lib/rpm/redhat/macros
828       /etc/rpm/macros
829       ~/.rpmmacros
830
831   Database
832       /var/lib/rpm/Basenames
833       /var/lib/rpm/Conflictname
834       /var/lib/rpm/Dirnames
835       /var/lib/rpm/Group
836       /var/lib/rpm/Installtid
837       /var/lib/rpm/Name
838       /var/lib/rpm/Obsoletename
839       /var/lib/rpm/Packages
840       /var/lib/rpm/Providename
841       /var/lib/rpm/Requirename
842       /var/lib/rpm/Sha1header
843       /var/lib/rpm/Sigmd5
844       /var/lib/rpm/Triggername
845
846   Temporary
847       /var/tmp/rpm*
848

SEE ALSO

850       rpm-misc(8)(3),
851       popt(3),
852       rpm2cpio(8),
853       rpmbuild(8),
854       rpmdb(8),
855       rpmkeys(8),
856       rpmsign(8),
857       rpmspec(8),
858
859       rpm --help - as rpm supports customizing the options via  popt  aliases
860       it's  impossible  to  guarantee  that  what's  described  in the manual
861       matches what's available.
862
863
864       http://www.rpm.org/ <URL:http://www.rpm.org/>
865

AUTHORS

867       Marc Ewing <marc@redhat.com>
868       Jeff Johnson <jbj@redhat.com>
869       Erik Troan <ewt@redhat.com>
870
871
872
873Red Hat, Inc.                    09 June 2002                           RPM(8)
Impressum