[Dclug] Distro Adjustments (was Fedora Install)

Przemek Klosowski przemek.klosowski at nist.gov
Mon Jul 26 15:03:49 EDT 2010


On 07/19/2010 09:59 PM, Mackenzie Morgan wrote:
> On Monday, July 19, 2010 9:02:42 pm Winter wrote:
>> Slowly shifting systems from various versions of Debian to CentOS has
>> been...tricky.  More than I would have thought at first.  I'd have to
>> get into a different Head Space for each system.
>
> My slides from last year's Ohio LinuxFest seem relevant here:
> http://www.slideshare.net/macoafi/sysadmins-rosetta-stone
>
> I've been an Ubuntu person as long as I've used Linux (4 years), but CentOS /
> RHEL are what every employer for the last 2 years have used, so I've gotten a
> bit of practice at making the switch daily.
>

That's a great explanation---thanks!

One comment to slide 22: in yum/rpm world you can also look up
files that do not exist, just like 'apt-file search'

yum whatprovides bin/wonder

I like chaining rpm commands, e.g. to find what does libwrap do, I print 
the description of a package that owns file /lib/libwrap.so

rpm -qi `rpm -qf /lib/libwrap.so.0`


Also, rpm has the --queryformat switch which is easier to use than 
greping the output of the default -qi output; e.g. to find the package 
that takes most space:

rpm -qa --queryformat '%{size} %{name} %{version}\n' | sort -n




More information about the Dclug mailing list