Here we're assuming you want to have gcc
versions 13
& 14
and
clang
versions 16
& 17
installed side by-side. Adjust to the
versions you're installing.
You may also wish to adjust the priority (the last number in the
update-alternatives
commands below). A higher number means a higher
priority.