Tuesday, May 11, 2010

Tips on RPM (Part 1)

Read up on some good tips on  RHEL / Fedora RPM from Linux Format magazine. thought I list it down to use it in the future.
  1. To list a specific package, you use
    rpm -qa|grep (package)
  2. To find out what package a file came from
    rpm -qf /usr/sbin/sshd
  3. To show details of a not-yet-installed package
    rpm -qip Singular-release.rpm
  4. Find out what the package depends on
    rpm -qR openssh-server
  5. Show the files contained in an installed package
    rpm -qi openssh-server

No comments: