genxdr command not found

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

Introduction

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

genxdr: command not found

or when using sudo you get the following error message

sudo: genxdr: command not found

Solutions to genxdr: command not found

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

In Ubuntu genxdr is provided by genxdr package.

genxdr is:

Package xdr is an XDR marshalling/unmarshalling library. It uses code generation and not reflection.

This package contains the CLI utility to generate go code.

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

sudo apt-get -y install genxdr

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

You can also use apt command to install genxdr.

sudo apt -y install genxdr

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

sudo aptitude install genxdr

Summary

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