Both, Debian and Ubuntu now come with a reasonably recent version of osmosis. Make using that the default.