giac command not found

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

Introduction

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

giac: command not found

or when using sudo you get the following error message

sudo: giac: command not found

Solutions to giac: command not found

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

In Ubuntu giac is provided by xcas package.

xcas is:

Giac is a computer algebra system, following the development of the CAS for HP calculators. It has fast implementation of algorithms for polynomial operations, and compatibility mode with Maple or Mupad CAS as well as TI calculators.

This package contains the user-facing giac programs: xcas, icas, and pgiac; as well as the cas_help program for providing user-oriented help.

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

sudo apt-get -y install xcas

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

You can also use apt command to install xcas.

sudo apt -y install xcas

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

sudo aptitude install xcas

Summary

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