dotfiles/vscode/.vscode/extensions/donjayamanne.python-environment-manager-1.2.4/resources/walkthrough/install-python-linux.md
Errol Sancaktar ff17c17e23 vscode
2024-06-14 09:31:58 -06:00

23 lines
597 B
Markdown

# Install Python on Linux
To install the latest version of Python on [Debian-based Linux distributions](https://www.debian.org/), you can create a new terminal (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>`</kbd>) and run the following commands:
```
sudo apt-get update
sudo apt-get install python3 python3-venv python3-pip
```
For [Fedora-based Linux distributions](https://getfedora.org/), you can run the following:
```
sudo dnf install python3
```
To verify if Python was successfully installed, run the following command in the terminal:
```
python3 --version
```