stunc command not found

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

Introduction

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

stunc: command not found

or when using sudo you get the following error message

sudo: stunc: command not found

Solutions to stunc: command not found

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

In Ubuntu stunc is provided by sofia-sip-bin package.

sofia-sip-bin is:

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. It can be used as a building block for SIP client software for uses such as VoIP, IM, and many other real-time and person-to-person communication services.

This package provides a set of console tools and helper applications for use in scripts, testing and other uses. All the tools utilize the Sofia-SIP library.

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

sudo apt-get -y install sofia-sip-bin

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

You can also use apt command to install sofia-sip-bin.

sudo apt -y install sofia-sip-bin

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

sudo aptitude install sofia-sip-bin

Summary

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