How To Install python3-simplejson on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-simplejson
on Rocky Linux 8.
What is python3-simplejson
simplejson is a simple, fast, complete, correct and extensible JSON <http with no dependencies, but includes an optional C extension for a serious speed boost. The encoder may be subclassed to provide serialization in any kind of situation, without any special support by the objects to be serialized (somewhat like pickle). The decoder can handle incoming JSON strings of any specified encoding (UTF-8 by default). simplejson is the externally maintained development version of the JSON library included with Python. It gets updated more regularly than the JSON module in the Python stdlib.
We can use yum
or dnf
to install python3-simplejson
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-simplejson.
Install python3-simplejson 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-simplejson
using dnf
by running the following command:
sudo dnf -y install python3-simplejson
Install python3-simplejson 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-simplejson
using yum
by running the following command:
sudo yum -y install python3-simplejson
How To Uninstall python3-simplejson on Rocky Linux 8
To uninstall only the python3-simplejson
package we can use the following command:
sudo dnf remove python3-simplejson
python3-simplejson Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/3c83d6fe9f834a178b558fffab81a663cf0753
/usr/lib64/python3.6/site-packages/simplejson
/usr/lib64/python3.6/site-packages/simplejson-3.17.0-py3.6.egg-info
/usr/lib64/python3.6/site-packages/simplejson-3.17.0-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/simplejson-3.17.0-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/simplejson-3.17.0-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/simplejson-3.17.0-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/simplejson/__init__.py
/usr/lib64/python3.6/site-packages/simplejson/__pycache__
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/compat.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/decoder.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/decoder.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/encoder.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/encoder.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/errors.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/ordered_dict.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/ordered_dict.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/raw_json.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/raw_json.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/scanner.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/scanner.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/tool.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/__pycache__/tool.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/_speedups.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/simplejson/compat.py
/usr/lib64/python3.6/site-packages/simplejson/decoder.py
/usr/lib64/python3.6/site-packages/simplejson/encoder.py
/usr/lib64/python3.6/site-packages/simplejson/errors.py
/usr/lib64/python3.6/site-packages/simplejson/ordered_dict.py
/usr/lib64/python3.6/site-packages/simplejson/raw_json.py
/usr/lib64/python3.6/site-packages/simplejson/scanner.py
/usr/lib64/python3.6/site-packages/simplejson/tests
/usr/lib64/python3.6/site-packages/simplejson/tests/__init__.py
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_bigint_as_string.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_bigint_as_string.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_bitsize_int_as_string.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_bitsize_int_as_string.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_check_circular.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_check_circular.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_decimal.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_decimal.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_decode.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_decode.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_default.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_default.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_dump.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_dump.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_encode_basestring_ascii.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_encode_basestring_ascii.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_encode_for_html.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_encode_for_html.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_errors.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_errors.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_fail.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_fail.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_float.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_float.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_for_json.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_for_json.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_indent.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_indent.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_item_sort_key.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_item_sort_key.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_iterable.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_iterable.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_namedtuple.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_namedtuple.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_pass1.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_pass1.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_pass2.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_pass2.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_pass3.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_pass3.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_raw_json.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_raw_json.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_recursion.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_recursion.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_scanstring.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_scanstring.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_separators.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_separators.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_speedups.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_speedups.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_str_subclass.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_str_subclass.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_subclass.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_subclass.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_tool.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_tool.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_tuple.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_tuple.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_unicode.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/__pycache__/test_unicode.cpython-36.pyc
/usr/lib64/python3.6/site-packages/simplejson/tests/test_bigint_as_string.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_bitsize_int_as_string.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_check_circular.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_decimal.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_decode.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_default.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_dump.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_encode_basestring_ascii.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_encode_for_html.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_errors.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_fail.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_float.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_for_json.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_indent.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_item_sort_key.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_iterable.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_namedtuple.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_pass1.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_pass2.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_pass3.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_raw_json.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_recursion.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_scanstring.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_separators.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_speedups.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_str_subclass.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_subclass.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_tool.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_tuple.py
/usr/lib64/python3.6/site-packages/simplejson/tests/test_unicode.py
/usr/lib64/python3.6/site-packages/simplejson/tool.py
/usr/share/doc/python3-simplejson
/usr/share/doc/python3-simplejson/docs
/usr/share/doc/python3-simplejson/docs/README.html
/usr/share/doc/python3-simplejson/docs/_sources
/usr/share/doc/python3-simplejson/docs/_sources/README.rst.txt
/usr/share/doc/python3-simplejson/docs/_sources/index.rst.txt
/usr/share/doc/python3-simplejson/docs/_static
/usr/share/doc/python3-simplejson/docs/_static/ajax-loader.gif
/usr/share/doc/python3-simplejson/docs/_static/alabaster.css
/usr/share/doc/python3-simplejson/docs/_static/basic.css
/usr/share/doc/python3-simplejson/docs/_static/comment-bright.png
/usr/share/doc/python3-simplejson/docs/_static/comment-close.png
/usr/share/doc/python3-simplejson/docs/_static/comment.png
/usr/share/doc/python3-simplejson/docs/_static/custom.css
/usr/share/doc/python3-simplejson/docs/_static/doctools.js
/usr/share/doc/python3-simplejson/docs/_static/documentation_options.js
/usr/share/doc/python3-simplejson/docs/_static/down-pressed.png
/usr/share/doc/python3-simplejson/docs/_static/down.png
/usr/share/doc/python3-simplejson/docs/_static/file.png
/usr/share/doc/python3-simplejson/docs/_static/jquery-3.2.1.js
/usr/share/doc/python3-simplejson/docs/_static/jquery.js
/usr/share/doc/python3-simplejson/docs/_static/minus.png
/usr/share/doc/python3-simplejson/docs/_static/plus.png
/usr/share/doc/python3-simplejson/docs/_static/pygments.css
/usr/share/doc/python3-simplejson/docs/_static/searchtools.js
/usr/share/doc/python3-simplejson/docs/_static/underscore-1.3.1.js
/usr/share/doc/python3-simplejson/docs/_static/underscore.js
/usr/share/doc/python3-simplejson/docs/_static/up-pressed.png
/usr/share/doc/python3-simplejson/docs/_static/up.png
/usr/share/doc/python3-simplejson/docs/_static/websupport.js
/usr/share/doc/python3-simplejson/docs/genindex.html
/usr/share/doc/python3-simplejson/docs/index.html
/usr/share/doc/python3-simplejson/docs/objects.inv
/usr/share/doc/python3-simplejson/docs/py-modindex.html
/usr/share/doc/python3-simplejson/docs/search.html
/usr/share/doc/python3-simplejson/docs/searchindex.js
/usr/share/licenses/python3-simplejson
/usr/share/licenses/python3-simplejson/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-simplejson
on Rocky Linux 8 using yum and dnf.