What package contains file?
rpm -qf /sbin/iptables
Show information about the packege:
rpm -qi package
List all installed packages
rpm -qa
List files in package
rpm -ql package
List configuration files of the package:
rpm -qc package
View changelog of the package:
rpm -q --changelog package
Upgrade or install package:
rpm -U packagename
Upgrade package only if it exists:
rpm -F packagename
Install package older than existing one:
rpm -i --oldpackage
Yum
Update package:
yum update or upgrade package
Check updates:
yum check-update
Remove package with yum:
yum remove or erase package
Information about package:
yum list package
No comments:
Post a Comment