gob2 command not found

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

Introduction

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

gob2: command not found

or when using sudo you get the following error message

sudo: gob2: command not found

Solutions to gob2: command not found

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

In Ubuntu gob2 is provided by gob2 package.

gob2 is:

GOB is a preprocessor which simplifies the writing of GObjects in C. The syntax is somewhat similar to that for Java, yacc and lex.

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

sudo apt-get -y install gob2

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

You can also use apt command to install gob2.

sudo apt -y install gob2

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

sudo aptitude install gob2

Summary

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