gobgp command not found

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

Introduction

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

gobgp: command not found

or when using sudo you get the following error message

sudo: gobgp: command not found

Solutions to gobgp: command not found

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

In Ubuntu gobgp is provided by gobgpd package.

gobgpd is:

GoBGP is an open source BGP implementation designed from scratch for modern environment and implemented in Go. It is designed to exploit multicore processors and can be easily integrated with other software through an RPC API.

This package contains both the daemon and the client.

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

sudo apt-get -y install gobgpd

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

You can also use apt command to install gobgpd.

sudo apt -y install gobgpd

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

sudo aptitude install gobgpd

Summary

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