How To Install python3-smart_open on Fedora 36

In this tutorial we learn how to install python3-smart_open in Fedora 36. python3-smart_open is Utils for streaming large files (S3, HDFS, gzip, bz2, and more)

Introduction

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

What is python3-smart_open

smart_open is a Python 3 library for efficient streaming of very large files from/to storages such as S3, GCS, Azure Blob Storage, HDFS, WebHDFS, HTTP, HTTPS, SFTP, or local filesystem. It supports transparent, on-the-fly (de-)compression for a variety of different formats. smart_open is a drop-in replacement for Python’s built-in open() anything open can (100% compatible, falls back to native open wherever possible), plus lots of nifty extra stuff on top.

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

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

sudo dnf -y install python3-smart_open

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

sudo yum -y install python3-smart_open

How To Uninstall python3-smart_open on Fedora 36

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

sudo dnf remove python3-smart_open

python3-smart_open Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/smart_open
/usr/lib/python3.10/site-packages/smart_open-5.2.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/smart_open-5.2.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/smart_open-5.2.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/smart_open-5.2.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/smart_open-5.2.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/smart_open-5.2.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/smart_open/__init__.py
/usr/lib/python3.10/site-packages/smart_open/__pycache__
/usr/lib/python3.10/site-packages/smart_open/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/azure.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/azure.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/bytebuffer.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/bytebuffer.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/compression.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/compression.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/concurrency.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/concurrency.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/constants.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/constants.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/doctools.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/doctools.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/gcs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/gcs.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/hdfs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/hdfs.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/http.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/http.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/local_file.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/local_file.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/s3.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/s3.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/smart_open_lib.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/smart_open_lib.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/ssh.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/ssh.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/transport.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/transport.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/webhdfs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/smart_open/__pycache__/webhdfs.cpython-310.pyc
/usr/lib/python3.10/site-packages/smart_open/azure.py
/usr/lib/python3.10/site-packages/smart_open/bytebuffer.py
/usr/lib/python3.10/site-packages/smart_open/compression.py
/usr/lib/python3.10/site-packages/smart_open/concurrency.py
/usr/lib/python3.10/site-packages/smart_open/constants.py
/usr/lib/python3.10/site-packages/smart_open/doctools.py
/usr/lib/python3.10/site-packages/smart_open/gcs.py
/usr/lib/python3.10/site-packages/smart_open/hdfs.py
/usr/lib/python3.10/site-packages/smart_open/http.py
/usr/lib/python3.10/site-packages/smart_open/local_file.py
/usr/lib/python3.10/site-packages/smart_open/s3.py
/usr/lib/python3.10/site-packages/smart_open/smart_open_lib.py
/usr/lib/python3.10/site-packages/smart_open/ssh.py
/usr/lib/python3.10/site-packages/smart_open/transport.py
/usr/lib/python3.10/site-packages/smart_open/utils.py
/usr/lib/python3.10/site-packages/smart_open/version.py
/usr/lib/python3.10/site-packages/smart_open/webhdfs.py
/usr/share/doc/python3-smart_open
/usr/share/doc/python3-smart_open/README.rst
/usr/share/licenses/python3-smart_open
/usr/share/licenses/python3-smart_open/LICENSE

References

Summary

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