grpc_java_plugin command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
grpc_java_plugin: command not found
or when using sudo you get the following error message
sudo: grpc_java_plugin: command not found
Solutions to grpc_java_plugin: command not found
How To Fix grpc_java_plugin: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu grpc_java_plugin is provided by protobuf-compiler-grpc-java-plugin package.
protobuf-compiler-grpc-java-plugin is:
A modern, open source remote procedure call (RPC) framework that can run anywhere. It enables client and server applications to communicate transparently, and makes it easier to build connected systems.
This package provides the Java plugin needed for compiling gRPC service definitions with the protobuf compiler.
To fix this problem, we can install more using the command below.
sudo apt-get -y install protobuf-compiler-grpc-java-plugin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install protobuf-compiler-grpc-java-plugin.
sudo apt -y install protobuf-compiler-grpc-java-plugin
Or if you have aptitude installed you can use the following command.
sudo aptitude install protobuf-compiler-grpc-java-plugin
Summary
In this tutorial we learn how to fix grpc_java_plugin command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.