How To Install python3-bpython-urwid on AlmaLinux 8

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

Introduction

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

What is python3-bpython-urwid

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

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

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

sudo dnf -y install python3-bpython-urwid

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

sudo yum -y install python3-bpython-urwid

How To Uninstall python3-bpython-urwid on AlmaLinux 8

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

sudo dnf remove python3-bpython-urwid

References

Summary

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