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
    • Lah!
    • Society
    • Technology
    SG Women In Tech Corporate Pledge Initiative
    • September 3, 2021
  • black-history-month-banner 2
    • People
    Black History Month: What Is It And Why Do We Need It?
    • February 8, 2021
  • 3
    • Lah!
    • Society
    Grab And Microsoft Partner To Upskill Singapore Driver- And Delivery-partners In Tech
    • October 29, 2020
  • 4
    • Lah!
    What’s A Nursing Home Combined With A Childcare Center? A Hopeful Model For The Future Of Aging
    • June 21, 2019
  • 5
    • Lah!
    • Technology
    New SG Digital Office Established To Drive Digitalisation Movement
    • June 2, 2020
  • 6
    • People
    The Rise Of Green-Collar Jobs – And 6 Other Predictions For 2024’s Labour Market
    • January 16, 2024
  • 7
    • Lah!
    PUB Awards Bedok/Lower Seletar Floating Solar PV Systems To BBR Greentech
    • October 30, 2019
  • 8
    • Cities
    • Technology
    Eliminating Problematic Pollutants From Wastewater
    • October 18, 2023
  • 9
    • Lah!
    Grab Brings More Expansion Opportunities To Merchant-partners With Second GrabKitchen In Singapore
    • October 6, 2020
  • 10
    • Cities
    • Lah!
    Digital For Life Fund Commits $4.8m To Support 21 New Ground-Up Community Projects
    • November 17, 2021
  • 11
    • Society
    Accomodating Workers Affected By Lockdown In Malaysia
    • March 17, 2020
  • 12
    • Lah!
    Yishun Integrated Transport Hub To Open On 8 September 2019
    • August 16, 2019
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.