Loading Page

Originally published on the Trilon Blog on Aug 7, 2019.

Whenever we work on a new project we need to run npm install, but how often do we think about the toll this takes on our hard-drive?

cnorkdsd8nmcse1erid7.png

A single node_modules folder can take up anywhere from 200+ megabytes of space (sometimes 1GB+ !).

Now take a look at your github/ folder, or wherever else you're storing the majority of your projects, and you can start to see where some of your free hard-drive space has gone!

I recently tweeted about this, as it's something I use every few months and wanted to share with others who might have ran into the ...

The Python 2 version is no longer a default Python version since Ubuntu 18.04. With a release of Ubuntu 20.04 the Python 2 on a default system installation has been also completely dropped hence you might encounter the following error when executing the python command:

Command 'python' not found

No despair, the Python 2 is not installed by default but it is still available for installation.

In this tutorial you will learn:
  • How to install Python 2
  • How to switch Python 2 as a default python interpreter
Software Requirements and Conventions Used
Category Description
System Requirements, ...

In this tutorial you will learn:
  • How to check installed Python versions
  • How to switch between alternative Python versions
Software Requirements and Conventions Used
Category Description
System Requirements, Conventions or Software Version Used
Software Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa
Other Python2/Python3
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user
How to switch between alter...