How To Install python3-xlrd on Rocky Linux 8

In this tutorial we learn how to install python3-xlrd on Rocky Linux 8. python3-xlrd is Library to extract data from Microsoft Excel (TM) spreadsheet files

Introduction

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

What is python3-xlrd

Extract data from Excel spreadsheets (.xls and .xlsx, versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). Strong support for Excel dates. Unicode-aware.

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

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

sudo dnf -y install python3-xlrd

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

sudo yum -y install python3-xlrd

How To Uninstall python3-xlrd on Rocky Linux 8

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

sudo dnf remove python3-xlrd

python3-xlrd Package Contents on Rocky Linux 8

/usr/bin/runxlrd
/usr/lib/python3.6/site-packages/xlrd
/usr/lib/python3.6/site-packages/xlrd-1.2.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/xlrd-1.2.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/xlrd-1.2.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/xlrd-1.2.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/xlrd-1.2.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/xlrd/__init__.py
/usr/lib/python3.6/site-packages/xlrd/__pycache__
/usr/lib/python3.6/site-packages/xlrd/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/biffh.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/biffh.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/book.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/book.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/compdoc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/compdoc.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/formatting.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/formatting.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/formula.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/formula.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/info.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/info.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/sheet.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/sheet.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/timemachine.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/timemachine.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/xldate.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/xldate.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/xlsx.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlrd/__pycache__/xlsx.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlrd/biffh.py
/usr/lib/python3.6/site-packages/xlrd/book.py
/usr/lib/python3.6/site-packages/xlrd/compdoc.py
/usr/lib/python3.6/site-packages/xlrd/formatting.py
/usr/lib/python3.6/site-packages/xlrd/formula.py
/usr/lib/python3.6/site-packages/xlrd/info.py
/usr/lib/python3.6/site-packages/xlrd/sheet.py
/usr/lib/python3.6/site-packages/xlrd/timemachine.py
/usr/lib/python3.6/site-packages/xlrd/xldate.py
/usr/lib/python3.6/site-packages/xlrd/xlsx.py
/usr/share/doc/python3-xlrd
/usr/share/doc/python3-xlrd/Makefile
/usr/share/doc/python3-xlrd/README.md
/usr/share/doc/python3-xlrd/acknowledgements.rst
/usr/share/doc/python3-xlrd/api.rst
/usr/share/doc/python3-xlrd/changes.rst
/usr/share/doc/python3-xlrd/conf.py
/usr/share/doc/python3-xlrd/dates.rst
/usr/share/doc/python3-xlrd/development.rst
/usr/share/doc/python3-xlrd/examples
/usr/share/doc/python3-xlrd/examples/namesdemo.xls
/usr/share/doc/python3-xlrd/examples/xlrdnameAPIdemo.py
/usr/share/doc/python3-xlrd/formatting.rst
/usr/share/doc/python3-xlrd/index.rst
/usr/share/doc/python3-xlrd/installation.rst
/usr/share/doc/python3-xlrd/licenses.rst
/usr/share/doc/python3-xlrd/make.bat
/usr/share/doc/python3-xlrd/on_demand.rst
/usr/share/doc/python3-xlrd/references.rst
/usr/share/doc/python3-xlrd/unicode.rst
/usr/share/doc/python3-xlrd/vulnerabilities.rst
/usr/share/licenses/python3-xlrd
/usr/share/licenses/python3-xlrd/LICENSE

References

Summary

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