Alfie Mellor

Alfie Mellor


How to install Python on Ubuntu 18.04

#python #ubuntu

What is GEEK

Buddha Community

Dylan Iqbal


This tutorial will walk you through installing Python and setting up a programming environment on an Ubuntu 18.04 server.

Table of Contents

Install Python on Ubuntu 18.04

Ubuntu 18.04 comes with python 3 installation out of the box as default interpreter. In the minimal installation of Ubuntu this does not come pre-installed so now we are going to install Python on Ubuntu 18.04.


Before you start installing Python on Ubuntu 18.04. You must have nonroot user account on your server with sudo privileges.

“Before_You_Begin”>Before You Begin

Before we begin please check whether Python is installed or not on your system by typing

python --version

If the output shows Python version then you already have Python installed or if it outputs command not found then Python is not installed. However, you can also upgrade or downgrade version of Python.

“Install_Python_3_on_Ubuntu”>Install Python 3 on Ubuntu

Update package manager index by typing following command

sudo apt update

The following command will provide minimal installation of Python. now to install Python 3 enter following command

sudo apt install python3-minimal

Confirm the installation and check the version of Python by entering the following command.

python3 -V

The output should be:

    Python 3.6.6

“Install_Python_2_On_Ubuntu”>Install Python 2 On Ubuntu

Before you install Python on ubuntu 18.04, update package manager index by typing following command.

sudo apt update

Following command will provide minimal installation of Python. now to install Python 2 enter following command.

sudo apt install pytho3-minimal

Confirm installation and check version of Python by entering follwing command.

python --version

Output should be:

    Python 2.7.15rc1

“Install_Python_Modules”>Install Python Modules

Ubutnu repository already have a lot of Python modules. To Search Python modules enter following command

sudo apt search MODULE_NAME

To install searched Python module enter following command

sudo apt install MODULE_NAME


Here we have learnt how to install Python on Ubuntu 18.04. If You have any queries regarding this then please comment below.

Learn More

Complete Python Bootcamp: Go from zero to hero in Python 3

Machine Learning A-Z™: Hands-On Python & R In Data Science

Complete Python Masterclass

Python for Data Science: 8 Concepts You May Have Forgotten

Getting Started with Python in Visual Studio Code

Python Tutorial for Beginners - Crash Course 2019 | Build a Game with Python

An A-Z of useful Python tricks

Learning Python: From Zero to Hero

sudo apt-get update && sudo apt-get install python3



sudo apt-get install python (or python3 if you want the latest version)

How to Install Pyenv on Ubuntu 18.04

What is Pyenv?
Pyenv is a fantastic tool for installing and managing multiple Python versions. It enables a developer to quickly gain access to newer versions of Python and keeps the system clean and free of unnecessary package bloat. It also offers the ability to quickly switch from one version of Python to another, as well as specify the version of Python a given project uses and can automatically switch to that version. This tutorial covers how to install pyenv on Ubuntu 18.04.

#tutorials #apt #debian #environment #git #github #linux #package #package management #package manager #personal package archive #ppa #pyenv #python #python 3 #python support #python-pip #repository #smb #software #source install #ubuntu #ubuntu 18.04 #venv #virtualenv #web application development

Chet  Lubowitz

Chet Lubowitz


How to Install Microsoft Teams on Ubuntu 20.04

Microsoft Teams is a communication platform used for Chat, Calling, Meetings, and Collaboration. Generally, it is used by companies and individuals working on projects. However, Microsoft Teams is available for macOS, Windows, and Linux operating systems available now.

In this tutorial, we will show you how to install Microsoft Teams on Ubuntu 20.04 machine. By default, Microsoft Teams package is not available in the Ubuntu default repository. However we will show you 2 methods to install Teams by downloading the Debian package from their official website, or by adding the Microsoft repository.

Install Microsoft Teams on Ubuntu 20.04

1./ Install Microsoft Teams using Debian installer file

01- First, navigate to teams app downloads page and grab the Debian binary installer. You can simply obtain the URL and pull the binary using wget;

$ wget${VERSION}_amd64.deb

#linux #ubuntu #install microsoft teams on ubuntu #install teams ubuntu #microsoft teams #teams #teams download ubuntu #teams install ubuntu #ubuntu install microsoft teams #uninstall teams ubuntu

Servo Node

Servo Node


Install VirtualBox in Ubuntu 21.04/20.04/18.04 › Servo Node

VirtualBox is a widely known and open-source tool offered by Oracle. It’s a cross platform virtualization application that can be installed on any system that allows users to run a number of guest operating systems on single machine over a virtual system.

Means, with the usage of VirtualBox on your system, you can easily install many operating systems and can run them simultaneously which can be helpful to develop, demonstrate, deploy and test applications on a single machine.

How to install VirtualBox On Ubuntu 18.04, 20.04 and 21.04?

Since the virtualization system offered by Oracle is available for cross platforms, even Ubuntu users can install the app and take its benefits. In order to install VirtualBox in Ubuntu variants, there’s a number of approaches that can be helpful.

Installing using default repository

sudo apt install virtualbox

Install using official DEB package

Visit the Virtualbox download page and download DEB package in your machine, and run the following command to install the package using ATP command.

sudo apt install ./virtualbox-6.1_6.1.22-144080_Ubuntu_bionic_amd64.deb

for more approaches and information, Read Here

#install virtual box on ubuntu #install virtual box on ubuntu 18.04 #install virtual box on ubuntu 20.04 #install virtual box on ubuntu21.04

Chet  Lubowitz

Chet Lubowitz


How to Install TeamViewer on Ubuntu 20.04

TeamViewer is a cross-platform, proprietary application that allows a user to remotely connect to a workstation, transfer files, and have online meetings. In this tutorial, we will walk you through how to install TeamViewer on Ubuntu 20.04 Desktop through the command line.


Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges.

Installing TeamViewer on Ubuntu

01- To install TeamViewer, first, download the TeamViewer .deb package. So, open the Terminal and run the following wget command.

$ wget

02- Once you have downloaded the TeamViewer‘s Debian package, execute the following command to install Teamviewer:

$ sudo apt install ./teamviewer_amd64.deb

The system will prompt you with a [Y/n] option. Type ‘Y‘ and hit the enter key in order for to continue the installation.

03- Once the installation is done, you can launch TeamViewer either by typing the command teamviewer in your terminal or by clicking on the TeamViewer icon (Activities -> TeamViewer).

04- A pop-up License Agreement will be displayed. To proceed, click on the Accept License Agreement button.

#linux #ubuntu #install teamviewer #install teamviewer ubuntu #teamviewer #teamviewer ubuntu #teamviewer ubuntu install #ubuntu install teamviewer

Arvel  Parker

Arvel Parker


How to Install PgAdmin 4 on Ubuntu 20.04

pgAdmin is the leading graphical Open Source management, development and administration tool for PostgreSQL. pgAdmin4 is a rewrite of the popular pgAdmin3 management tool for the PostgreSQL database.

In this tutorial, we are going to show you how to install pgAdmin4 in Server Mode as a web application using apache2 and Wsgi module on Ubuntu 20.04 LTS.

#databases #linux #ubuntu #install pgadmin4 #install pgadmin4 ubuntu #install pgadmin4 ubuntu 20 #pgadmin4 #ubuntu pgadmin4 #ubuntu pgadmin4 install