The Theo Spears Blog

Blogging Considered Harmful (Considered Harmful)?

Package management with Fedora

First posted 2006-06-16 00:00:00.000004+00:00

Fedora uses a package management application called yum (in my view far less intuitive and nice than apt-get, but then I'm more familiar with apt). There are also a set of additional utilities called yum-utils which allow more complicated queries of the yum package database.

With a bit of python magic you can combine these to do useful things. I've just written a script that checks for updates, and on finding updates will mail you a list of updated packages, and the changes between your current package versions and the updated ones (from the changelog). It keeps track of what it has told you about, and will only produce output if there are new packages available that you haven't previously been told about. It is intended to be used in a cronjob.

For those who are interested it is available here.