How To Install python-nine on CentOS 7
Introduction
In this tutorial we learn how to install python-nine
on CentOS 7.
What is python-nine
Let’s write Python 3 right now! When the best Python 2/Python 3 compatibility modules – especially the famous `six library invented by Benjamin Peterson <https written from the point of view of a Python 2 programmer starting to grok Python 3. When thou writeth Python, thou shalt write Python 3 and, just for a while, ensure that the thing worketh on Python 2.7 and, possibly, even 2.6. Just before Python 2 is finally phased out, thine codebase shall look more like 3 than like 2. nine facilitates this new point of view. You can write code that is as 3ish as possible while still supporting 2.6. Very comfortable for writing new projects.
We can use yum
or dnf
to install python-nine
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-nine.
Install python-nine on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-nine
using yum
by running the following command:
Install python-nine 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 python-nine
using dnf
by running the following command:
How To Uninstall python-nine on CentOS 7
To uninstall only the python-nine
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-nine
on CentOS 7 using yum
and dnf
.