RPM Management Tips
Fedora or RHEL users working with RPMs will find these five little-known features, highligthed on ServerWatch, to be of great value.
Last week, I looked a couple of lesser-known features for working with Debian packages, using
aptitude. This week, I want to look at a few things you can do when working with RPMs if you happen to be on a Fedora or RHEL-derived system.
One thing you may want to do is to see what package owns a file. For this you'll use
rpm -qf filename. For example, if you want to know what package owns
/usr/lib/libkonq.so.5 then you'd run
rpm -qf /usr/lib/libkonq.so.5. On Fedora 15, the command would return
Ever been confused about what configuration file or files exist for a package? It's not unusual to install a package (or have a package installed as a default) and not know exactly what configuration files are used to manage it. To determine the configuration files installed with a package, use
rpm -qc packagename. Then, to find out what configuration files exist for the
gnome-vfs2 package, you'd use
rpm -qc gnome-vfs2, which will return:
Read the rest of "5 Tips for Managing RPMs" on ServerWatch.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: RHEL 6.5, Debian 7.2 and EOL for Linux 3.0.x
- 5Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10