Open In App

How to install Python3 and PIP on Godaddy Server?

Last Updated : 21 Nov, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report

GoDaddy VPS is a shared server that provides computational services, databases, storage space, automated weekly backups, 99% uptime, and much more. It’s a cheaper alternative to some other popular cloud-based services such as AWS, GPC, and Azure. Python is an open-source, cross-platform, high-level, general-purpose programming language created by Guido van Rossum in 1991. It is being used in web development, Machine Learning and Software Development. To know more, please visit Python Tutorial

In this article, we will discuss how to install the latest version of Python on GoDaddy VPS (Ubuntu).

Installing Python On  Godaddy Server

Step 1:  Open your terminal and ssh into the Godaddy server.

$ ssh [username]@[ip]

 

Step 2: Update and upgrade the server by running.

$ sudo apt update -y

$ sudo apt upgrade -y

 

Step 3: Now install the required dependencies for build process.

$ sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget

install dependencies before installing python
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
dependencies installed successfully

Step 4: Install the latest version of python by running

$ sudo apt install python3

command to install python3
sudo apt install python3

Step 5: Verify the installation by performing a version check

$ pip3 --version

check Python3 version
python3 --version

Installing PIP On  Godaddy Server

Step 1: Install the latest version of pip from APT software repositories.

$ sudo apt install python3-pip

install python3-pip
sudo apt install python3-pip
 

Step 2: Verify the installation by performing a version check

$ pip3 --version

check pip3 version
pip3 --version

Next Article
Practice Tags :

Similar Reads