Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install python 3.10 linux (multiple python versions)

sudo apt-get install python3.10

# to keep your previous versions, add them as alternatives to python3
# give a higher priority to the one you want to be used as the default

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2

# set 
sudo update-alternatives --config python3

# check if it is the default
python3
Comment

PREVIOUS NEXT
Code Example
Shell :: cmd shell 
Shell :: how to install pandoc 
Shell :: bash case 
Shell :: openssh client ubuntu 
Shell :: how to install heroku cli 
Shell :: windows edit file cmdp 
Shell :: how to save history of commands in linux 
Shell :: React Hooks Form Installation 
Shell :: [Errno 13] Permission denied: ubuntu 
Shell :: nvm command node not found 
Shell :: how to write a shell script in ubuntu 
Shell :: install ionic native run 
Shell :: git remove chached 
Shell :: element function in terraform 
Shell :: git rename 
Shell :: functions in linux 
Shell :: http-server mac install 
Shell :: ng generate service 
Shell :: export bigquery schema 
Shell :: superclass mismatch for class Command 
Shell :: linux mail delete all 
Shell :: clear teams cache powershell 
Shell :: access wsl files from windows explorer 
Shell :: history terminal commad getting limited 
Shell :: macos brew 
Shell :: grafana docker 
Shell :: rm directory not empty mac 
Shell :: how to deactivate conda/Anaconda environment 
Shell :: vim insert text at the the beginning of multiple lines 
Shell :: linux group 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =