50% off 全プラン、期間限定。料金は $2.48/mo
Initial Documents

Install python on linux

By Parnian R. 1 min read Updated Feb 15, 2026

Pythonは開発、スクリプティング、データ分析に適しているため、
Linux にインストールすることは、多くのプロジェクトで重要です。このガイドでは
Ubuntu と CentOS にインストールする方法を説明します。これらの簡単な
ステップに従うことで、Python をシステムで実行できます。

Prerequisites

Before installing Python on Linux, make sure:

  1. Active Cloudzy Linux VPS: You’re on a Cloudzy
    VPS with Ubuntu or CentOS.

  2. Command-Line Skills: You’re familiar with using
    the Linux command line.

  3. 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

  1. Update Packages:
  • SSH to your VPS.

  • Type sudo apt update to refresh
    packages.

  1. Install Python:
  • Install Python with sudo apt install python3. This
    gets the latest Python 3.
  1. Check Version:
  • Confirm by typing python3 –version. It shows the
    Python version.
Check Python version

Installing Python on
CentOS

  1. Update Packages:
  • SSH to your VPS.

  • Type sudo dnf update for updating system
    packages.

  1. Install Python:
  • Run sudo dnf install python3 to install Python.
    これにより、CentOS リポジトリからデフォルトの Python 3 を取得します。
  1. Check Version:
  • After installing, verify with python3 –version. It
    shows the installed Python 3 version.
Check Python version CentOS

完了しました。Ubuntu と CentOS に Python のインストールが成功しました。
Cloudzy VPS で実行中です。さらに情報が必要な場合やサポートが必要な場合は、
サポートチームにお気軽にお問い合わせください。 submitting a
ticket
.

Share

Need help with something else?

Median response time under 1 hour. Real humans, not bots.