Category Archives: Linux

Warning RPMDB altered outside of yum

This is just a warning that a package has been installed or removed directly using  rpm  command instead of  yum . Advertisements

Posted in CentOS, RedHat | Tagged | Leave a comment

Removing version numbers from … well anything

This one liner can remove the version numbers from any string (providing they start with a hyphen and a digit).

Posted in CentOS, Linux, RedHat | Tagged | Leave a comment

Using RPM to find package dependencies

I recently discovered that is it actually rather difficult to determine which packages depend on a particular package using the RedHat Package Manager, and I ended up writing a short script to list all the dependencies for a particular package.

Posted in CentOS, RedHat | Tagged , | Leave a comment

Comparing lists of things…

Obviously when I want to compare two files I’m going to use  diff .

Posted in Linux | Tagged | Leave a comment

Installing PowerShell on a RaspberryPi

When I discovered (admittedly a few months ago) that not only has Microsoft released PowerShell Core as an Open Source project on GitHub but that it had been ported to the Raspberry Pi I couldn’t resist.

Posted in Raspbian | Tagged , | Leave a comment