How To Install python3-ipython on AlmaLinux 8

In this tutorial we learn how to install python3-ipython in AlmaLinux 8. python3-ipython is An enhanced interactive Python shell

Introduction

In this tutorial we learn how to install python3-ipython on AlmaLinux 8.

What is python3-ipython

IPython provides a replacement for the interactive Python interpreter with extra functionality. Main features * Comprehensive object introspection. * Input history, persistent across sessions. * Caching of output results during a session with automatically generated references. * Readline based name completion. * Extensible system of ‘magic’ commands for controlling the environment and performing many tasks related either to IPython or the operating system. * Configuration system with easy switching between different setups (simpler than changing $PYTHONSTARTUP environment variables every time). * Session logging and reloading. * Extensible syntax processing for special purpose situations. * Access to the system shell with user-extensible alias system. * Easily embeddable in other Python programs. * Integrated access to the pdb debugger and the Python profiler. This package provides IPython for in a terminal.

We can use yum or dnf to install python3-ipython on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-ipython.

Install python3-ipython on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-ipython using dnf by running the following command:

sudo dnf -y install python3-ipython

Install python3-ipython on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-ipython using yum by running the following command:

sudo yum -y install python3-ipython

How To Uninstall python3-ipython on AlmaLinux 8

To uninstall only the python3-ipython package we can use the following command:

sudo dnf remove python3-ipython

References

Summary

In this tutorial we learn how to install python3-ipython on AlmaLinux 8 using yum and dnf.