PIP and PiP3 on Ubuntu 20.04 Focal Fossa Linux

How to install Python package installer PIP on Ubuntu 20.04 Focal Fossa Linux

PIP is a package management system used for installing and managing software packages that were developed with Python. The objective of this tutorial is to show the reader how to install PIP on Ubuntu 20.04 Focal Fossa Linux.

In this tutorial you will learn:

  • How to install Python package installer PIP
  • How to install Python 3 package installer PIP3
  • Basic PIP command usage

Read more

Numpy on Ubuntu 20.04 Focal Fossa Linux

Install Numpy on Ubuntu 20.04 Focal Fossa Linux

NumPy is a Python library, which supports large, multi-dimensional arrays and matrices. It also offers a wide set of high-level mathematical functions to operate on these arrays. The objective of this short guide is to install NumPy on Ubuntu 20.04 Focal Fossa Linux.

In this tutorial you will learn:

  • How to install Numpy from the Ubuntu repository
  • How to install Numpy using pip or pip3 commands
  • How to upgrade Numpy to its latest version

Read more

Python package management system (pip) on Red Hat Enterprise Linux 8.

How to install pip in RHEL 8 / CentOS 8

Pip is a package management system used to install and manage software packages written in Python. RHEL 8 / CentOS 8 repository allows access to both pip versions for Python 2 as well as Python 3 interpreter. The pip command may be missing on your default RHEL 8 / CentOS 8 system installation.

The pip python package management tool can be easily installed by using the dnf command. Both, python 2 and 3 version can coexists on the same system and are accessible via pip2 and pip3 commands respectively.

In this tutorial you will learn:

  • How to install pip on RHEL 8 / CentOS 8 for python version 2.
  • How to install pip on RHEL 8 / CentOS 8 for python version 3.

Read more

Install Puppet on RHEL 8 / CentOS 8

How to Install Puppet on RHEL 8 / CentOS 8

IT admins rely on Puppet to manage complex deployments every day. If your network is built on Red Hat systems, you’re going to need to install Puppet on RHEL 8 / CentOS 8. Puppet Labs provides a repository and packages, so the whole thing should be relatively hassle free.

In this tutorial you will learn:

  • How to Enable the Puppet Repo
  • How to Install Puppet for Servers/Puppet Masters
  • How to Update Servers/Puppet Masters
  • How to Install Puppet for Clients
  • How to Update Puppet Clients

Read more

rpm

How to perform python input/output operations on files with python open function

The manipulation of files is an operation which sooner or later we’ll need to perform in our programs. The python built-in open function returns a file object, which lets us interact with files in different modes: we will see them in this article.

In this python tutorial you will learn:

  • How to use the python open function.
  • What are the various modes of operation which can be used with the python open function.
  • How to interact with a file object.
  • Why is important to close a file object, and how to do it.

Read more

How to install Ansible on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install Ansible on Ubuntu 18.04 Bionic Beaver Linux.

This guide will provide you with instructions on how to install Ansible on Ubuntu 18.04 from a standard Ubuntu repository, PPA repository and also how to install latest Ansible version by compiling the source code.

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY – MEDIUM

Conventions

Read more

How to host Django With Nginx On Ubuntu 18.04 Bionic Beaver Linux

Objective

Install and configure Ubuntu 18.04 to host the Django framework.

Distributions

Ubuntu 18.04

Requirements

A working install of Ubuntu 18.04 with root privileges

Difficulty

Medium

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

Introduction

If you’re looking to build and host web applications with Python, Django is the most popular choice. Since Python is so tightly integrated into the Linux, it’s not too hard to get a Django server set up on Ubuntu.

There isn’t one set way to host Django projects, but a stack consisting of PostgreSQL, Nginx, Gunicorn, and Django is pretty much the standard.

Read more

Check Python Version on Ubuntu Linux System

Check Python Version

The following article will provide you with the information on how to check Python Version on your operating system. You will learn how to check for python version using the python command as well as how to determine the python version programmatically, from python console and using python script.

Read more