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] [--nodb] [--nodeps] [--no‐
26       scripts] [--notriggers] [--test] PACKAGE_NAME ...
27
28   MISCELLANEOUS:
29       rpm --showrc
30
31       rpm --restore [select-options]
32
33   select-options
34       [PACKAGE_NAME] [-a,--all [SELECTOR]]  [-f,--file  FILE]  [--path  PATH]
35       [-g,--group  GROUP] [-p,--package PACKAGE_FILE] [--hdrid SHA1] [--pkgid
36       MD5] [--tid TID] [--querybynumber HDRNUM] [--triggeredby  PACKAGE_NAME]
37       [--whatprovides  CAPABILITY]  [--whatrequires CAPABILITY] [--whatrecom‐
38       mends CAPABILITY] [--whatsuggests CAPABILITY] [--whatsupplements  CAPA‐
39       BILITY]   [--whatenhances   CAPABILITY]   [--whatobsoletes  CAPABILITY]
40       [--whatconflicts CAPABILITY]
41
42   query-options
43       General:  [--changelog]  [--changes]  [--dupes]  [-i,--info]   [--last]
44       [--qf,--queryformat QUERYFMT] [--xml]
45
46       Dependencies:  [--conflicts]  [--enhances]  [--obsoletes]  [--provides]
47       [--recommends] [-R,--requires] [--suggests] [--supplements]
48
49       Files:  [-c,--configfiles]   [-d,--docfiles]   [--dump]   [--fileclass]
50       [--filecolor]  [--fileprovide][--filerequire] [--filecaps] [--filesbyp‐
51       kg] [-l,--list] [-s,--state] [--noartifact] [--noghost] [--noconfig]
52
53       Scripts and triggers: [--filetriggers] [--scripts]  [--triggers,--trig‐
54       gerscripts]
55
56   verify-options
57       [--nodeps]   [--nofiles]   [--noscripts]  [--nodigest]  [--nosignature]
58       [--nolinkto] [--nofiledigest] [--nosize] [--nouser] [--nogroup] [--nom‐
59       time] [--nomode] [--nordev] [--nocaps]
60
61   install-options
62       [--allfiles]   [--badreloc]   [--excludepath  OLDPATH]  [--excludedocs]
63       [--force] [-h,--hash] [--ignoresize] [--ignorearch] [--ignoreos] [--in‐
64       cludedocs]  [--justdb]  [–nodb]  [--nodeps]  [--nodigest] [--noplugins]
65       [--nocaps]  [--noorder]  [--noverify]   [--nosignature]   [--noscripts]
66       [--notriggers]  [--oldpackage]  [--percent] [--prefix NEWPATH] [--relo‐
67       cate OLDPATH=NEWPATH] [--replacefiles] [--replacepkgs] [--test]
68

DESCRIPTION

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

LEGACY ISSUES

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

FILES

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

SEE ALSO

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

AUTHORS

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