How To Install python3-strictyaml on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-strictyaml
on Rocky Linux 8.
What is python3-strictyaml
StrictYAML is a type-safe YAML parser that parses and validates a restricted subset of the YAML specification. Priorities • Beautiful API • Refusing to parse the ugly, hard to read and insecure features of YAML like the Norway problem. • Strict validation of markup and straightforward type casting. • Clear, readable exceptions with code snippets and line numbers. • Acting as a near-drop in replacement for pyyaml, ruamel.yaml or poyo. • Ability to read in YAML, make changes and write it out again with comments preserved. • Not speed, currently.
We can use yum
or dnf
to install python3-strictyaml
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-strictyaml.
Install python3-strictyaml on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-strictyaml
using dnf
by running the following command:
sudo dnf -y install python3-strictyaml
Install python3-strictyaml on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-strictyaml
using yum
by running the following command:
sudo yum -y install python3-strictyaml
How To Uninstall python3-strictyaml on Rocky Linux 8
To uninstall only the python3-strictyaml
package we can use the following command:
sudo dnf remove python3-strictyaml
python3-strictyaml Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/strictyaml
/usr/lib/python3.6/site-packages/strictyaml-1.3.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/strictyaml-1.3.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/strictyaml-1.3.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/strictyaml-1.3.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/strictyaml-1.3.2-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/strictyaml-1.3.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/strictyaml-1.3.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/strictyaml/__init__.py
/usr/lib/python3.6/site-packages/strictyaml/__pycache__
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/any_validator.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/any_validator.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/compound.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/compound.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/dumper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/dumper.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/representation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/representation.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/scalar.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/scalar.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/validators.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/validators.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/yamllocation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/yamllocation.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/yamlpointer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/strictyaml/__pycache__/yamlpointer.cpython-36.pyc
/usr/lib/python3.6/site-packages/strictyaml/any_validator.py
/usr/lib/python3.6/site-packages/strictyaml/compound.py
/usr/lib/python3.6/site-packages/strictyaml/constants.py
/usr/lib/python3.6/site-packages/strictyaml/dumper.py
/usr/lib/python3.6/site-packages/strictyaml/exceptions.py
/usr/lib/python3.6/site-packages/strictyaml/parser.py
/usr/lib/python3.6/site-packages/strictyaml/representation.py
/usr/lib/python3.6/site-packages/strictyaml/scalar.py
/usr/lib/python3.6/site-packages/strictyaml/utils.py
/usr/lib/python3.6/site-packages/strictyaml/validators.py
/usr/lib/python3.6/site-packages/strictyaml/yamllocation.py
/usr/lib/python3.6/site-packages/strictyaml/yamlpointer.py
/usr/share/doc/python3-strictyaml
/usr/share/doc/python3-strictyaml/CHANGELOG.md
/usr/share/doc/python3-strictyaml/README.md
/usr/share/licenses/python3-strictyaml
/usr/share/licenses/python3-strictyaml/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-strictyaml
on Rocky Linux 8 using yum and dnf.