How To Install python3-olefile on Rocky Linux 8

In this tutorial we learn how to install python3-olefile on Rocky Linux 8. python3-olefile is Python package to parse, read and write Microsoft OLE2 files

Introduction

In this tutorial we learn how to install python3-olefile on Rocky Linux 8.

What is python3-olefile

olefile is a Python package to parse, read and write Microsoft OLE2 files (also called Structured Storage, Compound File Binary Format or Compound Document File Format), such as Microsoft Office 97-2003 documents, vbaProject.bin in MS Office 2007+ files, Image Composer and FlashPix files, Outlook messages, StickyNotes, several Microscopy file formats, McAfee antivirus quarantine files, etc. Python3 version.

We can use yum or dnf to install python3-olefile on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-olefile.

Install python3-olefile on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-olefile using dnf by running the following command:

sudo dnf -y install python3-olefile

Install python3-olefile on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-olefile using yum by running the following command:

sudo yum -y install python3-olefile

How To Uninstall python3-olefile on Rocky Linux 8

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

sudo dnf remove python3-olefile

python3-olefile Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/olefile
/usr/lib/python3.6/site-packages/olefile-0.46-py3.6.egg-info
/usr/lib/python3.6/site-packages/olefile-0.46-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/olefile-0.46-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/olefile-0.46-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/olefile-0.46-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/olefile/__init__.py
/usr/lib/python3.6/site-packages/olefile/__pycache__
/usr/lib/python3.6/site-packages/olefile/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/olefile/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/olefile/__pycache__/olefile.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/olefile/__pycache__/olefile.cpython-36.pyc
/usr/lib/python3.6/site-packages/olefile/olefile.py
/usr/share/doc/python3-olefile
/usr/share/doc/python3-olefile/README.md
/usr/share/doc/python3-olefile/html
/usr/share/doc/python3-olefile/html/.buildinfo
/usr/share/doc/python3-olefile/html/Contribute.html
/usr/share/doc/python3-olefile/html/FAQ.html
/usr/share/doc/python3-olefile/html/Features.html
/usr/share/doc/python3-olefile/html/History.html
/usr/share/doc/python3-olefile/html/Howto.html
/usr/share/doc/python3-olefile/html/Install.html
/usr/share/doc/python3-olefile/html/License.html
/usr/share/doc/python3-olefile/html/OLE_Overview.html
/usr/share/doc/python3-olefile/html/_images
/usr/share/doc/python3-olefile/html/_images/OLE_VBA_sample.png
/usr/share/doc/python3-olefile/html/_sources
/usr/share/doc/python3-olefile/html/_sources/Contribute.rst.txt
/usr/share/doc/python3-olefile/html/_sources/FAQ.rst.txt
/usr/share/doc/python3-olefile/html/_sources/Features.rst.txt
/usr/share/doc/python3-olefile/html/_sources/History.rst.txt
/usr/share/doc/python3-olefile/html/_sources/Howto.rst.txt
/usr/share/doc/python3-olefile/html/_sources/Install.rst.txt
/usr/share/doc/python3-olefile/html/_sources/License.rst.txt
/usr/share/doc/python3-olefile/html/_sources/OLE_Overview.rst.txt
/usr/share/doc/python3-olefile/html/_sources/index.rst.txt
/usr/share/doc/python3-olefile/html/_sources/olefile.rst.txt
/usr/share/doc/python3-olefile/html/_static
/usr/share/doc/python3-olefile/html/_static/ajax-loader.gif
/usr/share/doc/python3-olefile/html/_static/basic.css
/usr/share/doc/python3-olefile/html/_static/comment-bright.png
/usr/share/doc/python3-olefile/html/_static/comment-close.png
/usr/share/doc/python3-olefile/html/_static/comment.png
/usr/share/doc/python3-olefile/html/_static/css
/usr/share/doc/python3-olefile/html/_static/css/badge_only.css
/usr/share/doc/python3-olefile/html/_static/css/theme.css
/usr/share/doc/python3-olefile/html/_static/doctools.js
/usr/share/doc/python3-olefile/html/_static/documentation_options.js
/usr/share/doc/python3-olefile/html/_static/down-pressed.png
/usr/share/doc/python3-olefile/html/_static/down.png
/usr/share/doc/python3-olefile/html/_static/file.png
/usr/share/doc/python3-olefile/html/_static/fonts
/usr/share/doc/python3-olefile/html/_static/fonts/Inconsolata-Bold.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/Inconsolata-Regular.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/Lato-Bold.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/Lato-BoldItalic.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/Lato-Italic.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/Lato-Regular.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/RobotoSlab-Bold.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/RobotoSlab-Regular.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/fontawesome-webfont.eot
/usr/share/doc/python3-olefile/html/_static/fonts/fontawesome-webfont.svg
/usr/share/doc/python3-olefile/html/_static/fonts/fontawesome-webfont.ttf
/usr/share/doc/python3-olefile/html/_static/fonts/fontawesome-webfont.woff
/usr/share/doc/python3-olefile/html/_static/fonts/fontawesome-webfont.woff2
/usr/share/doc/python3-olefile/html/_static/jquery-3.2.1.js
/usr/share/doc/python3-olefile/html/_static/jquery.js
/usr/share/doc/python3-olefile/html/_static/js
/usr/share/doc/python3-olefile/html/_static/js/modernizr.min.js
/usr/share/doc/python3-olefile/html/_static/js/theme.js
/usr/share/doc/python3-olefile/html/_static/minus.png
/usr/share/doc/python3-olefile/html/_static/plus.png
/usr/share/doc/python3-olefile/html/_static/pygments.css
/usr/share/doc/python3-olefile/html/_static/searchtools.js
/usr/share/doc/python3-olefile/html/_static/underscore-1.3.1.js
/usr/share/doc/python3-olefile/html/_static/underscore.js
/usr/share/doc/python3-olefile/html/_static/up-pressed.png
/usr/share/doc/python3-olefile/html/_static/up.png
/usr/share/doc/python3-olefile/html/_static/websupport.js
/usr/share/doc/python3-olefile/html/genindex.html
/usr/share/doc/python3-olefile/html/index.html
/usr/share/doc/python3-olefile/html/objects.inv
/usr/share/doc/python3-olefile/html/olefile.html
/usr/share/doc/python3-olefile/html/py-modindex.html
/usr/share/doc/python3-olefile/html/search.html
/usr/share/doc/python3-olefile/html/searchindex.js
/usr/share/licenses/python3-olefile
/usr/share/licenses/python3-olefile/License.rst

References

Summary

In this tutorial we learn how to install python3-olefile on Rocky Linux 8 using yum and dnf.