×

This article covers on how to install Python 3.9.7 on Debian 11. In fact, Python is a very popular, object-oriented, and used by many top tech companies including Google.



This article covers how to install GNS3 on Ubuntu 20.04 LTS OS. In fact, GNS3 is an incredibly powerful tool that virtualizes real network hardware and helps you to test and verify real-world network deployments. It provides a risk-free virtual environment to design and build a network with your considered size and even with no hardware. GNS3 can be installed on Windows, macOS, and on Linux. It supports Linux distributions (Ubuntu-based distributions 64 bit only) and emulates Linux switches and multiple Linux appliances.



This article covers how you can easily install the Protobuf library on your Linux Mint 20 system. In fact, Protocol Buffer, abbreviated as Protobuf, is an open source library developed by Google that allows to serialize or deserialize structured data. It is basically used to communicate with one another over a network and to store data when building applications.


How to Install Protobuf Using Command Line on Ubuntu ?

1. Update all the previous packages installed on your system:

$ sudo apt update

2. Now to install Protobuf compiler on your Ubuntu system, run the below mentioned command:

$ sudo apt install protobuf-compiler


How to Remove Protobuf from Ubuntu System using software center ? 

1. Open the ubuntu software manager and click on installed tab.

2. Now search for "Protobuf" from the list of apps and click on "Remove" button in front of it.

3. A permission dialogue box will get open click on "Remove" to uninstall the application. 

And now protobuf will be uninstalled successfully and no longer exist in the list.



This article covers how to install PIP on Ubuntu 18.04 for Python 3 and Python 2. In fact, PIP is the default package manager for Python packages which allows you to install, and manage Python packages in an easy and convenient manner. 


How to Install pip for Python3 ?

Pip3 can be installed on Ubuntu using the APT package manager. 

1. To start off, update the package lists as shown:

$ sudo apt update

2. To install pip3 run the command:

$ sudo apt install python3-pip

3. Verify that pip3 is installed by running the command:

$ pip3 --version


For assistance on more command options and usage of pip3, run the below command:

$ pip3 --help



This article covers the different ways to install Python on Ubuntu Linux system. In fact, Python is an object-oriented, high-level programming language. It is open-source with a large community. Python is used as a key language among the top tech companies like Google. Now you can start developing your Python 3 project.



This article covers the installation procedure of Pandoc on a Linux Mint 20 machine. This tool can be utilized to design a wide range of different documents. 

To check Pandoc Version, simply run the below command:

$ pandoc -v


To Update System and Install Pandoc, simply run the following command:

$ sudo apt-get update && sudo apt-get install pandoc



This article covers how to redirect stderr to stdout in Bash. When redirecting the output of a command to a file or piping it to another command, you might notice that the error messages are printed on the screen. In Bash and other Linux shells, when a program is executed, it uses three standard I/O streams. Here, A file descriptor is just a number representing an open file. The input stream provides information to the program, generally by typing in the keyboard. The program output goes to the standard input stream and the error messages goes to the standard error stream. By default, both input and error streams are printed on the screen.



This article covers the step by step Installation procedure of Rust on Linux. Now you can write rust programs on Linux. In fact, The Rust programming language, more commonly known as rust-lang, is a powerful general-purpose programming language.

Developed by Mozilla and designed by Graydon Hoare, Rust programming language is syntactically similar to C++.

We can verify from the terminal for the version of the Rust programming language installed on our system. To do so, we enter this in our terminal:

$ rustc --version



This article covers how to install CUDA on Ubuntu 20.04.

To install CUDA on Ubuntu,  execute the following commands:

$ sudo apt update
$ sudo apt install nvidia-cuda-toolkit

To Check your CUDA version, run the below command:

$ nvcc --version



This article covers how to Install and Set Up Google Cloud SDK on Ubuntu 20.04. The Google Cloud SDK provides us with the ability to access the Google Cloud via the terminal. It is a development toolkit that comes with multiple commands that help in managing the resources within the Google Cloud environment. 



This article covers the different methods of Installing Django on Ubuntu 20.04. With it, you can easily perform creation of Django applications, superuser creation, and removal of Django. 

Django is a full-featured Python web framework for developing dynamic websites and applications. Using Django, you can quickly create Python web applications and rely on the framework to do a good deal of the heavy lifting.


How to install Django from Ubuntu repositories ?

1. First, update your local package index with apt:

$ sudo apt update

2. Next, check which version of Python you have installed. 18.04 ships with Python 3.6 by default, which you can verify by typing:

$ python3 -V



This article covers an overview of the s3cmd command-line tool and how you can use it to manage your Amazon S3 storage feature. S3cmd is an Open Source tool that is free for both commercial and private use, but you need to pay only for Amazon resources. so most of the users are using this tool for managing AWS S3 Buckets. S3cmd is a free command-line tool written in Python


How to use the s3cmd command line to manage the Amazon s3 bucket in Linux ?

