Software and Infrastructure: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Create RPM build environment | [[User_Tips_%26_Tricks#Build_Environment|Back]]<br> | ||
'''Create RPM build environment EL''' | |||
# yum -y groupinstall "Development Tools" | # yum -y groupinstall "Development Tools" | ||
# yum install epel-release rpmdevtools mock | # yum install epel-release rpmdevtools mock |
Latest revision as of 07:55, 25 April 2024
Create RPM build environment EL # yum -y groupinstall "Development Tools" # yum install epel-release rpmdevtools mock # useradd build # passwd build # visudo Under root ALL=(ALL) ALL Add build ALL=(ALL) ALL $ su - build $ rpmdev-setuptree
Command: mkdir # mkdir options <dir> Examples: # mkdir myProject # mkdir -p myProject/{src,doc,tools,db} # mkdir -p myProject/{src,doc/{api,system},tools,db}