How To Install python3-nbclient on Fedora 36

In this tutorial we learn how to install python3-nbclient in Fedora 36. python3-nbclient is A client library for executing notebooks

Introduction

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

What is python3-nbclient

NBClient, a client library for programmatic notebook execution, is a tool for running Jupyter Notebooks in different execution contexts. NBClient was spun out of nbconvert (formerly ExecutePreprocessor). NBClient lets you execute notebooks.

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

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

sudo dnf -y install python3-nbclient

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

sudo yum -y install python3-nbclient

How To Uninstall python3-nbclient on Fedora 36

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

sudo dnf remove python3-nbclient

python3-nbclient Package Contents on Fedora 36

/usr/bin/jupyter-execute
/usr/lib/python3.10/site-packages/nbclient
/usr/lib/python3.10/site-packages/nbclient-0.5.10-py3.10.egg-info
/usr/lib/python3.10/site-packages/nbclient-0.5.10-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/nbclient-0.5.10-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/nbclient-0.5.10-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/nbclient-0.5.10-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/nbclient-0.5.10-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/nbclient-0.5.10-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/nbclient/__init__.py
/usr/lib/python3.10/site-packages/nbclient/__pycache__
/usr/lib/python3.10/site-packages/nbclient/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/client.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/jsonutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/jsonutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/output_widget.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/output_widget.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/_version.py
/usr/lib/python3.10/site-packages/nbclient/cli.py
/usr/lib/python3.10/site-packages/nbclient/client.py
/usr/lib/python3.10/site-packages/nbclient/exceptions.py
/usr/lib/python3.10/site-packages/nbclient/jsonutil.py
/usr/lib/python3.10/site-packages/nbclient/output_widget.py
/usr/lib/python3.10/site-packages/nbclient/tests
/usr/lib/python3.10/site-packages/nbclient/tests/__init__.py
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/conftest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/conftest.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/fake_kernelmanager.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/fake_kernelmanager.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/test_client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/test_client.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/__pycache__/util.cpython-310.pyc
/usr/lib/python3.10/site-packages/nbclient/tests/base.py
/usr/lib/python3.10/site-packages/nbclient/tests/conftest.py
/usr/lib/python3.10/site-packages/nbclient/tests/fake_kernelmanager.py
/usr/lib/python3.10/site-packages/nbclient/tests/files
/usr/lib/python3.10/site-packages/nbclient/tests/files/Autokill.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Check History in Memory.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Clear Output.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Disable Stdin.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Empty Cell.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Error.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Factorials.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/HelloWorld.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Inline Image.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Interrupt.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/JupyterWidgets.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Other Comms.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Output.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Parallel Execute A.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Parallel Execute B.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/SVG.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Skip Exceptions with Cell Tags.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Skip Exceptions.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Skip Execution with Cell Tag.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Sleep1s.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/Unicode.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/UnicodePy3.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/files/python.png
/usr/lib/python3.10/site-packages/nbclient/tests/files/update-display-id.ipynb
/usr/lib/python3.10/site-packages/nbclient/tests/test_client.py
/usr/lib/python3.10/site-packages/nbclient/tests/util.py
/usr/lib/python3.10/site-packages/nbclient/util.py
/usr/share/doc/python3-nbclient
/usr/share/doc/python3-nbclient/README.md
/usr/share/licenses/python3-nbclient
/usr/share/licenses/python3-nbclient/LICENSE

References

Summary

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