cwltool command not found

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

Introduction

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

cwltool: command not found

or when using sudo you get the following error message

sudo: cwltool: command not found

Solutions to cwltool: command not found

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

In Ubuntu cwltool is provided by cwltool package.

cwltool is:

This is the reference implementation of the Common Workflow Language standards.

The CWL open standards are for describing analysis workflows and tools in a way that makes them portable and scalable across a variety of software and hardware environments, from workstations to cluster, cloud, and high performance computing (HPC) environments. CWL is designed to meet the needs of data-intensive science, such as Bioinformatics, Medical Imaging, Astronomy, Physics, and Chemistry.

The CWL reference implementation (cwltool) is intended to be feature complete and to provide comprehensive validation of CWL files as well as provide other tools related to working with CWL descriptions.

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

sudo apt-get -y install cwltool

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

You can also use apt command to install cwltool.

sudo apt -y install cwltool

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

sudo aptitude install cwltool

Summary

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