viewgar command not found

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

Introduction

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

viewgar: command not found

or when using sudo you get the following error message

sudo: viewgar: command not found

Solutions to viewgar: command not found

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

In Ubuntu viewgar is provided by ginac-tools package.

ginac-tools is:

GiNaC (which stands for “GiNaC is Not a CAS (Computer Algebra System)”) is a library for doing symbolic (i.e. non-numeric) computation directly in the C++ programming language.

This package provides some additional tools, like the popular ginsh (GiNaC interactive shell) and viewgar (for inspecting GiNaC archive files).

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

sudo apt-get -y install ginac-tools

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

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

sudo apt -y install ginac-tools

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

sudo aptitude install ginac-tools

Summary

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