How To Install python2-clint on CentOS 7
Introduction
In this tutorial we learn how to install python2-clint
on CentOS 7.
What is python2-clint
Clint is a module filled with a set of awesome tools for developing commandline applications. It supports colors, but detects if the session is a TTY, so doesn’t render the colors if you’re piping stuff around. Automagically.
We can use yum
or dnf
to install python2-clint
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python2-clint.
Install python2-clint on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python2-clint
using yum
by running the following command:
Install python2-clint 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 python2-clint
using dnf
by running the following command:
How To Uninstall python2-clint on CentOS 7
To uninstall only the python2-clint
package we can use the following command:
References
Summary
In this tutorial we learn how to install python2-clint
on CentOS 7 using yum
and dnf
.