Linux RPMパッケージのインストール、更新、削除など操作コマンド
コマンド下記
rpm -ivh package.rpm
rpm -ivh –nodeeps package.rpm
rpm -U package.rpm
rpm -F package.rpm
rpm -e package_name.rpm
rpm -qa
rpm -qa | grep httpd
rpm -qi package_name
rpm -qg “System Environment/Daemons"
rpm -ql package_name
rpm -qc package_name
rpm -q package_name –whatrequires
rpm -q package_name –whatprovides
rpm -q package_name –scripts
rpm -q package_name –changelog
rpm -qf /etc/httpd/conf/httpd.conf
rpm -qp package.rpm -l
rpm –import /media/cdrom/RPM-GPG-KEY
rpm –checksig package.rpm
rpm -qa gpg-pubkey
rpm -V package_name
rpm -Va
rpm -Vp package.rpm
rpm2cpio package.rpm | cpio –extract –make-directories *bin*
rpm -ivh /usr/src/redhat/RPMS/`arch`/package.rpm
rpmbuild –rebuild package_name.src.rpm