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
  • Technology

Tech predictions for 2027 and beyond

  • dotlah.com
  • November 25, 2026
View Post
  • Artificial Intelligence
  • Technology

Google Opens Singapore Engineering Center to Build and Export Enterprise Cloud and AI to the World

  • Dean Marc
  • September 15, 2026
View Post
  • Research
  • Technology

MIT researchers tackle the economic realities of fusion power

  • dotlah.com
  • August 10, 2026
zedreviews-valerion
View Post
  • Gears
  • Technology

Father’s Day Outdoors – Build Dad the Ultimate Backyard Watch Party

  • Dean Marc
  • June 21, 2026
zedreviews-fathers-day-50830
View Post
  • Gears
  • Technology

Father’s Day Outdoors, Round Two – Gear for the Action, the Tailgate, and Beating the Heat

  • Dean Marc
  • June 21, 2026
zedreviews-fathers-day-21306
View Post
  • Gears
  • Technology

A Father’s Day Gift Guide for Every Dad – Timepieces and Travel Gear

  • Dean Marc
  • June 21, 2026
View Post
  • Gears
  • Technology

Samsung Art Store Brings Art Basel to Homes Worldwide With New Curated Collection

  • Dean Marc
  • June 15, 2026
View Post
  • Artificial Intelligence
  • Technology

The consequences of relying on AI for accurate news

  • dotlah.com
  • June 10, 2026


Trending
  • 1
    • Cities
    • People
    Megacity Slums Are Incubators Of Disease – But Coronavirus Response Isn’t Helping The Billion People Who Live In Them
    • May 21, 2020
  • 2
    • Cities
    • Lah!
    LTA To Deploy Three-Door Double-Deck Buses From 2021
    • January 14, 2021
  • Crab 3
    • Engineering
    • Gears
    • Software
    The Best Friends for a Rustacean. Top Books in Learning Rust.
    • August 25, 2024
  • 4
    • Cities
    • Lah!
    Grab Introduces New Financial Literacy Programme As Part Of The GrabAcademy Initiative For Driver- And Delivery- Partners
    • August 7, 2021
  • 5
    • Lah!
    SkillsFuture Month X Smart Nation 2021
    • August 1, 2021
  • 6
    • Lah!
    Singapore And The US Renew Memorandum Of Understanding
    • September 24, 2019
  • work from home 7
    • People
    Maintaining Your Mental Health While Working
    • November 19, 2020
  • 8
    • Cities
    • Lah!
    Joint Ventures Between Allgreen Properties Ltd And Kerry Properties Ltd Secure S$861.75 Million Green Loan From DBS, Maybank And OCBC Bank
    • July 11, 2021
  • 9
    • Science
    How The Maths Of Network Resilience Could Help Us Preserve At-Risk Ecosystems
    • July 29, 2019
  • Pottery 10
    • Features
    • Gears
    • People
    From Hands To Hearts. The Universal Language Of Handcrafted Goods.
    • June 22, 2023
  • 11
    • Lah!
    • Technology
    EZ-Link Delivers More Convenience And Benefits To Motorists With The Introduction Of The EZ-Link Motoring Card And Motoring Rewards
    • August 2, 2021
  • usa-america-highlights-features 12
    • Cities
    • Features
    • Gears
    The Best 4th Of July Deals To Shop On Amazon
    • July 5, 2023
Trending
  • 1
    Google achieves approval for NATO restricted workloads across cloud and AI services
    • December 4, 2026
  • 2
    Tech predictions for 2027 and beyond
    • November 25, 2026
  • 3
    Apple unveils groundbreaking MacBook Pro with PROLED XDR Display and Touch for the first time on Mac
    • October 28, 2026
  • 4
    Apple introduces the new 14‑inch MacBook Pro with M6
    • October 27, 2026
  • 5
    Apple unveils new iMac with M6, delivering a major boost in performance and AI capabilities
    • October 27, 2026
  • 6
    Chinese tech giant Huawei unveils Mate 90 series smartphones with flagship Tau chips adopting logic folding technology
    • October 3, 2026
  • 7
    Google Opens Singapore Engineering Center to Build and Export Enterprise Cloud and AI to the World
    • September 15, 2026
  • 8
    Apple Flagship Hardware Launch for September 2026
    • September 10, 2026
  • 9
    MIT researchers tackle the economic realities of fusion power
    • August 10, 2026
  • 10
    ASEAN, treaty parties push stronger cooperation as Treaty of Amity and Cooperation in Southeast Asia marks 50 years
    • July 26, 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.