sctp_darn command not found

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

Introduction

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

sctp_darn: command not found

or when using sudo you get the following error message

sudo: sctp_darn: command not found

Solutions to sctp_darn: command not found

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

In Ubuntu sctp_darn is provided by lksctp-tools package.

lksctp-tools is:

SCTP (Stream Control Transmission Protocol) is a message oriented, reliable transport protocol, with congestion control, support for transparent multi-homing, and multiple ordered streams of messages. RFC 2960 defines the core protocol.

This package is part of the LKSCTP project, and contains libraries and commandline tools to test SCTP functionality:

  • checksctp: determine if kernel supports SCTP
  • withsctp: run existing TCP binaries over SCTP
  • sctp_darn: send and receive messages via SCTP
  • sctp_test: check SCTP functionality from user-space

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

sudo apt-get -y install lksctp-tools

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

You can also use apt command to install lksctp-tools.

sudo apt -y install lksctp-tools

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

sudo aptitude install lksctp-tools

Summary

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