How To Install python3-smbc on Fedora 36

In this tutorial we learn how to install python3-smbc in Fedora 36. python3-smbc is Python3 bindings for libsmbclient API from Samba

Introduction

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

What is python3-smbc

This package provides Python 3 bindings for the libsmbclient API from Samba, known as pysmbc. It was written for use with system-config-printer, but can be put to other uses as well.

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

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

sudo dnf -y install python3-smbc

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

sudo yum -y install python3-smbc

How To Uninstall python3-smbc on Fedora 36

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

sudo dnf remove python3-smbc

python3-smbc Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/9466a1b2f53ef9bcd7b0aca03558a0d1d4c9a7
/usr/lib64/python3.10/site-packages/_smbc.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/pysmbc-1.0.23-py3.10.egg-info
/usr/lib64/python3.10/site-packages/pysmbc-1.0.23-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/pysmbc-1.0.23-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/pysmbc-1.0.23-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/pysmbc-1.0.23-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/smbc
/usr/lib64/python3.10/site-packages/smbc/__init__.py
/usr/lib64/python3.10/site-packages/smbc/__pycache__
/usr/lib64/python3.10/site-packages/smbc/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smbc/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smbc/__pycache__/xattr.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/smbc/__pycache__/xattr.cpython-310.pyc
/usr/lib64/python3.10/site-packages/smbc/xattr.py
/usr/share/doc/python3-smbc
/usr/share/doc/python3-smbc/NEWS
/usr/share/doc/python3-smbc/README.md
/usr/share/licenses/python3-smbc
/usr/share/licenses/python3-smbc/COPYING

References

Summary

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