avrocat command not found

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

Introduction

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

avrocat: command not found

or when using sudo you get the following error message

sudo: avrocat: command not found

Solutions to avrocat: command not found

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

In Ubuntu avrocat is provided by avro-bin package.

avro-bin is:

Apache Avro is a data serialization system. Avro provides rich data structures; a binary data format; and a container file format, to store Avro-encoded data persistently.

This package provides the “avro-c” implementation of Apache Avro in C. The C implementation supports:

  • binary encoding/decoding of all primitive and complex data types
  • storage to an Avro Object Container File
  • schema resolution, promotion and projection
  • validating and non-validating mode for writing Avro data

The C implementation of Avro lacks RPC support.

This package contains the avro-c command line utilities.

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

sudo apt-get -y install avro-bin

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

You can also use apt command to install avro-bin.

sudo apt -y install avro-bin

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

sudo aptitude install avro-bin

Summary

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