How To Install python3-jenkins on Fedora 36

In this tutorial we learn how to install python3-jenkins in Fedora 36. python3-jenkins is Python bindings for the remote Jenkins API

Introduction

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

What is python3-jenkins

Python Jenkins is a library for the remote API of the Jenkins continuous integration server. It is useful for creating and managing jobs as well as build nodes.

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

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

sudo dnf -y install python3-jenkins

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

sudo yum -y install python3-jenkins

How To Uninstall python3-jenkins on Fedora 36

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

sudo dnf remove python3-jenkins

python3-jenkins Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/jenkins
/usr/lib/python3.10/site-packages/jenkins/__init__.py
/usr/lib/python3.10/site-packages/jenkins/__pycache__
/usr/lib/python3.10/site-packages/jenkins/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jenkins/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/jenkins/__pycache__/plugins.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jenkins/__pycache__/plugins.cpython-310.pyc
/usr/lib/python3.10/site-packages/jenkins/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/jenkins/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/jenkins/plugins.py
/usr/lib/python3.10/site-packages/jenkins/version.py
/usr/lib/python3.10/site-packages/python_jenkins-1.7.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/python_jenkins-1.7.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/python_jenkins-1.7.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/python_jenkins-1.7.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/python_jenkins-1.7.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/python_jenkins-1.7.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/python_jenkins-1.7.0-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-jenkins
/usr/share/doc/python3-jenkins/README.rst
/usr/share/doc/python3-jenkins/html
/usr/share/doc/python3-jenkins/html/_sources
/usr/share/doc/python3-jenkins/html/_sources/api.rst.txt
/usr/share/doc/python3-jenkins/html/_sources/examples.rst.txt
/usr/share/doc/python3-jenkins/html/_sources/index.rst.txt
/usr/share/doc/python3-jenkins/html/_sources/install.rst.txt
/usr/share/doc/python3-jenkins/html/_static
/usr/share/doc/python3-jenkins/html/_static/basic.css
/usr/share/doc/python3-jenkins/html/_static/classic.css
/usr/share/doc/python3-jenkins/html/_static/default.css
/usr/share/doc/python3-jenkins/html/_static/doctools.js
/usr/share/doc/python3-jenkins/html/_static/documentation_options.js
/usr/share/doc/python3-jenkins/html/_static/file.png
/usr/share/doc/python3-jenkins/html/_static/jquery-3.5.1.js
/usr/share/doc/python3-jenkins/html/_static/jquery.js
/usr/share/doc/python3-jenkins/html/_static/language_data.js
/usr/share/doc/python3-jenkins/html/_static/minus.png
/usr/share/doc/python3-jenkins/html/_static/plus.png
/usr/share/doc/python3-jenkins/html/_static/pygments.css
/usr/share/doc/python3-jenkins/html/_static/searchtools.js
/usr/share/doc/python3-jenkins/html/_static/sidebar.js
/usr/share/doc/python3-jenkins/html/_static/underscore-1.13.1.js
/usr/share/doc/python3-jenkins/html/_static/underscore.js
/usr/share/doc/python3-jenkins/html/api.html
/usr/share/doc/python3-jenkins/html/examples.html
/usr/share/doc/python3-jenkins/html/genindex.html
/usr/share/doc/python3-jenkins/html/index.html
/usr/share/doc/python3-jenkins/html/install.html
/usr/share/doc/python3-jenkins/html/objects.inv
/usr/share/doc/python3-jenkins/html/py-modindex.html
/usr/share/doc/python3-jenkins/html/search.html
/usr/share/doc/python3-jenkins/html/searchindex.js
/usr/share/licenses/python3-jenkins
/usr/share/licenses/python3-jenkins/COPYING
/usr/share/man/man1/pythonjenkins.1.gz

References

Summary

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