xlsx2csv command not found

In this troubleshooting guide we learn how to fix xlsx2csv command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xlsx2csv: command not found

or when using sudo you get the following error message

sudo: xlsx2csv: command not found

Solutions to xlsx2csv: command not found

How To Fix xlsx2csv: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xlsx2csv is provided by xlsx2csv package.

xlsx2csv is:

xlsx files are zip archives where spreadsheet data is stored. In order to process a file, various bits inside the archive need to be located. This utility uses the Expat SAX parser to collect the strings into a simple dictionary, keyed by their relative position in the XML file. This makes it possible to process files of any size.

To fix this problem, we can install more using the command below.

sudo apt-get -y install xlsx2csv

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xlsx2csv.

sudo apt -y install xlsx2csv

Or if you have aptitude installed you can use the following command.

sudo aptitude install xlsx2csv

Summary

In this tutorial we learn how to fix xlsx2csv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.