I need to use two different versions of some program in Linux. I can switch between two program versions via alternatives --config "program-name". So my question is how I cat do this command for current bash session locally without changing global system settings?
I think it kinda chroot command.