Skip to content

Setting Up Python on a Linux Server – Start Development & Automation

Learn how to install and update the Python runtime on various Linux distributions to ensure a secure and up-to-date environment → Find out more now

10 November 20262 min read0 Views0 helpful

Introduction

This guide shows you how to install the Python runtime and venv. The commands must be executed via SSH. If you don’t know how to connect to your server via SSH, check out our First Access (SSH) guide.

FAQ

Frequently asked questions

Connect to your server via SSH, update your system (e.g., sudo apt update), and install Python using sudo apt install python3 (or the equivalent command for yum, zypper, or dnf depending on your distribution).
Use the command python3 --version to check if Python is installed and to see which version is running.
Start the Python interpreter with the command python3. After the >>> prompt, enter valid Python code which runs after pressing Enter. Exit the interpreter with exit().

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.