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

NAME

6       rpm - RPM Package Manager
7

SYNOPSIS

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

DESCRIPTION

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

LEGACY ISSUES

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

FILES

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

SEE ALSO

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

AUTHORS

863       Marc Ewing <marc@redhat.com>
864       Jeff Johnson <jbj@redhat.com>
865       Erik Troan <ewt@redhat.com>
866
867
868
869Red Hat, Inc.                    09 June 2002                           RPM(8)
Impressum