More and more, I’m noticing a depressing trend. I know I’m about to cringe or face palm whenever I read or hear, “I’m just used to building everything from source.” This is a super scary concept to me, because it gives me hints about what is coming up next.
In the computing world, there are quite a few solved problems. Maybe all these problems aren’t solved as eloquently as you might or expect, but generally what you are doing right now has probably been done before.
One of these problems that has been solved a countless number of times in package management. Almost all major Linux distributions use a package manager of some sort, and they all pretty much get all the easy points right. Even my Mac which I use for most of my productive work these days has a choice of a few different package management options.
While researching Rails 3 today, I came across a particular blog post. While scrolling through the comments, I came across this gem,
“I’m simply used to doing the source way”
Now, this is an innocent enough sounding statement on the surface. Of course it is pretty simple to untar and and ungzip source distribution. It is even pretty easy to run configure, make, and make install. What happens after is the painfully depressing part; how exactly do you know what version of what you have installed?
I’m actually not sure why this bothers me. Maybe it is the fact that is pretty damn simple to create packages using Portage, RPM, Deb, and believe it or not, it pretty damn simple to create packages on your Mac.
So the next time you install something by hand, take the few extra minutes to package it up to save yourself some future pain…. or
./configure --prefix /tmp && make && make install