How To Install python-configobj on CentOS 7
Introduction
In this tutorial we learn how to install python-configobj
on CentOS 7.
What is python-configobj
ConfigObj is a simple but powerful config file reader and writer an ini file round tripper. Its main feature is that it is very easy to use, with a straightforward programmer’s interface and a simple syntax for config files. It has lots of other features though * Nested sections (subsections), to any level * List values * Multiple line values * String interpolation (substitution) * Integrated with a powerful validation system o including automatic type checking/conversion o repeated sections o and allowing default values * All comments in the file are preserved * The order of keys/sections is preserved * No external dependencies * Full Unicode support * A powerful unrepr mode for storing basic datatypes
We can use yum
or dnf
to install python-configobj
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-configobj.
Install python-configobj on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python-configobj
using yum
by running the following command:
Install python-configobj 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-configobj
using dnf
by running the following command:
How To Uninstall python-configobj on CentOS 7
To uninstall only the python-configobj
package we can use the following command:
References
Summary
In this tutorial we learn how to install python-configobj
on CentOS 7 using yum
and dnf
.