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

Unpack the download:

tar -xzvf Python-3.4.2.tgz

Installing Python

Install Python using the following:

cd Python-3.4.2
make altinstall

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

  • ubuntu server, python interpreter, install python
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

 How to Find the IP of cPanel Server

This tutorial is designed to troubleshoot and diagnose issues with cPanel license errors....

 chmod Entire Directories from the Command Line

This article demonstrates the process of chmod file and subfolder permissions per directory,...

 Reboot Linux Server Using SSH

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

 Resolve "Configure: Error: No Acceptable C Compiler Found in $PATH"

When installing software to your Ubuntu VPS or Dedicated Server, you may encounter an error:...

 How to Install Softaculous with cPanel/WHM

This guide will show you how to download and install Softaculous on your cPanel/WHM server. To...