How To Install python3-numpy-f2py on Rocky Linux 8

In this tutorial we learn how to install python3-numpy-f2py on Rocky Linux 8. python3-numpy-f2py is f2py for numpy

Introduction

In this tutorial we learn how to install python3-numpy-f2py on Rocky Linux 8.

What is python3-numpy-f2py

This package includes a version of f2py that works properly with NumPy.

We can use yum or dnf to install python3-numpy-f2py on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-numpy-f2py.

Install python3-numpy-f2py 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-numpy-f2py using dnf by running the following command:

sudo dnf -y install python3-numpy-f2py

Install python3-numpy-f2py 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-numpy-f2py using yum by running the following command:

sudo yum -y install python3-numpy-f2py

How To Uninstall python3-numpy-f2py on Rocky Linux 8

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

sudo dnf remove python3-numpy-f2py

python3-numpy-f2py Package Contents on Rocky Linux 8

/usr/bin/f2py3
/usr/bin/f2py3.6
/usr/lib64/python3.6/site-packages/numpy/f2py
/usr/lib64/python3.6/site-packages/numpy/f2py/__init__.py
/usr/lib64/python3.6/site-packages/numpy/f2py/__main__.py
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/__main__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/__version__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/__version__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/auxfuncs.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/auxfuncs.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/capi_maps.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/capi_maps.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/cb_rules.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/cb_rules.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/cfuncs.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/cfuncs.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/common_rules.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/common_rules.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/crackfortran.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/crackfortran.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/diagnose.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/diagnose.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/f2py2e.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/f2py2e.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/f2py_testing.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/f2py_testing.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/f90mod_rules.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/f90mod_rules.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/func2subr.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/func2subr.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/info.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/info.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/rules.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/rules.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/setup.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/setup.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/use_rules.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__pycache__/use_rules.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/__version__.py
/usr/lib64/python3.6/site-packages/numpy/f2py/auxfuncs.py
/usr/lib64/python3.6/site-packages/numpy/f2py/capi_maps.py
/usr/lib64/python3.6/site-packages/numpy/f2py/cb_rules.py
/usr/lib64/python3.6/site-packages/numpy/f2py/cfuncs.py
/usr/lib64/python3.6/site-packages/numpy/f2py/common_rules.py
/usr/lib64/python3.6/site-packages/numpy/f2py/crackfortran.py
/usr/lib64/python3.6/site-packages/numpy/f2py/diagnose.py
/usr/lib64/python3.6/site-packages/numpy/f2py/f2py2e.py
/usr/lib64/python3.6/site-packages/numpy/f2py/f2py_testing.py
/usr/lib64/python3.6/site-packages/numpy/f2py/f90mod_rules.py
/usr/lib64/python3.6/site-packages/numpy/f2py/func2subr.py
/usr/lib64/python3.6/site-packages/numpy/f2py/info.py
/usr/lib64/python3.6/site-packages/numpy/f2py/rules.py
/usr/lib64/python3.6/site-packages/numpy/f2py/setup.py
/usr/lib64/python3.6/site-packages/numpy/f2py/src
/usr/lib64/python3.6/site-packages/numpy/f2py/src/fortranobject.c
/usr/lib64/python3.6/site-packages/numpy/f2py/src/fortranobject.h
/usr/lib64/python3.6/site-packages/numpy/f2py/tests
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__init__.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_array_from_pyobj.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_array_from_pyobj.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_assumed_shape.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_assumed_shape.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_block_docstring.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_block_docstring.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_callback.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_callback.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_common.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_common.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_kind.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_kind.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_mixed.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_mixed.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_parameter.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_parameter.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_regression.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_regression.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_character.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_character.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_complex.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_complex.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_integer.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_integer.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_logical.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_logical.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_real.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_return_real.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_size.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_size.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_string.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/test_string.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/__pycache__/util.cpython-36.pyc
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/array_from_pyobj
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/assumed_shape
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/assumed_shape/foo_free.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/assumed_shape/foo_mod.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/assumed_shape/foo_use.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/assumed_shape/precision.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/common
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/common/block.f
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/kind
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/kind/foo.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/mixed
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/mixed/foo.f
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/mixed/foo_fixed.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/mixed/foo_free.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/parameter
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/parameter/constant_both.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/parameter/constant_compound.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/parameter/constant_integer.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/parameter/constant_non_compound.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/parameter/constant_real.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/regression
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/regression/inout.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/size
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/size/foo.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/string
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/src/string/char.f90
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_array_from_pyobj.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_assumed_shape.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_block_docstring.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_callback.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_common.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_kind.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_mixed.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_parameter.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_regression.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_return_character.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_return_complex.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_return_integer.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_return_logical.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_return_real.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_size.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/test_string.py
/usr/lib64/python3.6/site-packages/numpy/f2py/tests/util.py
/usr/lib64/python3.6/site-packages/numpy/f2py/use_rules.py

References

Summary

In this tutorial we learn how to install python3-numpy-f2py on Rocky Linux 8 using yum and dnf.