xcadabra command not found

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

Introduction

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

xcadabra: command not found

or when using sudo you get the following error message

sudo: xcadabra: command not found

Solutions to xcadabra: command not found

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

In Ubuntu xcadabra is provided by cadabra package.

cadabra is:

Cadabra is a computer algebra system designed specifically for the solution of problems encountered in field theory. It has extensive functionality for tensor polynomial simplification including multi-term symmetries, fermions and anti-commuting variables, Clifford algebras and Fierz transformations, implicit coordinate dependence, multiple index types and many more. The input format is a subset of TeX.

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

sudo apt-get -y install cadabra

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

You can also use apt command to install cadabra.

sudo apt -y install cadabra

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

sudo aptitude install cadabra

Summary

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