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.

Was this answer helpful?

 Print this Article

Also Read

Reboot Linux Server Using SSH

This article provides a guide for Rebooting a Linux-based VPS or Dedicated Server Using the SSH...

How to Fix Incorrect cPanel Account Quotas and Disk Usage

This article will provide a step-by-step guide to fix incorrect account quotas and disk usage on...

How to Modify Primary Domain of Webuzo Server

Creating Network Bridge for SolusVM Dedicated Server

How to create a network bridge for SolusVM Dedicated Server Step one: Create br0 vi...

Remove STRICT_TRANS_TABLES in SQL Mode for WHMCS

WHMCS requires a setting on the MySQL or MariaDB server for the SQL Mode. To verify this, log...