How To Install python3-bpython on AlmaLinux 8

In this tutorial we learn how to install python3-bpython in AlmaLinux 8. python3-bpython is Fancy curses interface to the Python 3 interactive interpreter

Introduction

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

What is python3-bpython

bpython is a fancy interface to the Python interpreter for Unix-like operating systems. It has the following features o in-line syntax highlighting o readline-like autocomplete with suggestions displayed as you type o expected parameter list for any Python function. o eewind function to pop the last line of code from memory and re-evaluate. o send the code you’ve entered off to a pastebin and display the pastebin URL for copying, etc. o save the code you’ve entered to a file o auto indentation This is the Python 3 build of bpython.

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

Install python3-bpython 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-bpython using dnf by running the following command:

sudo dnf -y install python3-bpython

Install python3-bpython 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-bpython using yum by running the following command:

sudo yum -y install python3-bpython

How To Uninstall python3-bpython on AlmaLinux 8

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

sudo dnf remove python3-bpython

References

Summary

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