gravit command not found

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

Introduction

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

gravit: command not found

or when using sudo you get the following error message

sudo: gravit: command not found

Solutions to gravit: command not found

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

In Ubuntu gravit is provided by gravit package.

gravit is:

Gravit is a free, visually stunning gravity simulator, where you can spend endless time experimenting with various configurations of simulated universes.

Features:

  • Stunning visualisations
  • Create unlimited variations of simulations
  • You can view the simulation in 3D without glasses using stereoscopic imaging
  • Can be installed as a screen saver in Windows
  • You can record, then play back at any speed
  • Stores every particle’s position for every frame in memory
  • Compresses history when needed, for very long recordings
  • Mouse controllable rotation
  • Console with script execution
  • Colours can be based on mass, velocity, acceleration, momentum or kinetic energy
  • Save and Load simulations
  • Update display/input while recording a frame

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

sudo apt-get -y install gravit

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

You can also use apt command to install gravit.

sudo apt -y install gravit

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

sudo aptitude install gravit

Summary

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