wb_shortcuts command not found

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

Introduction

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

wb_shortcuts: command not found

or when using sudo you get the following error message

sudo: wb_shortcuts: command not found

Solutions to wb_shortcuts: command not found

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

In Ubuntu wb_shortcuts is provided by connectome-workbench package.

connectome-workbench is:

Connectome Workbench is a brain visualization, analysis and discovery tool for fMRI and dMRI brain imaging data, including functional and structural connectivity data generated by the Human Connectome Project.

Package includes wb_command, a command-line program for performing a variety of analytical tasks for volume, surface, and CIFTI grayordinates data.

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

sudo apt-get -y install connectome-workbench

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

You can also use apt command to install connectome-workbench.

sudo apt -y install connectome-workbench

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

sudo aptitude install connectome-workbench

Summary

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