Install Python Interpreter on Ubuntu VPS or Dedicated Server


This article provides a step-by-step guide to installing the Python interpreter on an Ubuntu VPS or Dedicated Server.

Update and Upgrade

Before installing the Python interpreter, it is recommended to update the server with the latest Ubuntu files. As the root user, run the following commands in your terminal:

apt-get update
apt-get upgrade

Download Latest Version of Python

After updating the operating system, run the following commands to install the latest version of Python:

cd /opt
wget https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz

Unpack the download:

tar -xzvf Python-3.4.2.tgz

Installing Python

Install Python using the following:

cd Python-3.4.2
./configure
make
make altinstall

If you run into any errors during installation, view the guide for installing the C compiler.

  • ubuntu, python interpreter, install python
  • 178 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Related Articles

What Server Virtualization Are Your Hypervisors?

All VPS hypervisors use KVM virtualization technology. Order here: KVM VPS servers

Video: How to Check Whether the VPS Status is Online or Offline in Virtualizor

This video tutorial provides Step-by-Step instructions for how to check whether the VPS status is...

Video: How to Check VPS RAM, IP, Disk Capacity and the Virtualization Details in Virtualizor

This video tutorial provides Step-by-Step instructions for how to check VPS RAM, IP, disk...

Video: How to Change the Password of Your Virtualizor Account

This video tutorial provides Step-by-Step instructions for how to change the password of your...

Video: How to Access Your VPS via VNC in Virtualizor

This video tutorial provides Step-by-Step instructions for how to access your VPS via VNC in...