How to install python in Ubuntu.

Hi..Just now i deploy the ubuntu image in my linode.I want to install python.How to do that? which command i need to use it?

1 Reply

Linode Staff

Hey there,

You may already have it installed, you can run the command below to verify:

 $ python3 --version && python --version
 Python 3.5.2
 Python 2.7.12

If that command doesn't produce any output, then you can install Python with the commands below:

 $ sudo apt-get install python
 $ sudo apt-get install python3.6

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct