dotfiles/vscode/.vscode/extensions/ms-python.python-2024.12.1-linux-x64/resources/walkthrough/install-python-linux.md
2024-08-02 10:42:24 -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
```