Setting Up an Environment for Building RPMs
RHEL or CentOS Systems
Users of these systems can run the following command to set up their environment:
$ rpmdev-setuptree # Creates ~/rpmbuild and ~/.rpmmacros
SLES Systems
Users of these systems can run the following command to set up their environment:
$ mkdir -p ~/rpmbuild/{BUILD,RPMS,S{OURCE,PEC,RPM}S}
$ echo "%_topdir $HOME/rpmbuild"> ~/.rpmmacros Page generated March 7, 2018.
| << Prerequisites | ©2016 Cloudera, Inc. All rights reserved | Building an RPM >> |
| Terms and Conditions Privacy Policy |