How To Install python3-pyverbs on Rocky Linux 8

In this tutorial we learn how to install python3-pyverbs on Rocky Linux 8. python3-pyverbs is Python3 API over IB verbs

Introduction

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

What is python3-pyverbs

Pyverbs is a Cython-based Python API over libibverbs, providing an easy, object-oriented access to IB verbs.

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

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

sudo dnf -y install python3-pyverbs

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

sudo yum -y install python3-pyverbs

How To Uninstall python3-pyverbs on Rocky Linux 8

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

sudo dnf remove python3-pyverbs

python3-pyverbs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/a10e685cad2b01d65453e23b96890c657ee87d
/usr/lib/.build-id/1f/b40d8fa4e09c8146189d384c263c79877500b2
/usr/lib/.build-id/21/6715e10c590a4fd158502301fc1f18ba63a7bd
/usr/lib/.build-id/35
/usr/lib/.build-id/35/1c3bffb20f2e870735163bbf580b846679aa2e
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/deede4b181986655109f0577f005784a2c506a
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/2deeac90713e4a66687c05cec9eb7d16d8b202
/usr/lib/.build-id/5f/ea2cae4996cea5ff2e0d878d6de3320a59337b
/usr/lib/.build-id/65/0c2e83efc664a00389ae2c1ef4b3c8b5a6b8c6
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/e55c77bf349735ed6f788c3e014955fa834b1d
/usr/lib/.build-id/70
/usr/lib/.build-id/70/06b7719f6232df410f87f4f62b2c9cc270dc49
/usr/lib/.build-id/79
/usr/lib/.build-id/79/ad7e3eee99be07366bb213a829d2f6190b8cf3
/usr/lib/.build-id/7a/f3357d19b3f4c5e77a846a703c10a0863d6f67
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/d27a444e7ab3696a71e446c4f1af02bd4122b1
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/dc11d2ac7a3a0198c8e7401496888bd750f52a
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/2bb531a4fb4db59587c1c3cd78a060815be53f
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/5a23b3d21cfdbb4699d9dc68ab8de5b2f77459
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/f9dd10aca1f15fa9097c7665b7c5f5d3eb1e2f
/usr/lib64/python3.6/site-packages/pyverbs
/usr/lib64/python3.6/site-packages/pyverbs/__init__.py
/usr/lib64/python3.6/site-packages/pyverbs/__pycache__
/usr/lib64/python3.6/site-packages/pyverbs/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyverbs/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyverbs/__pycache__/pyverbs_error.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyverbs/__pycache__/pyverbs_error.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyverbs/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyverbs/__pycache__/utils.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyverbs/addr.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/base.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/cm_enums.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/cmid.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/cq.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/device.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/enums.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/mem_alloc.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/mr.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/pd.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/providers
/usr/lib64/python3.6/site-packages/pyverbs/providers/efa
/usr/lib64/python3.6/site-packages/pyverbs/providers/efa/efadv.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/providers/mlx5
/usr/lib64/python3.6/site-packages/pyverbs/providers/mlx5/mlx5_enums.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/providers/mlx5/mlx5dv.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/pyverbs_error.py
/usr/lib64/python3.6/site-packages/pyverbs/qp.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/srq.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/utils.py
/usr/lib64/python3.6/site-packages/pyverbs/wr.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyverbs/xrcd.cpython-36m-x86_64-linux-gnu.so
/usr/share/doc/rdma-core/tests/__init__.py
/usr/share/doc/rdma-core/tests/args_parser.py
/usr/share/doc/rdma-core/tests/base.py
/usr/share/doc/rdma-core/tests/base_rdmacm.py
/usr/share/doc/rdma-core/tests/mlx5_base.py
/usr/share/doc/rdma-core/tests/rdmacm_utils.py
/usr/share/doc/rdma-core/tests/run_tests.py
/usr/share/doc/rdma-core/tests/test_addr.py
/usr/share/doc/rdma-core/tests/test_cq.py
/usr/share/doc/rdma-core/tests/test_cq_events.py
/usr/share/doc/rdma-core/tests/test_cqex.py
/usr/share/doc/rdma-core/tests/test_device.py
/usr/share/doc/rdma-core/tests/test_efadv.py
/usr/share/doc/rdma-core/tests/test_mlx5_cq.py
/usr/share/doc/rdma-core/tests/test_mlx5_dc.py
/usr/share/doc/rdma-core/tests/test_mlx5_lag_affinity.py
/usr/share/doc/rdma-core/tests/test_mlx5_pp.py
/usr/share/doc/rdma-core/tests/test_mlx5_uar.py
/usr/share/doc/rdma-core/tests/test_mlx5_var.py
/usr/share/doc/rdma-core/tests/test_mr.py
/usr/share/doc/rdma-core/tests/test_odp.py
/usr/share/doc/rdma-core/tests/test_parent_domain.py
/usr/share/doc/rdma-core/tests/test_pd.py
/usr/share/doc/rdma-core/tests/test_qp.py
/usr/share/doc/rdma-core/tests/test_qpex.py
/usr/share/doc/rdma-core/tests/test_rdmacm.py
/usr/share/doc/rdma-core/tests/test_relaxed_ordering.py
/usr/share/doc/rdma-core/tests/test_shared_pd.py
/usr/share/doc/rdma-core/tests/utils.py

References

Summary

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