dotlah! dotlah!
  • Cities
  • Technology
  • Business
  • Politics
  • Society
  • Science
  • About
Social Links
  • zedreviews.com
  • citi.io
  • aster.cloud
  • liwaiwai.com
  • guzz.co.uk
  • atinatin.com
0 Likes
0 Followers
0 Subscribers
dotlah!
  • Cities
  • Technology
  • Business
  • Politics
  • Society
  • Science
  • About
  • Technology

How To: Install Python 3.7 In Ubuntu

  • March 10, 2019
Total
0
Shares
0
0
0

Prerequisites

  • Operating System : Ubuntu 18

 

Steps

Note: By default most Ubuntu 18 system have Python installed.

01. Open a terminal window

02. Check if Python is already installed. Execute the following to determine.

$ python
python3.7

A message will be shown if Python is available. In the following case, it is not yet installed.

 

03. Update the package list

$ sudo apt-get update

 

 

04. Wait for the operation to complete. Then run the command to install Python 3.7.  This also works for lower version of Python 3 like 3.6.

$ sudo apt-get install python3.7 -y

05. Verify that Python is installed by accessing the Python shell.

python3.7

06. Execute a Python application by checking the current time

from datetime import datetime
datetime.now

07. You have now installed Python on your system.

 

Commands Mode Only


# At a CLI interface
$ sudo apt-get update
$ sudo apt-get install python 3.7 -y

# Verify using Python Shell 
$ python3.7
from datetime import datetime
datetime.now()

exit()

 

Benefits of Python

  • Easier syntax compared with other programming languages
  • Less coding, less boiler-plate code, compared with other languages
  • Readability, closer to pseudo-code
  • Object-oriented programming, same concepts as other OOP languages
  • Free.
Total
0
Shares
Share
Tweet
Share
Share
Related Topics
  • Installation
  • Python
  • Ubuntu
majulah

Previous Article
  • Cities
  • Lah!

How The Government Is Building Citizen-Centric Digital Services

  • March 7, 2019
View Post
Next Article
  • Technology

How To: Install Python 3.7 In Windows

  • March 16, 2019
View Post
You May Also Like
View Post
  • Artificial Intelligence
  • Technology

Here’s how to get the $7 trillion AI hardware buildout right

  • dotlah.com
  • April 18, 2026
totus-technologies-cover
View Post
  • Business
  • Technology
  • World Events

The Transatlantic Tech Rift and Why Data Sovereignty Is the New Industrial Imperative

  • Ackley Wyndam
  • April 16, 2026
View Post
  • Technology

Hon Hai Technology Group (Foxconn) Recognized As Top 100 Global Innovators 2026

  • Dean Marc
  • April 9, 2026
View Post
  • Artificial Intelligence
  • Technology

Kioxia Announces New SSD Model Optimized for AI GPU-Initiated Workloads

  • Dean Marc
  • March 17, 2026
View Post
  • Artificial Intelligence
  • Technology

U.S. Ski & Snowboard and Google Announce Collaboration to Build an AI-Based Athlete Performance Tool

  • Dean Marc
  • February 8, 2026
View Post
  • Artificial Intelligence
  • Technology

IBM to Support Missile Defense Agency SHIELD Contract

  • Dean Marc
  • February 5, 2026
Smartphone hero image
View Post
  • Gears
  • Technology

Zed Approves | Smartphones for Every Budget Range

  • Ackley Wyndam
  • January 29, 2026
View Post
  • People
  • Technology

This is what the new frontier of AI-powered financial inclusion looks like

  • dotlah.com
  • January 2, 2026


Trending
  • 1
    • Cities
    • Lah!
    SGX Named Commodity Exchange Of The Year At Energy Risk Awards
    • September 24, 2021
  • 2
    • Lah!
    SMU Lee Kong Chian School Of Business Ranked 8th Among Asia Business Schools In Financial Times’ EMBA Ranking 2020
    • October 28, 2020
  • 3
    • Lah!
    Make Every Drop Count: Continuing Singapore’s Water Success
    • March 10, 2020
  • iceland-landon-arnold-MgWEUyCU0rs-unsplash 4
    • Cities
    • World Events
    How To Build More Resilient Countries After The COVID-19 Pandemic
    • February 16, 2021
  • 5
    • Society
    Keppel Donates $300,000 To The Courage Fund In Singapore
    • February 15, 2020
  • person-using-macbook-pexels-cottonbro-5054213 6
    • Features
    • People
    Can Online Therapy Improve Mental Health During The Pandemic?
    • May 6, 2021
  • 7
    • Technology
    SGInnovate Launches Deep Tech For Good Initiative
    • July 4, 2020
  • smart-fortwo-ev-share-now-S6q25Py7fyE-unsplash 8
    • Cities
    • Gears
    Top 8 Compact Electric Vehicles for City Driving
    • April 17, 2023
  • 9
    • Lah!
    • Society
    Singapore Maintains High Score For Transparency International Corruption Perceptions Index 2019
    • January 24, 2020
  • 10
    • Technology
    How Big Data Can Affect Your Bank Account – And Life
    • September 26, 2019
  • fluid-intelligence_feature 11
    • Features
    • People
    • Technology
    Fluid Intelligence. The Brain’s Slippery Secret to Solving the Puzzle of Life!
    • June 27, 2023
  • 12
    • People
    • World Events
    How Much Do Countries Spend On Their Health Systems?
    • April 13, 2020
Trending
  • Illustration of data storage 1
    The Splinternet Comes for European Supply Chains Why Fragmentation Is Now a Boardroom Problem
    • April 21, 2026
  • 2
    Here’s how to get the $7 trillion AI hardware buildout right
    • April 18, 2026
  • totus-technologies-cover 3
    The Transatlantic Tech Rift and Why Data Sovereignty Is the New Industrial Imperative
    • April 16, 2026
  • 4
    What will it take to get ships going through the Strait of Hormuz again?
    • April 13, 2026
  • 5
    Hon Hai Technology Group (Foxconn) Recognized As Top 100 Global Innovators 2026
    • April 9, 2026
  • 6
    3 lessons on the energy transition in an age of crisis
    • April 7, 2026
  • 7
    Samsung Unveils Galaxy A57 5G and Galaxy A37 5G, Packing Pro-Level Features at Awesome Price
    • March 25, 2026
  • 8
    The global price tag of war in the Middle East
    • March 24, 2026
  • 9
    Kioxia Announces New SSD Model Optimized for AI GPU-Initiated Workloads
    • March 17, 2026
  • Samsung Odyssey 10
    Samsung Showcases Glasses-Free 3D and HDR10+ GAMING With Acclaimed Game Titles at GDC 2026
    • March 9, 2026
Social Links
dotlah! dotlah!
  • Cities
  • Technology
  • Business
  • Politics
  • Society
  • Science
  • About
Connecting Dots Across Asia's Tech and Urban Landscape

Input your search keywords and press Enter.