How To Install python3-xlsxwriter on Rocky Linux 8

In this tutorial we learn how to install python3-xlsxwriter on Rocky Linux 8. python3-xlsxwriter is Python 3 modules for writing files in the Excel 2007+ XLSX file format

Introduction

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

What is python3-xlsxwriter

XlsxWriter is a Python module for writing files in the Excel 2007+ XLSX file format. XlsxWriter can be used to write text, numbers, formulas and hyperlinks to multiple worksheets and it supports features such as formatting and many more, including 100% compatible Excel XLSX files. Full formatting. Merged cells. Defined names. Charts. Autofilters. Data validation and drop down lists. Conditional formatting. Worksheet PNG/JPEG images. Rich multi-format strings. Cell comments. Integration with Pandas. Textboxes. Memory optimization mode for writing large files. It supports Python 2.7, 3.4+, Jython and PyPy and uses standard libraries only.

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

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

sudo dnf -y install python3-xlsxwriter

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

sudo yum -y install python3-xlsxwriter

How To Uninstall python3-xlsxwriter on Rocky Linux 8

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

sudo dnf remove python3-xlsxwriter

python3-xlsxwriter Package Contents on Rocky Linux 8

/usr/bin/vba_extract.py
/usr/lib/python3.6/site-packages/XlsxWriter-1.3.7-py3.6.egg-info
/usr/lib/python3.6/site-packages/XlsxWriter-1.3.7-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/XlsxWriter-1.3.7-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/XlsxWriter-1.3.7-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/XlsxWriter-1.3.7-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/xlsxwriter
/usr/lib/python3.6/site-packages/xlsxwriter/__init__.py
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/app.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/app.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_area.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_area.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_bar.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_bar.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_column.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_column.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_doughnut.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_doughnut.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_line.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_line.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_pie.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_pie.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_radar.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_radar.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_scatter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_scatter.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_stock.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chart_stock.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chartsheet.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/chartsheet.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/comments.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/comments.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/compatibility.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/compatibility.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/contenttypes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/contenttypes.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/custom.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/custom.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/drawing.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/drawing.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/format.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/format.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/packager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/packager.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/relationships.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/relationships.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/shape.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/shape.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/sharedstrings.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/sharedstrings.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/styles.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/styles.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/table.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/table.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/theme.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/theme.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/utility.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/utility.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/vml.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/vml.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/workbook.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/workbook.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/worksheet.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/worksheet.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/xmlwriter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/__pycache__/xmlwriter.cpython-36.pyc
/usr/lib/python3.6/site-packages/xlsxwriter/app.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_area.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_bar.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_column.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_doughnut.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_line.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_pie.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_radar.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_scatter.py
/usr/lib/python3.6/site-packages/xlsxwriter/chart_stock.py
/usr/lib/python3.6/site-packages/xlsxwriter/chartsheet.py
/usr/lib/python3.6/site-packages/xlsxwriter/comments.py
/usr/lib/python3.6/site-packages/xlsxwriter/compatibility.py
/usr/lib/python3.6/site-packages/xlsxwriter/contenttypes.py
/usr/lib/python3.6/site-packages/xlsxwriter/core.py
/usr/lib/python3.6/site-packages/xlsxwriter/custom.py
/usr/lib/python3.6/site-packages/xlsxwriter/drawing.py
/usr/lib/python3.6/site-packages/xlsxwriter/exceptions.py
/usr/lib/python3.6/site-packages/xlsxwriter/format.py
/usr/lib/python3.6/site-packages/xlsxwriter/packager.py
/usr/lib/python3.6/site-packages/xlsxwriter/relationships.py
/usr/lib/python3.6/site-packages/xlsxwriter/shape.py
/usr/lib/python3.6/site-packages/xlsxwriter/sharedstrings.py
/usr/lib/python3.6/site-packages/xlsxwriter/styles.py
/usr/lib/python3.6/site-packages/xlsxwriter/table.py
/usr/lib/python3.6/site-packages/xlsxwriter/theme.py
/usr/lib/python3.6/site-packages/xlsxwriter/utility.py
/usr/lib/python3.6/site-packages/xlsxwriter/vml.py
/usr/lib/python3.6/site-packages/xlsxwriter/workbook.py
/usr/lib/python3.6/site-packages/xlsxwriter/worksheet.py
/usr/lib/python3.6/site-packages/xlsxwriter/xmlwriter.py
/usr/share/doc/python3-xlsxwriter
/usr/share/doc/python3-xlsxwriter/README.rst
/usr/share/licenses/python3-xlsxwriter
/usr/share/licenses/python3-xlsxwriter/LICENSE.txt

References

Summary

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