dsv2json command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dsv2json: command not found
or when using sudo you get the following error message
sudo: dsv2json: command not found
Solutions to dsv2json: command not found
How To Fix dsv2json: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dsv2json is provided by node-d3-dsv package.
node-d3-dsv is:
This module provides a parser and formatter for delimiter-separated values, most commonly comma-separated values (CSV) or tab-separated values (TSV).
These tabular formats are popular with spreadsheet programs such as Microsoft Excel, and are often more space-efficient than JSON.
Node.js is an event-based server-side JavaScript engine.
To fix this problem, we can install more using the command below.
sudo apt-get -y install node-d3-dsv
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install node-d3-dsv.
sudo apt -y install node-d3-dsv
Or if you have aptitude installed you can use the following command.
sudo aptitude install node-d3-dsv
Summary
In this tutorial we learn how to fix dsv2json command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.