How To Install python-configobj.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install python-configobj.noarch
on Amazon Linux 2.
What is python-configobj.noarch
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
to install python-configobj.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-configobj.noarch.
Install python-configobj.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python-configobj.noarch
using yum
by running the following command:
sudo yum -y install python-configobj.noarch
How To Uninstall python-configobj.noarch on Amazon Linux 2
To uninstall only the python-configobj.noarch
package we can use the following command:
sudo yum remove python-configobj.noarch
python-configobj.noarch Package Contents on Amazon Linux 2
/usr/lib/python2.7/site-packages/configobj-4.7.2-py2.7.egg-info
/usr/lib/python2.7/site-packages/configobj.py
/usr/lib/python2.7/site-packages/configobj.pyc
/usr/lib/python2.7/site-packages/configobj.pyo
/usr/lib/python2.7/site-packages/validate.py
/usr/lib/python2.7/site-packages/validate.pyc
/usr/lib/python2.7/site-packages/validate.pyo
/usr/share/doc/python-configobj-4.7.2
/usr/share/doc/python-configobj-4.7.2/configobj.html
/usr/share/doc/python-configobj-4.7.2/configobj.txt
/usr/share/doc/python-configobj-4.7.2/default.css
/usr/share/doc/python-configobj-4.7.2/docutils.conf
/usr/share/doc/python-configobj-4.7.2/docutils.css
/usr/share/doc/python-configobj-4.7.2/pygments.css
/usr/share/doc/python-configobj-4.7.2/template.tmp
/usr/share/doc/python-configobj-4.7.2/validate.html
/usr/share/doc/python-configobj-4.7.2/validate.txt
References
Summary
In this tutorial we learn how to install python-configobj.noarch
on Amazon Linux 2 using yum.