Rpm commands

From iRASPA
Jump to: navigation, search

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" .