How To Install python-smbc.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install python-smbc.x86_64
on Amazon Linux 2.
What is python-smbc.x86_64
This package provides Python 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
to install python-smbc.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-smbc.x86_64.
Install python-smbc.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python-smbc.x86_64
using yum
by running the following command:
sudo yum -y install python-smbc.x86_64
How To Uninstall python-smbc.x86_64 on Amazon Linux 2
To uninstall only the python-smbc.x86_64
package we can use the following command:
sudo yum remove python-smbc.x86_64
python-smbc.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/pysmbc-1.0.13-py2.7.egg-info
/usr/lib64/python2.7/site-packages/smbc.so
/usr/share/doc/python-smbc-1.0.13
/usr/share/doc/python-smbc-1.0.13/COPYING
/usr/share/doc/python-smbc-1.0.13/NEWS
/usr/share/doc/python-smbc-1.0.13/README
References
Summary
In this tutorial we learn how to install python-smbc.x86_64
on Amazon Linux 2 using yum.