Overriding them with path is often a bad idea though unless you are 100% sure about backwards compatibility as this will also mean scripts and other programs will pick up your versions. If you just want the new versions for yourself, aliases in your .bashrc or equivalent is safer.