1RPM(8)                                                                  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   INSTALLING, UPGRADING, AND REMOVING PACKAGES:
17       rpm {-i|--install} [install-options] PACKAGE_FILE ...
18
19       rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
20
21       rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
22
23       rpm {--reinstall} [install-options] PACKAGE_FILE ...
24
25       rpm  {-e|--erase}  [--allmatches]  [--justdb]  [--nodeps] [--noscripts]
26       [--notriggers] [--test] PACKAGE_NAME ...
27
28   MISCELLANEOUS:
29       rpm --showrc
30
31       rpm --setperms PACKAGE_NAME ...
32
33       rpm --setugids PACKAGE_NAME ...
34
35       rpm --setcaps PACKAGE_NAME ...
36
37       rpm --restore PACKAGE_NAME ...
38
39   select-options
40       [PACKAGE_NAME]  [-a,--all  [SELECTOR]]  [-f,--file  FILE]   [-g,--group
41       GROUP]  [-p,--package PACKAGE_FILE] [--hdrid SHA1] [--pkgid MD5] [--tid
42       TID] [--querybynumber HDRNUM] [--triggeredby PACKAGE_NAME]  [--whatpro‐
43       vides  CAPABILITY]  [--whatrequires CAPABILITY] [--whatrecommends CAPA‐
44       BILITY]  [--whatsuggests  CAPABILITY]  [--whatsupplements   CAPABILITY]
45       [--whatenhances  CAPABILITY]  [--whatobsoletes  CAPABILITY] [--whatcon‐
46       flicts CAPABILITY]
47
48   query-options
49       General:  [--changelog]  [--changes]  [--dupes]  [-i,--info]   [--last]
50       [--qf,--queryformat QUERYFMT] [--xml]
51
52       Dependencies:  [--conflicts]  [--enhances]  [--obsoletes]  [--provides]
53       [--recommends] [-R,--requires] [--suggests] [--supplements]
54
55       Files:  [-c,--configfiles]   [-d,--docfiles]   [--dump]   [--fileclass]
56       [--filecolor]  [--fileprovide][--filerequire] [--filecaps] [--filesbyp‐
57       kg] [-l,--list] [-s,--state] [--noartifact] [--noghost] [--noconfig]
58
59       Scripts and triggers: [--filetriggers] [--scripts]  [--triggers,--trig‐
60       gerscripts]
61
62   verify-options
63       [--nodeps]   [--nofiles]   [--noscripts]  [--nodigest]  [--nosignature]
64       [--nolinkto] [--nofiledigest] [--nosize] [--nouser] [--nogroup] [--nom‐
65       time] [--nomode] [--nordev] [--nocaps]
66
67   install-options
68       [--allfiles]   [--badreloc]   [--excludepath  OLDPATH]  [--excludedocs]
69       [--force] [-h,--hash] [--ignoresize] [--ignorearch] [--ignoreos] [--in‐
70       cludedocs]  [--justdb] [--nodeps] [--nodigest] [--noplugins] [--nocaps]
71       [--noorder] [--noverify] [--nosignature]  [--noscripts]  [--notriggers]
72       [--oldpackage]  [--percent] [--prefix NEWPATH] [--relocate OLDPATH=NEW‐
73       PATH] [--replacefiles] [--replacepkgs] [--test]
74

DESCRIPTION

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

LEGACY ISSUES

780   Executing rpmbuild
781       The build modes of rpm are now resident in the  /usr/bin/rpmbuild  exe‐
782       cutable.   Install  the package containing rpmbuild (usually rpm-build)
783       and see rpmbuild(8) for documentation of all the rpm build modes.
784

FILES

786   rpmrc Configuration
787              /usr/lib/rpm/rpmrc
788              /usr/lib/rpm/<vendor>/rpmrc
789              /etc/rpmrc
790              ~/.rpmrc
791
792   Macro Configuration
793              /usr/lib/rpm/macros
794              /usr/lib/rpm/<vendor>/macros
795              /etc/rpm/macros
796              ~/.rpmmacros
797
798   Database
799              /var/lib/rpm/Basenames
800              /var/lib/rpm/Conflictname
801              /var/lib/rpm/Dirnames
802              /var/lib/rpm/Group
803              /var/lib/rpm/Installtid
804              /var/lib/rpm/Name
805              /var/lib/rpm/Obsoletename
806              /var/lib/rpm/Packages
807              /var/lib/rpm/Providename
808              /var/lib/rpm/Requirename
809              /var/lib/rpm/Sha1header
810              /var/lib/rpm/Sigmd5
811              /var/lib/rpm/Triggername
812
813   Temporary
814       /var/tmp/rpm*
815

SEE ALSO

817              rpm-misc(8),
818              popt(3),
819              rpm2cpio(8),
820              rpmbuild(8),
821              rpmdb(8),
822              rpmkeys(8),
823              rpmsign(8),
824              rpmspec(8),
825
826       rpm --help - as rpm supports customizing the options via  popt  aliases
827       it's impossible to guarantee that what's described in the manual match‐
828       es what's available.
829
830       http://www.rpm.org/ <URL:http://www.rpm.org/>
831

AUTHORS

833              Marc Ewing <marc@redhat.com>
834              Jeff Johnson <jbj@redhat.com>
835              Erik Troan <ewt@redhat.com>
836
837
838
839                                 09 June 2002                           RPM(8)
Impressum