Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Make python3 default in ubuntu

sudo apt install python-is-python3
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
sudo update-alternatives --config python
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #Make #default #ubuntu
ADD COMMENT
Topic
Name
4+2 =