Neil Dey
Neil Dey

Reputation: 539

How to install Python 3 on AWS Linux RHEL Free Tier?

When I try to install, it says that 2.7 is already installed. I want Python 3. How to install that?

enter image description here

I tried using python3, cannot find package: enter image description here

Upvotes: 0

Views: 2841

Answers (3)

Pruthvi Chitrala
Pruthvi Chitrala

Reputation: 184

Here is the one command to install python3 on Amazon linux 2:

$sudo yum install python3 -y

$python3 --version

Python 3.7.6

Upvotes: 0

Riya John
Riya John

Reputation: 532

Check your RHEL release version using

$lsb_release -a 

Then depending on your OS version follow answers in Installing Python 3 on RHEL for installation

Upvotes: 0

ritlew
ritlew

Reputation: 1682

Python 3 is a different package:

sudo yum install python3

Upvotes: 2

Related Questions