I have never figured out the RPM package management system. It’s mostly because I haven’t tried hard, but it still makes me feel like a moron.
Every now and then I stumble across a package that, for whatever reason, is only distributed in .rpm form. Right now I wanted to install nano on godaddy.com’s shared hosting (because I’m also too lazy to learn vi), and the easiest way I could think of was to nab the .rpm and just rip out the nano binary.
Turns out this is really easy from a Linux shell:
# rpm2cpio [rpm filename] | cpio -idv
Another victory for laziness! It spewed out a bunch of stuff, I nabbed the nano binary, threw it on my godaddy shared hosting using wget via ssh, and now I have a fully functional and awesome editor (no matter what anyone tells you).