How To Install python3-smbpasswd on Fedora 36
Introduction
In this tutorial we learn how to install python3-smbpasswd
on Fedora 36.
What is python3-smbpasswd
This package contains a python module, which is able to generate LANMAN and NT password hashes suitable to us with Samba. This is a ported release for python 3.
We can use yum
or dnf
to install python3-smbpasswd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-smbpasswd.
Install python3-smbpasswd 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-smbpasswd
using dnf
by running the following command:
sudo dnf -y install python3-smbpasswd
Install python3-smbpasswd 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-smbpasswd
using yum
by running the following command:
sudo yum -y install python3-smbpasswd
How To Uninstall python3-smbpasswd on Fedora 36
To uninstall only the python3-smbpasswd
package we can use the following command:
sudo dnf remove python3-smbpasswd
python3-smbpasswd Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/170489c820d3b8bbe5cebec8d70d304bf67a88
/usr/lib64/python3.10/site-packages/smbpasswd-1.0.2-py3.10.egg-info
/usr/lib64/python3.10/site-packages/smbpasswd.cpython-310-x86_64-linux-gnu.so
/usr/share/doc/python3-smbpasswd
/usr/share/doc/python3-smbpasswd/README.txt
/usr/share/licenses/python3-smbpasswd
/usr/share/licenses/python3-smbpasswd/COPYING.txt
References
Summary
In this tutorial we learn how to install python3-smbpasswd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).