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
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  (not  including
365       \0))  and  printf(3) type formatters.  As rpm already knows the type to
366       print, the type specifier must be omitted however, and replaced by  the
367       name  of  the header tag to be printed, enclosed by {} characters.  Tag
368       names are case insensitive, and the leading RPMTAG_ portion of the  tag
369       name may 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 installed 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       --path PATH
509              Query package(s) owning PATH, whether the file is  installed  or
510              not.   Multiple  packages  may  own a PATH, but the file is only
511              owned by the package installed last.
512
513       --pkgid MD5
514              Query package that contains a given package identifier, i.e. the
515              MD5 digest of the combined header and payload contents.
516
517       --querybynumber HDRNUM
518              Query  the HDRNUMth database entry directly; this is useful only
519              for debugging.
520
521       --specfile SPECFILE
522              Parse and query SPECFILE as if it were a package.  Although  not
523              all the information (e.g. file lists) is available, this type of
524              query permits rpm to be used to extract  information  from  spec
525              files without having to write a specfile parser.
526
527       --tid TID
528              Query  package(s)  that have a given TID transaction identifier.
529              A unix time stamp is currently used as a transaction identifier.
530              All  package(s)  installed or erased within a single transaction
531              have a common identifier.
532
533       --triggeredby PACKAGE_NAME
534              Query packages that are triggered by package(s) PACKAGE_NAME.
535
536       --whatobsoletes CAPABILITY
537              Query all packages that obsolete CAPABILITY for proper function‐
538              ing.
539
540       --whatprovides CAPABILITY
541              Query all packages that provide the CAPABILITY capability.
542
543       --whatrequires CAPABILITY
544              Query  all packages that require CAPABILITY for proper function‐
545              ing.
546
547       --whatconflicts CAPABILITY
548              Query all packages that conflict with CAPABILITY.
549
550       --whatrecommends CAPABILITY
551              Query all packages that recommend CAPABILITY.
552
553       --whatsuggests CAPABILITY
554              Query all packages that suggest CAPABILITY.
555
556       --whatsupplements CAPABILITY
557              Query all packages that supplement CAPABILITY.
558
559       --whatenhances CAPABILITY
560              Query all packages that enhance CAPABILITY.
561
562   PACKAGE QUERY OPTIONS:
563       --changelog
564              Display change information for the package.
565
566       --changes
567              Display change  information  for  the  package  with  full  time
568              stamps.
569
570       --conflicts
571              List capabilities this package conflicts with.
572
573       --dump Dump file information as follows (implies -l):
574
575                     path size mtime digest mode owner group isconfig isdoc rdev symlink
576
577
578       --enhances
579              List capabilities enhanced by package(s)
580
581       --filesbypkg
582              List all the files in each selected package.
583
584       --filetriggers
585              List filetrigger scriptlets from package(s).
586
587       -i, --info
588              Display  package  information,  including name, version, and de‐
589              scription.  This uses the --queryformat if one was specified.
590
591       --last Orders the package listing by install time such that the  latest
592              packages are at the top.
593
594       -l, --list
595              List files in package.
596
597       --obsoletes
598              List packages this package obsoletes.
599
600       --provides
601              List capabilities this package provides.
602
603       --recommends
604              List capabilities recommended by package(s)
605
606       -R, --requires
607              List capabilities on which this package depends.
608
609       --suggests
610              List capabilities suggested by package(s)
611
612       --supplements
613              List capabilities supplemented by package(s)
614
615       --scripts
616              List  the package specific scriptlet(s) that are used as part of
617              the installation and uninstallation processes.
618
619       -s, --state
620              Display the states of files in the package  (implies  -l).   The
621              state of each file is one of normal, not installed, or replaced.
622
623       --triggers, --triggerscripts
624              Display  the trigger scripts, if any, which are contained in the
625              package.  --xml Format package headers as XML.
626
627   FILE SELECTION OPTIONS:
628       -A, --artifactfiles
629              Only include artifact files (implies -l).
630
631       -c, --configfiles
632              Only include configuration files (implies -l).
633
634       -d, --docfiles
635              Only include documentation files (implies -l).
636
637       -L, --licensefiles
638              Only include license files (implies -l).
639
640       --noartifact
641              Exclude artifact files.
642
643       --noconfig
644              Exclude config files.
645
646       --noghost
647              Exclude ghost files.
648
649   VERIFY OPTIONS
650       The general form of an rpm verify command is
651
652       rpm {-V|--verify} [select-options] [verify-options]
653
654       Verifying a package compares information about the installed  files  in
655       the  package  with  information  about the files taken from the package
656       metadata stored in the rpm database.   Among  other  things,  verifying
657       compares  the  size, digest, permissions, type, owner and group of each
658       file.  Any discrepancies are displayed.  Files that were not  installed
659       from  the package, for example, documentation files excluded on instal‐
660       lation using the "--excludedocs" option, will be silently ignored.
661
662       The package and file selection options are  the  same  as  for  package
663       querying  (including  package  manifest files as arguments).  Other op‐
664       tions unique to verify mode are:
665
666       --nodeps
667              Don't verify dependencies of packages.
668
669       --nodigest
670              Don't verify package or header digests when reading.
671
672       --nofiles
673              Don't verify any attributes of package files.
674
675       --noscripts
676              Don't execute the %verifyscript scriptlet (if any).
677
678       --nosignature
679              Don't verify package or header signatures when reading.
680
681       --nolinkto
682
683       --nofiledigest (formerly --nomd5)
684
685       --nosize
686
687       --nouser
688
689       --nogroup
690
691       --nomtime
692
693       --nomode
694
695       --nordev
696              Don't verify the corresponding file attribute.
697
698       --nocaps
699              Don't verify file capabilities.
700
701       The format of the output is a string of 9 characters, a possible attri‐
702       bute marker:
703
704              c %config configuration file.
705              d %doc documentation file.
706              g %ghost file (i.e. the file contents are not included in the package payload).
707              l %license license file.
708              r %readme readme file.
709
710       from  the  package  header,  followed  by the file name.  Each of the 9
711       characters denotes the result of a comparison of  attribute(s)  of  the
712       file  to  the  value of those attribute(s) recorded in the database.  A
713       single "." (period) means the test passed, while a single "?" (question
714       mark)  indicates the test could not be performed (e.g. file permissions
715       prevent reading).  Otherwise, the (mnemonically  emBoldened)  character
716       denotes failure of the corresponding --verify test:
717
718              S file Size differs
719              M Mode differs (includes permissions and file type)
720              5 digest (formerly MD5 sum) differs
721              D Device major/minor number mismatch
722              L readLink(2) path mismatch
723              U User ownership differs
724              G Group ownership differs
725              T mTime differs
726              P caPabilities differ
727
728   MISCELLANEOUS COMMANDS
729       rpm --showrc
730              shows  the  values  rpm will use for all of the options are cur‐
731              rently set in rpmrc and macros configuration file(s).
732
733       rpm --setperms | --setugids | --setcaps PACKAGE_NAME
734              obsolete aliases for --restore
735
736       rpm --restore [select-options]
737              The option restores file  metadata  such  as  timestamp,  owner,
738              group, permissions and capabilities of files in packages.
739
740   FTP/HTTP OPTIONS
741       rpm  can  act  as  an  FTP  and/or  HTTP client so that packages can be
742       queried or installed from the internet.  Package files for install, up‐
743       grade,  and  query  operations may be specified as an ftp or http style
744       URL:
745
746       http://HOST[:PORT]/path/to/package.rpm
747
748       ftp://[USER:PASSWORD]@HOST[:PORT]/path/to/package.rpm
749
750       If both the user and password are omitted, anonymous ftp is used.
751
752       rpm allows the following options to be used with ftp URLs:
753
754       rpm allows the following options to be used with
755              http and ftp URLs:
756
757       --httpproxy HOST
758              The host HOST will be used as a proxy server for  all  http  and
759              ftp transfers.  This option may also be specified by configuring
760              the macro %_httpproxy.
761
762       --httpport PORT
763              The TCP PORT number to use for the http connection on the  proxy
764              http  server  instead of the default port.  This option may also
765              be specified by configuring the macro %_httpport.
766

LEGACY ISSUES

768   Executing rpmbuild
769       The build modes of rpm are now resident in the  /usr/bin/rpmbuild  exe‐
770       cutable.   Install  the package containing rpmbuild (usually rpm-build)
771       and see rpmbuild(8) for documentation of all the rpm build modes.
772

FILES

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

SEE ALSO

805       rpm-misc(8), popt(3), rpm2cpio(8), rpmbuild(8),  rpmdb(8),  rpmkeys(8),
806       rpmsign(8), rpmspec(8)
807
808       rpm  --help  - as rpm supports customizing the options via popt aliases
809       it's impossible to guarantee that what's described in the manual match‐
810       es what's available.
811
812       http://www.rpm.org/ <URL:http://www.rpm.org/>
813

AUTHORS

815              Marc Ewing <marc@redhat.com>
816              Jeff Johnson <jbj@redhat.com>
817              Erik Troan <ewt@redhat.com>
818
819
820
821                                 09 June 2002                           RPM(8)
Impressum