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

LEGACY ISSUES

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

FILES

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

SEE ALSO

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

AUTHORS

829              Marc Ewing <marc@redhat.com>
830              Jeff Johnson <jbj@redhat.com>
831              Erik Troan <ewt@redhat.com>
832
833
834
835                                 09 June 2002                           RPM(8)
Impressum