How To Install python3-pymoc on Fedora 36

In this tutorial we learn how to install python3-pymoc in Fedora 36. python3-pymoc is Multi-Order Coverage map module for Python

Introduction

In this tutorial we learn how to install python3-pymoc on Fedora 36.

What is python3-pymoc

PyMOC is a module for manipulating Multi-Order Coverage (MOC) maps. It includes support for reading and writing the three encodings mentioned in the IVOA recommendation PyMOC also includes a utility program pymoctool to allow MOC files to be manipulated from the command line.

We can use yum or dnf to install python3-pymoc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pymoc.

Install python3-pymoc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-pymoc using dnf by running the following command:

sudo dnf -y install python3-pymoc

Install python3-pymoc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-pymoc using yum by running the following command:

sudo yum -y install python3-pymoc

How To Uninstall python3-pymoc on Fedora 36

To uninstall only the python3-pymoc package we can use the following command:

sudo dnf remove python3-pymoc

python3-pymoc Package Contents on Fedora 36

/usr/bin/pymoctool
/usr/lib/python3.10/site-packages/pymoc
/usr/lib/python3.10/site-packages/pymoc-0.5.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/pymoc/__init__.py
/usr/lib/python3.10/site-packages/pymoc/__pycache__
/usr/lib/python3.10/site-packages/pymoc/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/__pycache__/moc.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/__pycache__/moc.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/io
/usr/lib/python3.10/site-packages/pymoc/io/__init__.py
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__/ascii.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__/ascii.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__/fits.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__/fits.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__/json.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/io/__pycache__/json.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/io/ascii.py
/usr/lib/python3.10/site-packages/pymoc/io/fits.py
/usr/lib/python3.10/site-packages/pymoc/io/json.py
/usr/lib/python3.10/site-packages/pymoc/moc.py
/usr/lib/python3.10/site-packages/pymoc/util
/usr/lib/python3.10/site-packages/pymoc/util/__init__.py
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__/catalog.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__/catalog.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__/plot.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__/plot.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__/tool.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pymoc/util/__pycache__/tool.cpython-310.pyc
/usr/lib/python3.10/site-packages/pymoc/util/catalog.py
/usr/lib/python3.10/site-packages/pymoc/util/plot.py
/usr/lib/python3.10/site-packages/pymoc/util/tool.py
/usr/lib/python3.10/site-packages/pymoc/version.py
/usr/share/doc/python3-pymoc
/usr/share/doc/python3-pymoc/README.rst
/usr/share/licenses/python3-pymoc
/usr/share/licenses/python3-pymoc/COPYING

References

Summary

In this tutorial we learn how to install python3-pymoc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).