gsd command not found

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

Introduction

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

gsd: command not found

or when using sudo you get the following error message

sudo: gsd: command not found

Solutions to gsd: command not found

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

In Ubuntu gsd is provided by python3-gsd package.

python3-gsd is:

The GSD file format is the native file format for HOOMD-blue. GSD files store trajectories of the HOOMD-blue system state in a binary file with efficient random access to frames. GSD allows all particle and topology properties to vary from one frame to the next. Use the GSD Python API to specify the initial condition for a HOOMD-blue simulation or analyze trajectory output with a script. Read a GSD trajectory with a visualization tool to explore the behavior of the simulation.

This package installs the library to access GSD files from Python 3.

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

sudo apt-get -y install python3-gsd

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

You can also use apt command to install python3-gsd.

sudo apt -y install python3-gsd

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

sudo aptitude install python3-gsd

Summary

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