csvSelect command not found

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

Introduction

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

csvSelect: command not found

or when using sudo you get the following error message

sudo: csvSelect: command not found

Solutions to csvSelect: command not found

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

In Ubuntu csvSelect is provided by haskell-lazy-csv-utils package.

haskell-lazy-csv-utils is:

The CSV format is defined by RFC 4180. These efficient lazy parsers (String and ByteString variants) can report all CSV formatting errors, whilst also returning all the valid data, so the user can choose whether to continue, to show warnings, or to halt on error. Valid fields retain information about their original location in the input, so a secondary parser from textual fields to typed values can give intelligent error messages.

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

sudo apt-get -y install haskell-lazy-csv-utils

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

You can also use apt command to install haskell-lazy-csv-utils.

sudo apt -y install haskell-lazy-csv-utils

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

sudo aptitude install haskell-lazy-csv-utils

Summary

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