1yum-builddep(1)                                                yum-builddep(1)
2
3
4

NAME

6       yum-builddep - install missing dependencies for building an RPM package
7

SYNOPSIS

9       yum-builddep package
10
11       yum-builddep /path/to/local/package.src.rpm
12
13       yum-builddep /path/to/local/package.spec
14

DESCRIPTION

16       yum-builddep  is  a program which installs the RPMs needed to build the
17       specified package.  The source RPM for the specified  package  must  be
18       available  in a Yum repository (which will be automatically enabled, if
19       it is disabled) or it can be a local source RPM or a spec file.
20
21       Note, that only the BuildRequires information within  the  SRPM  header
22       information is used to determine build dependencies. This will specifi‐
23       cally omit any dependencies that are required only for specific  archi‐
24       tectures.
25

GENERAL OPTIONS

27       --target ARCH
28              Set target architecture for spec parsing.
29
30       --define 'MACRO EXPR'
31              Define the rpm MACRO with value EXPR for spec parsing.
32

EXAMPLES

34       Download and install all the RPMs needed to build the kernel RPM:
35              yumdownloader  --source kernel && rpm2cpio kernel*src.rpm | cpio
36              -i kernel.spec && \
37              yum-builddep kernel.spec
38
39       The kernel includes specific BuildRequires dependencies  for  different
40       architectures.  In order to make sure that those dependencies are down‐
41       loaded and installed, the SRPM should be  downloaded,  the  .spec  file
42       extracted from it and used to determine the full dependency list.
43

FILES

45       As  yum-builddep uses YUM libraries for retrieving all the information,
46       it relies on YUM configuration for its default values like which repos‐
47       itories to use. Consult YUM documentation for details:
48
49       /etc/yum.conf
50       /etc/yum/repos.d/
51       /var/cache/yum/
52
53

SEE ALSO

55       yum.conf (5)
56       http://yum.baseurl.org/
57
58

AUTHORS

60       See the Authors file included with this program.
61
62

BUGS

64       There  are of course no bugs, but should you find any, you should first
65       consult the  FAQ  section  on  http://yum.baseurl.org/wiki/Faq  and  if
66       unsuccessful  in  finding  a  resolution contact the mailing list: yum-
67       devel@lists.baseurl.org.  To file a bug use  http://bugzilla.redhat.com
68       for  Fedora/RHEL/Centos  related bugs and http://yum.baseurl.org/report
69       for all other bugs.
70
71
72
73
74Panu Matilainen                  17 July 2005                  yum-builddep(1)
Impressum