Technical Docs Manage Multiple Python Versions on Ubuntu with update-alternatives Install multiple Python versions 1 2 3 sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt-get install python3.6 python3.7 python3.8 Configure alternatives Register each binary and select default using update-alternatives.