json2file-go command not found

In this troubleshooting guide we learn how to fix json2file-go command not found error message

Introduction

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

json2file-go: command not found

or when using sudo you get the following error message

sudo: json2file-go: command not found

Solutions to json2file-go: command not found

How To Fix json2file-go: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu json2file-go is provided by json2file-go package.

json2file-go is:

Application to store information in JSON format in files sent by WebHooks (it has been used with GitLab and Gitea, but should work with others). The server can be run inside a container or managed with systemd.

Once the JSON files are written to disk they can be processed using external scripts launched by a daemon that captures inotify events like incron.

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

sudo apt-get -y install json2file-go

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

You can also use apt command to install json2file-go.

sudo apt -y install json2file-go

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

sudo aptitude install json2file-go

Summary

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