Mivel a Python kiváló fejlesztéshez, szkriptezéshez és adatelemzéshez,
annak Linux-re telepítése számos projekt számára fontos. Ebben az útmutatóban
bemutatjuk, hogyan telepítse a Ubuntu és CentOS rendszerre. Ezekkel az egyszerű
lépésekkel a Python működőképessé tehető a rendszeren.
Prerequisites
Before installing Python on Linux, make sure:
-
Active Cloudzy Linux VPS: You’re on a Cloudzy
VPS with Ubuntu or CentOS. -
Command-Line Skills: You’re familiar with using
the Linux command line. -
Admin Rights: You have root access or can use
‘sudo’ for commands.
These steps prepare you for Python installation on your Cloudzy
VPS.
Installing Python on
Ubuntu
- Update Packages:
-
SSH to your VPS.
-
Type sudo apt update to refresh
packages.
- Install Python:
- Install Python with sudo apt install python3. This
gets the latest Python 3.
- Check Version:
- Confirm by typing python3 –version. It shows the
Python version.

Installing Python on
CentOS
- Update Packages:
-
SSH to your VPS.
-
Type sudo dnf update for updating system
packages.
- Install Python:
- Run sudo dnf install python3 to install Python.
Ez az alapértelmezett Python 3-at kapja meg a CentOS repóból.
- Check Version:
- After installing, verify with python3 –version. It
shows the installed Python 3 version.

Gratulálunk! Sikeresen telepítette a Python-t a Ubuntu és
CentOS rendszerre a Cloudzy VPS-ben. Ha további információkra vagy támogatásra van szüksége,
forduljon bizalommal az ügyfélszolgálati csapatunkhoz a submitting a
ticket.
Also in Initial Documents
Related guides.
Need help with something else?
Median response time under 1 hour. Real humans, not bots.