How To Install python3-oletools on Rocky Linux 8

In this tutorial we learn how to install python3-oletools on Rocky Linux 8. python3-oletools is Tools to analyze Microsoft OLE2 files

Introduction

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

What is python3-oletools

The python-oletools is a package of python tools from Philippe Lagadec to analyze Microsoft OLE2 files (also called Structured Storage, Compound File Binary Format or Compound Document File Format), such as Microsoft Office documents or Outlook messages, mainly for malware analysis, forensics and debugging. It is based on the olefile parser. See http Python3 version.

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

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

sudo dnf -y install python3-oletools

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

sudo yum -y install python3-oletools

How To Uninstall python3-oletools on Rocky Linux 8

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

sudo dnf remove python3-oletools

python3-oletools Package Contents on Rocky Linux 8

/usr/bin/ezhexviewer
/usr/bin/ezhexviewer-3
/usr/bin/ezhexviewer-3.6
/usr/bin/mraptor
/usr/bin/mraptor-3
/usr/bin/mraptor-3.6
/usr/bin/msodde
/usr/bin/msodde-3
/usr/bin/msodde-3.6
/usr/bin/olebrowse
/usr/bin/olebrowse-3
/usr/bin/olebrowse-3.6
/usr/bin/oledir
/usr/bin/oledir-3
/usr/bin/oledir-3.6
/usr/bin/olefile
/usr/bin/olefile-3
/usr/bin/olefile-3.6
/usr/bin/oleid
/usr/bin/oleid-3
/usr/bin/oleid-3.6
/usr/bin/olemap
/usr/bin/olemap-3
/usr/bin/olemap-3.6
/usr/bin/olemeta
/usr/bin/olemeta-3
/usr/bin/olemeta-3.6
/usr/bin/oleobj
/usr/bin/oleobj-3
/usr/bin/oleobj-3.6
/usr/bin/oletimes
/usr/bin/oletimes-3
/usr/bin/oletimes-3.6
/usr/bin/olevba
/usr/bin/olevba-3
/usr/bin/olevba-3.6
/usr/bin/pyxswf
/usr/bin/pyxswf-3
/usr/bin/pyxswf-3.6
/usr/bin/rtfobj
/usr/bin/rtfobj-3
/usr/bin/rtfobj-3.6
/usr/lib/python3.6/site-packages/oletools
/usr/lib/python3.6/site-packages/oletools-0.56.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/oletools-0.56.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/oletools-0.56.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/oletools-0.56.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/oletools-0.56.2-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/oletools-0.56.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/oletools-0.56.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/oletools/__init__.py
/usr/lib/python3.6/site-packages/oletools/__pycache__
/usr/lib/python3.6/site-packages/oletools/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/crypto.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/crypto.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/ezhexviewer.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/ezhexviewer.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/mraptor.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/mraptor.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/mraptor3.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/mraptor3.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/mraptor_milter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/mraptor_milter.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/msodde.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/msodde.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olebrowse.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olebrowse.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oledir.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oledir.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oleform.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oleform.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oleid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oleid.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olemap.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olemap.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olemeta.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olemeta.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oleobj.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oleobj.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oletimes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/oletimes.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olevba.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olevba.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olevba3.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/olevba3.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/ooxml.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/ooxml.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/ppt_parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/ppt_parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/ppt_record_parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/ppt_record_parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/pyxswf.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/pyxswf.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/record_base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/record_base.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/rtfobj.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/rtfobj.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/xls_parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/__pycache__/xls_parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common
/usr/lib/python3.6/site-packages/oletools/common/__init__.py
/usr/lib/python3.6/site-packages/oletools/common/__pycache__
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/clsid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/clsid.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/codepages.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/codepages.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/errors.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/errors.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/io_encoding.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/__pycache__/io_encoding.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/clsid.py
/usr/lib/python3.6/site-packages/oletools/common/codepages.py
/usr/lib/python3.6/site-packages/oletools/common/errors.py
/usr/lib/python3.6/site-packages/oletools/common/io_encoding.py
/usr/lib/python3.6/site-packages/oletools/common/log_helper
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__init__.py
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/_json_formatter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/_json_formatter.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/_logger_adapter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/_logger_adapter.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/_root_logger_wrapper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/_root_logger_wrapper.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/log_helper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/__pycache__/log_helper.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/common/log_helper/_json_formatter.py
/usr/lib/python3.6/site-packages/oletools/common/log_helper/_logger_adapter.py
/usr/lib/python3.6/site-packages/oletools/common/log_helper/_root_logger_wrapper.py
/usr/lib/python3.6/site-packages/oletools/common/log_helper/log_helper.py
/usr/lib/python3.6/site-packages/oletools/crypto.py
/usr/lib/python3.6/site-packages/oletools/ezhexviewer.py
/usr/lib/python3.6/site-packages/oletools/mraptor.py
/usr/lib/python3.6/site-packages/oletools/mraptor3.py
/usr/lib/python3.6/site-packages/oletools/mraptor_milter.py
/usr/lib/python3.6/site-packages/oletools/msodde.py
/usr/lib/python3.6/site-packages/oletools/olebrowse.py
/usr/lib/python3.6/site-packages/oletools/oledir.py
/usr/lib/python3.6/site-packages/oletools/oleform.py
/usr/lib/python3.6/site-packages/oletools/oleid.py
/usr/lib/python3.6/site-packages/oletools/olemap.py
/usr/lib/python3.6/site-packages/oletools/olemeta.py
/usr/lib/python3.6/site-packages/oletools/oleobj.py
/usr/lib/python3.6/site-packages/oletools/oletimes.py
/usr/lib/python3.6/site-packages/oletools/olevba.py
/usr/lib/python3.6/site-packages/oletools/olevba3.py
/usr/lib/python3.6/site-packages/oletools/ooxml.py
/usr/lib/python3.6/site-packages/oletools/ppt_parser.py
/usr/lib/python3.6/site-packages/oletools/ppt_record_parser.py
/usr/lib/python3.6/site-packages/oletools/pyxswf.py
/usr/lib/python3.6/site-packages/oletools/record_base.py
/usr/lib/python3.6/site-packages/oletools/rtfobj.py
/usr/lib/python3.6/site-packages/oletools/thirdparty
/usr/lib/python3.6/site-packages/oletools/thirdparty/__init__.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/__pycache__
/usr/lib/python3.6/site-packages/oletools/thirdparty/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/__init__.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/__pycache__
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/__pycache__/oledump_extract.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/__pycache__/oledump_extract.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/__pycache__/plugin_biff.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/__pycache__/plugin_biff.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/oledump_extract.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/oledump/plugin_biff.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/tablestream
/usr/lib/python3.6/site-packages/oletools/thirdparty/tablestream/__init__.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/tablestream/__pycache__
/usr/lib/python3.6/site-packages/oletools/thirdparty/tablestream/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/tablestream/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/tablestream/__pycache__/tablestream.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/tablestream/__pycache__/tablestream.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/tablestream/tablestream.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/xglob
/usr/lib/python3.6/site-packages/oletools/thirdparty/xglob/__init__.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/xglob/__pycache__
/usr/lib/python3.6/site-packages/oletools/thirdparty/xglob/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/xglob/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/xglob/__pycache__/xglob.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/xglob/__pycache__/xglob.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/xglob/xglob.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/xxxswf
/usr/lib/python3.6/site-packages/oletools/thirdparty/xxxswf/__init__.py
/usr/lib/python3.6/site-packages/oletools/thirdparty/xxxswf/__pycache__
/usr/lib/python3.6/site-packages/oletools/thirdparty/xxxswf/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/xxxswf/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/xxxswf/__pycache__/xxxswf.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/xxxswf/__pycache__/xxxswf.cpython-36.pyc
/usr/lib/python3.6/site-packages/oletools/thirdparty/xxxswf/xxxswf.py
/usr/lib/python3.6/site-packages/oletools/xls_parser.py
/usr/share/doc/python3-oletools
/usr/share/doc/python3-oletools/README.md
/usr/share/licenses/python3-oletools
/usr/share/licenses/python3-oletools/LICENSE.txt
/usr/share/licenses/python3-oletools/xglob-LICENSE.txt
/usr/share/licenses/python3-oletools/xxxswf-LICENSE.txt

References

Summary

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