To use s3cmd command to list s3 bucket, run the command:

# s3cmd ls

This command will list s3bucket from Amazon S3, If you are unable to get the list of the bucket then there will be the following reasons:

  • There is no bucket created in Amazon s3.
  • As you have used IAM user Access Key and Secret Key while configuring the s3cmd tool, please verify IAM user has required permission to access the s3 bucket.
  • If you are using an IAM role then check whether the s3 bucket policy is attached to the EC2 instance or not.



This article covers the installation procedure of Go language on a Linux Mint 20 system. Also, we dealt with an easy way to remove Go language from a Linux Mint 20 system.

To Verify Go Language Installation, run the command:

$ go version 


Features of Go Programming

  • Statically type and compiled programming language.
  • Concurrency support and Garbage collection.
  • Strong library and toolset.
  • Multiprocessing and High-performance networking.
  • Known for readability and usability (Like Python).



This article covers how to install the AWS CLI very conveniently on your Linux Mint 20 system and use it for managing the Amazon Web Services very efficiently.
The AWS or Amazon Web Service command line interface is a command line tool for manage our Amazon web services.
AWS CLI provides direct access to the Amazon Web Services public API.
As it is a command line tool, it can also be used to create scripts to automate your Amazon web services.

To the AWS CLI on Ubuntu With APT:
1. First we update the package listing cache with the following command in the terminal (Ctrl + Alt + T):

# sudo apt-get update

2. Now we are going to install the AWS CLI using the command:

# sudo apt-get install awscli

3. We will can check if AWS CLI is working correctly with the following command:

# aws --version



This article covers how to install and compile Python3.9 using different methods, using PPA repo, compiling it from the source code, and installing it using the Linuxbrew tool.

We can now start using Python 3.9 for our projects.

Python is a high-level programming language, mostly used to write scripting and automation. It is a very popular language known for its simplicity and easy syntax. 

Python one of the best language for for artificial intelligence (AI).


To Install Python 3.9 on Ubuntu 20.04 using APT:

1. Update package list, type:

$ sudo apt update

2. Install software-properties-common package to easily manage distribution and independent software vendor software sources:

$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:deadsnakes/ppa

3. Now install python 3.9 using apt command:

$ sudo apt-get install python3.9

4. The following command can help to identify the proper install location of Python:

$ which python3

The execution of the above command produces the following output on console:

/usr/bin/python3



This article covers methods to easily install Apache Maven on the Ubuntu system. You will also learn how to uninstall Apache Maven from Ubuntu if you ever need to do so.

Apache Maven is a free and open-source project management tool primarily for Java projects. It is based on POM and also used to build and manage projects written in C#, Ruby, Scala, and others.


To Install Apache Maven on Ubuntu:

1. Apache Maven is based on Java. So Java must be installed in your server. You can install the Java using the following command:

$ apt-get install default-jdk -y

2. By default, Apache Maven is available in the Ubuntu 20.04 default repository. You can install it with the following command:

$ apt-get install maven -y

3. Once the installation is completed, you can verify the Apache Maven version with the following command:

$ mvn -version



This article covers how to install and run Docker Compose on your Ubuntu 20.04 LTS machine. Docker Compose is yet another useful Docker tool. It allows users to launch, execute, communicate, and close containers with a single coordinated command. Essentially, Docker Compose is used for defining and running multi-container Docker applications.


To Install Docker Compose on Ubuntu:

1. Start by updating the default repository to ensure you download the latest Docker Compose:

$ sudo apt update

2. Then, upgrade the system to ensure all local packages and programs are up to date:

$ sudo apt upgrade

3. Then install Docker Compose from the Ubuntu repository by running:

$ sudo apt install docker-compose


To install Install curl on Ubuntu:

To download the binary package using an URL, you need curl. You can check whether you have this command-line utility by typing in the terminal window:

$curl

If the output displays "try 'curl --help' or 'curl --manual' for more information", move on to the next step. 

This message means curl is installed.

However, if the terminal says "command not found", you need to install curl with:

$ sudo apt install curl


To Check Docker Compose Version on Ubuntu:

To verify the installation, check the Docker Compose version by running:

$ docker–compose –version


To uninstall Docker Compose on Ubuntu:

Uninstalling Docker Compose from your Ubuntu system is a simple 3-step process.

1. Delete the Binary

First, delete the binary with the command:

$ sudo rm /usr/local/bin/docker-compose

2. Uninstall the Package

Then, use the apt remove command to uninstall the software:

$ sudo apt remove docker-compose

3. Remove Software Dependencies

Finally, remove the unwanted software dependencies by running:

$ sudo apt autoremove



This article covers how to install Flask on Ubuntu 20.04. Flask is a powerful web framework for any developer. Unlike Django , by default Flask doesn’t include ORM, form validation, or any other functionalities provided by third-party libraries. Flask is built with extensions in mind, which are Python packages that add functionality to a Flask application.

