Upgrade Python 2.7 to 3.6 and installing pip on CentOS 7

Installing Development Tools

Development tools are required for building Python modules. To install the necessary tools and libraries type:

sudo yum groupinstall 'Development Tools'

Enable Software Collections (SCL)

Software Collections , also known as SCL is a community project that allows you to build, install, and use multiple versions of software on the same system, without affecting system default packages. By enabling SCL you will gain access to the newer versions of programming languages and services which are not available in the core repositories.

CentOS 7 ships with Python 2.7.5 which is a critical part of the CentOS base system. SCL allows you to install newer versions of python 3.x alongside the default python v2.7.5 so that system tools such as yum will continue to work properly.

To enable SCL, you need to install the CentOS SCL release file. It is part of the CentOS extras repository and can be installed by running the following command:

sudo yum install centos-release-scl

Continue reading “Upgrade Python 2.7 to 3.6 and installing pip on CentOS 7” »


Install webssh on Debian

You need to have PIP installed on your debian system. Check if it’s already installed, if not, install one of the available edition. My setup included

  • Debain 10 (buster)
  • PIP 3

Installing pip for Python 3

Perform the following steps as a user with sudo privileges to install Pip for Python 3 on Debian 10:

Start by updating the package list:

sudo apt update

Install pip for Python 3 and all of its dependencies with the following command: Continue reading “Install webssh on Debian” »