How To Install sbc on CentOS 8

sbc is Sub Band Codec used by bluetooth A2DP Sub Band Codec used by bluetooth A2DP

Introduction

In this tutorial we learn how to install sbc on CentOS 8.

What is sbc

SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio Distribution Profile (A2DP) bluetooth standard but can be used standalone. It uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with an adaptive block PCM quantizers. sbc 1.3 9.el8 x86_64 65 k sbc-1.3-9.el8.src.rpm appstream Sub Band Codec used by bluetooth A2DP http GPLv2 and LGPLv2+ SBC (Sub Band Codec) is a low-complexity audio codec used in the Advanced Audio Distribution Profile (A2DP) bluetooth standard but can be used standalone. It uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with an adaptive block PCM quantizers.

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

Install sbc 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 sbc using dnf by running the following command:

sudo dnf -y install sbc

Install sbc 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 sbc using yum by running the following command:

sudo yum -y install sbc

How To Uninstall sbc on CentOS 8

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

sudo dnf remove sbc

sbc Package Contents on CentOS 8

/usr/bin/sbcdec
/usr/bin/sbcenc
/usr/bin/sbcinfo
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/fb97f787b052d4fc1587be252729b0f919b97c
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/8eb2410faa285dd7f54577f034a49faa6ff529
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/713fb92e78e3e697be7076c70c956542d5221b
/usr/lib/.build-id/de
/usr/lib/.build-id/de/2aaa1489fbc7b883da7e60f52443f02dc5748b
/usr/lib64/libsbc.so.1
/usr/lib64/libsbc.so.1.2.1
/usr/share/doc/sbc
/usr/share/doc/sbc/AUTHORS
/usr/share/doc/sbc/ChangeLog
/usr/share/licenses/sbc
/usr/share/licenses/sbc/COPYING
/usr/bin/sbcdec
/usr/bin/sbcenc
/usr/bin/sbcinfo
/usr/lib/.build-id
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/b50ad76ef741ad0d1c1461603a31a0400c1b9f
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/bcccd2edea51bc8fb7a7d21cef00590c325916
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/5e2bc89831677e5c2d3d7ec9204235bf63a311
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/baf3ff315d12a669f4ce5db73cc5ad9f038c48
/usr/lib/libsbc.so.1
/usr/lib/libsbc.so.1.2.1
/usr/share/doc/sbc
/usr/share/doc/sbc/AUTHORS
/usr/share/doc/sbc/ChangeLog
/usr/share/licenses/sbc
/usr/share/licenses/sbc/COPYING

References

Summary

In this tutorial we learn how to install sbc on CentOS 8 using yum and dnf.