Flask packages are included in the official Ubuntu repositories and can be installed using the apt package manager. 

This is the simplest way to install Flask on Ubuntu 20.04, but not as flexible as installing in a virtual environment. 

Also, the version included in the repositories may lag behind the latest version of Flask.


To install Flask on Ubuntu 20.04:

1. Ubuntu 20.04 ships with Python 3.8. You can verify that Python is installed on your system by typing:

$ python3 -V

2. The recommended way to create a virtual environment is by using the venv module, which is provided by the python3-venv package. Run the following command to install the package:

$ sudo apt install python3-venv

3. Create a new directory for the Flask application and switch into it:

$ mkdir flask_app && cd flask_app

4. Run the following command inside the directory to create the virtual environment:

$ python3 -m venv venv

The command will create a directory called venv, which contains a copy of the Python binary, the Pip package manager , the standard Python library, and other supporting files. You can use any name you want for the virtual environment.

5. To start using the virtual environment, you need to activate it with the activate script:

source venv/bin/activate

6. Now that the virtual environment is activated, use the Python package manager pip to install Flask:

$ pip install Flask

7. To verify the installation, run the following command, which prints the Flask version:

$ python -m flask --version



This article covers how to install python2 and python3 on CentOS 8. By default, python2 and python3 are not installed on CentOS 8. To install both, you need to install all python packages separately according to python versions. Also, you can run python2 and python3 environments on your system. 

The 'alternatives --auto python' command is used to set any python version as the default. 


To run Python in Linux:

A widely used way to run Python code is through an interactive session. 

To start a Python interactive session, just open a command-line or terminal and then type in python, or python3 depending on your Python installation, and then hit Enter .


Python comes preinstalled on most Linux distributions, and is available as a package on all others. 

However there are certain features you might want to use that are not available on your distro's package. 

You can easily compile the latest version of Python from source.


Installing Python 3 on Linux:

1. To see which version of Python 3 you have installed, open a command prompt and run

$ python3 --version

2. If you are using Ubuntu 16.10 or newer, then you can easily install Python 3.6 with the following commands:

$ sudo apt-get update

$ sudo apt-get install python3.6

3. If you're using another version of Ubuntu (e.g. the latest LTS release) or you want to use a more current Python, we recommend using the deadsnakes PPA to install Python 3.8:

$ sudo apt-get install software-properties-common

$ sudo add-apt-repository ppa:deadsnakes/ppa

$ sudo apt-get update

$ sudo apt-get install python3.8

4. If you are using other Linux distribution, chances are you already have Python 3 pre-installed as well. If not, use your distribution's package manager. For example on Fedora, you would use dnf:

$ sudo dnf install python3


To see if pip is installed, open a command prompt and run:

$ command -v pip



This article Covers how to install the TermRecord application on CentOS 8. The TermRecord application allows you to better enjoy the recorded #Terminal content. 

TermRecord is a simple, open source, terminal session recorder with easy-to-share self-contained HTML output.

#TermRecord Stores these files as your own notes, email them to collaborators, use them as instructional examples, or whatever you wish.

TermRecord consumes output from the script command with timing information and can create a self-contained HTML file which replays the recorded session without needing to load anything from the web. 

These term sessions can be emailed and viewed on practically any device (including iPads etc.). 

The end user only needs a modern browser.


Features of TermRecord includes:

1. User friendly.

2. Detects the terminal size.

3. Nest sessions.

4. Cross-platform HTML-based output.

5. Stores the output as either JSON, embeddable JavaScript, or a static HTML file.

6. Written in Python.


To install on TermRecord #CentOS:

1. First of all, connect to your server via SSH and make sure that all of your system software is up to date. 

Run the following command to update the package list and upgrade all of your system software to the latest version available:

$ sudo yum update -y

2. Install Pip. 

Add the EPEL Repository:

$sudo yum install epel-release

Install pip:

$ sudo yum install python-pip

Once the installation has completed, you can verify that it was successful by using the following command:

$pip -V

3. Install TermRecord

Install TermRecord using the Python package manager (pip):

$sudo pip install TermRecord


How to use TermRecord on CentOS system ?

Taking a video of the terminal with TermRecord is rather simple, just run the following command (be attentive to capital letters):

TermRecord -o record.html

Note: We specify the output file in which the video will be recorded using the -o option. the .html format is the default format.

For more complex operations check out TermRecord --help



This article will guide you on how to install Python PIP #tools on Ubuntu 20.04. Also, you learnt different commands which will help you in using the PIP tool. You can search, install and remove #packages by using the pip utility. Steps to Install Python #PIP Tool on #Ubuntu 20.04: 1. Update Your #APT. As always, first, update and upgrade your APT. 2. Add Universe #Repository. 3. Install PIP for Python 3. 4. Verify Installation. 5. Replace Keyword. 6. Install #Python Package. 7. Uninstall Excess Tools. 8. Additional #Commands.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com