Short answer: apt, yum, etc have aspects of tight integration with the distribution that make it a little more difficult (not impossible) to be a "sidecar" package manager like homebrew.
Does "brew install [email protected]" work for you? Homebrew has its problems, one of them is something like calling out versions doesn't always work. I use brew for packages where I generally only want the latest versions, but for finer control of multiple versions, I usually hand those packages over to asdf.
And for apt,yum etc, if you want bleeding edge releases, it's usually more lag, or repackaging work than the "sidecar" package managers.
Does "brew install [email protected]" work for you? Homebrew has its problems, one of them is something like calling out versions doesn't always work. I use brew for packages where I generally only want the latest versions, but for finer control of multiple versions, I usually hand those packages over to asdf.
And for apt,yum etc, if you want bleeding edge releases, it's usually more lag, or repackaging work than the "sidecar" package managers.