24 lines
297 B
Markdown
24 lines
297 B
Markdown
|
# Setup Python on Debian 11
|
||
|
|
||
|
* update apt repository cache
|
||
|
```
|
||
|
sudo apt update
|
||
|
```
|
||
|
|
||
|
* check available Python version
|
||
|
```
|
||
|
python3 -V
|
||
|
python -V
|
||
|
```
|
||
|
|
||
|
* install Python on Python 3 link
|
||
|
```
|
||
|
sudo apt install python-is-python3 --no-install-recommends
|
||
|
```
|
||
|
|
||
|
* validate version
|
||
|
```
|
||
|
python3 -V
|
||
|
python -v
|
||
|
```
|