Difference between revisions of "Rpm commands"

From iRASPA
Jump to: navigation, search
(Created page with " Remove all rpms that contain the string "intel" rpm -qa | grep intel | while read -r line; do yum remove -y $line; done")
 
 
Line 2: Line 2:
 
Remove all rpms that contain the string "intel"
 
Remove all rpms that contain the string "intel"
 
  rpm -qa | grep intel | while read -r line; do yum remove -y $line; done
 
  rpm -qa | grep intel | while read -r line; do yum remove -y $line; done
 +
 +
 +
Create rpm package
 +
fpm -s dir -t rpm -C /usr/local/libint/ --name libint2 --version 2.6.0 --iteration 1  --description "A library for efficient evaluation of electron repulsion integrals" .

Latest revision as of 12:22, 7 June 2020

Remove all rpms that contain the string "intel"

rpm -qa | grep intel | while read -r line; do yum remove -y $line; done


Create rpm package

fpm -s dir -t rpm -C /usr/local/libint/ --name libint2 --version 2.6.0 --iteration 1  --description "A library for efficient evaluation of electron repulsion integrals" .