baresip command not found

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

Introduction

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

baresip: command not found

or when using sudo you get the following error message

sudo: baresip: command not found

Solutions to baresip: command not found

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

In Ubuntu baresip is provided by baresip-core package.

baresip-core is:

A modular SIP user-agent with support for audio and video, and many IETF standards such as SIP, SDP, RTP/RTCP, STUN, TURN, ICE, and WebRTC.

Supports both IPv4 and IPv6, and the following features.

  • Audio codecs: AMR, aptX, EBU ACIP, G.711, G.722, G.726, GSM, L16, MPA, OPUS.
  • Video codecs: H.263, H.264, H.265, MPEG4, VP8, VP9.
  • Audio drivers: Alsa, GStreamer, JACK, OSS, Portaudio, PulseAudio, sndio.
  • Video sources: FFmpeg avformat, Video4Linux2, X11 Grabber.
  • Video outputs: SDL2, X11, DirectFB.
  • NAT Traversal: STUN, TURN, ICE, NAT-PMP.
  • Media encryption: SRTP, DTLS-SRTP.
  • Telemetry messaging: MQTT.
  • Control interfaces: JSON-over-TCP.

Some of above features are provided in separate packages baresip-gtk, baresip-ffmpeg, baresip-gstreamer and baresip-x11.

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

sudo apt-get -y install baresip-core

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

You can also use apt command to install baresip-core.

sudo apt -y install baresip-core

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

sudo aptitude install baresip-core

Summary

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