No such universally agreed upon metaphor exists on OS X. They didn't provide a universal package management mechanism. In many cases, you just drag the package into your Applications directory and it's "Installed."
There is some room for improvement, in the early days, RHEL had a horrendous repository-interface system called "up2date" which was anything but. I think a lot of the uptake in debian systems, such as ubuntu, was that apt-get was so much better than up2date - which seemed to have never been updated after the initial release. Thankfully, yum came about, and now RPM based systems have basic parity with DEB system in terms of package retrieval.
The Net-Net though, is that Linux package management is fairly well defined, but hop onto any OS X system, and try and find out what package a random file belongs to, is basically hopeless.
Also, homebrew has a significantly easier project - OSX+homebrew is almost solely aimed at devs wanted a good experience around their dev environment. By contrast, ubuntu's packaging relies on it doing everything, making it suck for some things.
It does two things very well that ubuntu's apt-get doesn't:
1) consistently has the latest versions of your software 2) handles programming languages very well (that is to say, it makes you use rvm, pip, cpan, etc, instead of packaging _any_ libraries).
Those are not ideal for everybody or every system, but it's a damn fine experience for developers' machines.