Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

set python 3 as default ubuntu

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.4 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 2
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #set #python #default #ubuntu
ADD COMMENT
Topic
Name
3+1 =