netserver command not found

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

Introduction

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

netserver: command not found

or when using sudo you get the following error message

sudo: netserver: command not found

Solutions to netserver: command not found

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

In Ubuntu netserver is provided by netperf package.

netperf is:

Netperf is a benchmark that can be used to measure the performance of many different types of networking. It provides tests for both unidirecitonal throughput, and end-to-end latency. The environments currently measureable by netperf include:

  • TCP and UDP via BSD Sockets
  • DLPI
  • Unix Domain Sockets
  • IPv6

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

sudo apt-get -y install netperf

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

You can also use apt command to install netperf.

sudo apt -y install netperf

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

sudo aptitude install netperf

Summary

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