The Archives

  • 17.Jan.10
    RPM: Listing dependencies of an rpm file shell | rafacas | (0)
    rpm is a powerful Package Manager, which can be used to build, install, query, verify, update and erase individual software packages. It is the default package manager for several popular distributions such as Red Hat, Fedora, Suse and many others. The list of dependencies an rpm package has, that is, the packages that must be installed in the system for it to work properly, can be shown with the following command if the argument is the rpm file: # rpm -qpR rsync-3.0.6-0.fc10.i386.rpm config(rsync) = 3.0.6-0.fc10 ...
  • 22.Sep.09
    Listing all service status cmd, shell | rafacas | (0)
    # service --status-all anacron (pid 2435) is running... atd (pid 2405) is running... auditd (pid 1777) is running... Avahi daemon is running cpuspeed is stopped crond (pid 2385) is running... cupsd (pid 2424) is running... dnsmasq is stopped hald (pid 2129) is running... httpd is stopped [...] Runs all init scripts (located in /etc/init.d), in alphabetical order, with the status option. Note: Only in Red Hat and redhat-like distros (Fedora, Mandriva,...).
  • 12.Apr.09
    Extracting an rpm package without installing it cmd | rafacas | (0)
    $ rpm2cpio myrpmfile.rpm | cpio -idmv Extracts an rpm package in the current directory without installing it. It is very useful when you only want to see its contents.
  • 31.Mar.09
    RPM: listing the contents of an rpm file cmd | rafacas | (0)
    $ rpm -qpl kernel- /boot/ /boot/config- /boot/initrd- /boot/vmlinuz- [...] Lists all the files in an RPM file. Also note that rpm can query remote RPM files through FTP and HTTP.
  • 22.Mar.09
    RPM: listing files in installed packages cmd, network | rafacas | (0)
    # rpm -ql postgresql-libs /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ [...] Lists all files of an installed package. It works only if the package is already installed on your system