How To Install baresip on CentOS 7

In this tutorial we learn how to install baresip on CentOS 7. baresip is Modular SIP user-agent with audio and video support

Introduction

In this tutorial we learn how to install baresip on CentOS 7.

What is baresip

A modular SIP user-agent with support for audio and video, and many IETF standards such as SIP, RTP, STUN, TURN, and ICE for both, IPv4 and IPv6. Additional modules provide support for audio codecs like G.711, G.722, G.726, GSM, L16, MPA, and Opus, audio drivers like ALSA, GStreamer, JACK Audio Connection Kit, Portaudio, and PulseAudio, video codecs like VP8 or VP9, video sources like Video4Linux and X11 grabber, video outputs like SDL2 or X11, NAT traversal via STUN, TURN, ICE, NATBD, and NAT-PMP, media encryption via SRTP or DTLS-SRTP, management features like embedded web- server with HTTP interface, command-line console and interface, and MQTT.

We can use yum or dnf to install baresip on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install baresip.

Install baresip on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install baresip using yum by running the following command:

sudo yum -y install baresip

Install baresip on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install baresip using dnf by running the following command:

sudo dnf -y install baresip

How To Uninstall baresip on CentOS 7

To uninstall only the baresip package we can use the following command:

sudo dnf remove baresip

References

Summary

In this tutorial we learn how to install baresip on CentOS 7 using yum and dnf.