update-alternatives / micro-tuto
// add alternatives //
— PG3 (@pg3io) March 6, 2020
Add version
# update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
# update-alternatives --install /usr/bin/python python /usr/bin/python3.5 2
Change default version
# update-alternatives --config python#Debian #Linux #CLI #SysAdmin