How To Install bpython on CentOS 7
Introduction
In this tutorial we learn how to install bpython
on CentOS 7.
What is 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
We can use yum
or dnf
to install bpython
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install bpython.
Install bpython on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install bpython
using yum
by running the following command:
Install bpython on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install bpython
using dnf
by running the following command:
How To Uninstall bpython on CentOS 7
To uninstall only the bpython
package we can use the following command:
References
Summary
In this tutorial we learn how to install bpython
on CentOS 7 using yum
and dnf
.