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
    • Technology
    ​NTU Singapore Teams Up With Association For Persons With Special Needs And YOOZOO Games To Create Apps That Aid In Learning Social And Emotional Intelligence
    • November 19, 2020
  • 2
    • People
    • Politics
    • World Events
    Why Divine Immanence Mattered For The Civil Rights Struggle
    • August 28, 2020
  • 3
    • Cities
    • Technology
    Partnerships To Build A Safer Internet In Asia Pacific
    • February 8, 2022
  • 4
    • Engineering
    • Science
    • Technology
    With Psyche, A Journey To An Ancient Asteroid Is Set To Begin
    • October 13, 2023
  • Train 5
    • Climate Change
    • People
    Putting People At The Centre Of The Green Transition
    • January 21, 2024
  • 6
    • Lah!
    • Technology
    Age Is No Barrier To Digitalising
    • June 23, 2021
  • 7
    • Cities
    • People
    Asian Countries Dominate Most Powerful Passport List For 2020
    • January 13, 2020
  • 8
    • Lah!
    • Society
    Singapore Maintains High Score For Transparency International Corruption Perceptions Index 2019
    • January 24, 2020
  • hong-kong-mtr-cheung-yin-7PrfWLpoPSs-unsplash 9
    • Cities
    Top 10 Cities With The Best Public Transport
    • December 16, 2022
  • 10
    • Cities
    GreenGov.SG Movement Sets New Measures And Targets To Cut Carbon Emissions Across Public Sector
    • July 13, 2021
  • children vaccine covid-19 11
    • People
    • World Events
    When Can Children Get The COVID-19 Vaccine? 5 Questions Parents Are Asking
    • December 16, 2020
  • desktop-g111779ed1_1280 12
    • Features
    • People
    Fostering Workplace Wellness: Thriving In Remote, Home, & Office Environments
    • May 15, 2023
Trending
  • 1
    Here’s how to get the $7 trillion AI hardware buildout right
    • April 18, 2026
  • totus-technologies-cover 2
    The Transatlantic Tech Rift and Why Data Sovereignty Is the New Industrial Imperative
    • April 16, 2026
  • 3
    What will it take to get ships going through the Strait of Hormuz again?
    • April 13, 2026
  • 4
    Hon Hai Technology Group (Foxconn) Recognized As Top 100 Global Innovators 2026
    • April 9, 2026
  • 5
    3 lessons on the energy transition in an age of crisis
    • April 7, 2026
  • 6
    Samsung Unveils Galaxy A57 5G and Galaxy A37 5G, Packing Pro-Level Features at Awesome Price
    • March 25, 2026
  • 7
    The global price tag of war in the Middle East
    • March 24, 2026
  • 8
    Kioxia Announces New SSD Model Optimized for AI GPU-Initiated Workloads
    • March 17, 2026
  • Samsung Odyssey 9
    Samsung Showcases Glasses-Free 3D and HDR10+ GAMING With Acclaimed Game Titles at GDC 2026
    • March 9, 2026
  • 10
    How the Iran war could create a ‘fertiliser shock’ – an often ignored global risk to food prices and farming
    • March 6, 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.