Introduction
In this tutorial we learn how to install baresip
on CentOS 8.
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 8. In this tutorial we discuss both methods but you only need to choose one of method to install baresip.
Install baresip on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install baresip
using dnf
by running the following command:
sudo dnf -y install baresip
Install baresip on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install baresip
using yum
by running the following command:
sudo yum -y install baresip
How To Uninstall baresip on CentOS 8
To uninstall only the baresip
package we can use the following command:
sudo dnf remove baresip
baresip Package Contents on CentOS 8
/usr/bin/baresip
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/04f0f07d67630237ecb560abdffd1afd9978bf
/usr/lib/.build-id/10
/usr/lib/.build-id/10/8a4431387fc9bcc60501a2229720ff47fe7721
/usr/lib/.build-id/10/b0ac8910c91f3f23daca634d5c629a43a7e610
/usr/lib/.build-id/27
/usr/lib/.build-id/27/fb227a010a5a362a350642968c9a1ec07dcab7
/usr/lib/.build-id/49
/usr/lib/.build-id/49/8c38769befb16ac26f48d713d978e9c18a0dac
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/e0fe36f3be2165ded9c953272635057a825fff
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/3c10af0e5a2f7c6e02a5724af0b73b14f51c64
/usr/lib/.build-id/4c/feef37ea4f4cc0a4d114885b897efef775df11
/usr/lib/.build-id/53
/usr/lib/.build-id/53/1447b36c2c2e9c5d2a58dd07ec00621bcd19f0
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/08fb4b26fee2c43a96d81babc41aa78f320ff6
/usr/lib/.build-id/5d/d0a8a2c79eaeeb2718736992f72bbd78352c03
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/cd4f6cc7e509e6b83bba999b27eab93d6e31e1
/usr/lib/.build-id/63
/usr/lib/.build-id/63/de2a266d81be21febd8078dab5325b0eb7903c
/usr/lib/.build-id/69
/usr/lib/.build-id/69/1fa8ed70d9d669b53b36c634690fcc9b15a68f
/usr/lib/.build-id/70
/usr/lib/.build-id/70/1e64c9835b6ece50ac57a264bd0b18dfc17263
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/3209aac261af442f2fb05a1080cd8e32ca5f63
/usr/lib/.build-id/86
/usr/lib/.build-id/86/5015d63607219f1f65e53db924dac56a4779e7
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/7ccb28627165e0ed555c03b6d87d15fba2c263
/usr/lib/.build-id/92
/usr/lib/.build-id/92/a493776752eda64b49019d31418f636644a054
/usr/lib/.build-id/94
/usr/lib/.build-id/94/a278ec061457daaa4ad6bdc59bca52424915a0
/usr/lib/.build-id/95
/usr/lib/.build-id/95/56af49536c41409636d002d9557ac1b87ecc18
/usr/lib/.build-id/96
/usr/lib/.build-id/96/68d9b5ec0cf3f2263949132ae020d4819ae540
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/78f97f912262712391853fac5f6a92dc12aece
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/52353d64ba01d6bd1d3d2f9c9781a23d8c94ac
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/191d8e751974a0d552e974da23444bd483fa11
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/c14c8f59ba3ed05e90b9da3cb856c7d8510597
/usr/lib/.build-id/bd/df0a7ccb1c0a16b06f1674f3b5c993e7781abb
/usr/lib/.build-id/be
/usr/lib/.build-id/be/c261016e34df0e1e2fd7010168d99ba4939482
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/379e4dd7a0377e17cb480a4f61c03c1e983565
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/b6ae6586c92c9b9afaabe2d05f3eabf4d1c816
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/830136ad48035792b39d65a88e169ac749581b
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/74e1dc2d671a7d7cb0c859429ac3a970df920a
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/5001609feecefbb35b99213a954eb6f6f95bab
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/af81bb1c96b47b4fb110b8e5d6fa10e26f222f
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/f83cd43d0155090b832994f4ce3ade4cdc5e06
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/7c5eda82640b6bdd562c0e1838d8facd27a38a
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/c8aec2f210b307ab61712212e215c6f833b653
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/e033616f434aa40b91a5183a20d081a136e6b4
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/2db59eb81da97b92d92c5ad6aab9e15acfb7b9
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/03b1d7dc20135f595e31c70cea4d8fe3f69c88
/usr/lib64/baresip
/usr/lib64/baresip/modules
/usr/lib64/baresip/modules/account.so
/usr/lib64/baresip/modules/aubridge.so
/usr/lib64/baresip/modules/aufile.so
/usr/lib64/baresip/modules/auloop.so
/usr/lib64/baresip/modules/ausine.so
/usr/lib64/baresip/modules/b2bua.so
/usr/lib64/baresip/modules/cons.so
/usr/lib64/baresip/modules/contact.so
/usr/lib64/baresip/modules/ctrl_tcp.so
/usr/lib64/baresip/modules/debug_cmd.so
/usr/lib64/baresip/modules/dtls_srtp.so
/usr/lib64/baresip/modules/ebuacip.so
/usr/lib64/baresip/modules/echo.so
/usr/lib64/baresip/modules/evdev.so
/usr/lib64/baresip/modules/fakevideo.so
/usr/lib64/baresip/modules/g711.so
/usr/lib64/baresip/modules/httpd.so
/usr/lib64/baresip/modules/httpreq.so
/usr/lib64/baresip/modules/ice.so
/usr/lib64/baresip/modules/l16.so
/usr/lib64/baresip/modules/menu.so
/usr/lib64/baresip/modules/mixausrc.so
/usr/lib64/baresip/modules/multicast.so
/usr/lib64/baresip/modules/mwi.so
/usr/lib64/baresip/modules/natpmp.so
/usr/lib64/baresip/modules/presence.so
/usr/lib64/baresip/modules/rtcpsummary.so
/usr/lib64/baresip/modules/selfview.so
/usr/lib64/baresip/modules/serreg.so
/usr/lib64/baresip/modules/srtp.so
/usr/lib64/baresip/modules/stdio.so
/usr/lib64/baresip/modules/stun.so
/usr/lib64/baresip/modules/syslog.so
/usr/lib64/baresip/modules/turn.so
/usr/lib64/baresip/modules/uuid.so
/usr/lib64/baresip/modules/vidbridge.so
/usr/lib64/baresip/modules/vidinfo.so
/usr/lib64/baresip/modules/vidloop.so
/usr/lib64/baresip/modules/vumeter.so
/usr/share/baresip
/usr/share/baresip/autoanswer.wav
/usr/share/baresip/busy.wav
/usr/share/baresip/callwaiting.wav
/usr/share/baresip/error.wav
/usr/share/baresip/logo.png
/usr/share/baresip/message.wav
/usr/share/baresip/notfound.wav
/usr/share/baresip/ring.wav
/usr/share/baresip/ringback.wav
/usr/share/baresip/sound0.wav
/usr/share/baresip/sound1.wav
/usr/share/baresip/sound2.wav
/usr/share/baresip/sound3.wav
/usr/share/baresip/sound4.wav
/usr/share/baresip/sound5.wav
/usr/share/baresip/sound6.wav
/usr/share/baresip/sound7.wav
/usr/share/baresip/sound8.wav
/usr/share/baresip/sound9.wav
/usr/share/baresip/sounda.wav
/usr/share/baresip/soundb.wav
/usr/share/baresip/soundc.wav
/usr/share/baresip/soundd.wav
/usr/share/baresip/soundroute.wav
/usr/share/baresip/soundstar.wav
/usr/share/doc/baresip
/usr/share/doc/baresip/ChangeLog
/usr/share/doc/baresip/THANKS
/usr/share/doc/baresip/examples
/usr/share/doc/baresip/examples/accounts
/usr/share/doc/baresip/examples/config
/usr/share/doc/baresip/examples/config.module-cairo
/usr/share/doc/baresip/examples/contacts
/usr/share/licenses/baresip
/usr/share/licenses/baresip/COPYING
References
Summary
In this tutorial we learn how to install baresip
on CentOS 8 using yum and dnf.