biosig2gdf command not found

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

Introduction

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

biosig2gdf: command not found

or when using sudo you get the following error message

sudo: biosig2gdf: command not found

Solutions to biosig2gdf: command not found

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

In Ubuntu biosig2gdf is provided by biosig-tools package.

biosig-tools is:

Based on BioSig library, this package provides command line tools, such as

  • save2gdf: converter between different file formats, including but not limited to SCP-ECG(EN1064), HL7aECG (FDA-XML), GDF, EDF, BDF, CWFB.
  • biosig2gdf: converts biosig data files into GDF, to simplify parsing and loading by scripting languages (e.g. loadgdf.{py,r})
  • rec2bin, bin2rec, heka2itx, save2aecg, save2scp: several converter tools based on save2gdf
  • biosig_fhir: packs biosignal data into HL7/FHIR binary template file.
  • physicalunits: converter for encoding and decoding of physical units according to ISO 11073-10101

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

sudo apt-get -y install biosig-tools

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

You can also use apt command to install biosig-tools.

sudo apt -y install biosig-tools

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

sudo aptitude install biosig-tools

Summary

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