How To Install sbc on Rocky Linux 8
Introduction
In this tutorial we learn how to install sbc on Rocky Linux 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.
We can use yum or dnf to install sbc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install sbc.
Install sbc on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install sbc using dnf by running the following command:
sudo dnf -y install sbc
Install sbc on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
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 Rocky Linux 8
To uninstall only the sbc package we can use the following command:
sudo dnf remove sbc
sbc Package Contents on Rocky Linux 8
/usr/bin/sbcdec
/usr/bin/sbcenc
/usr/bin/sbcinfo
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/11973d2f157848838de25081c031665e81811c
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/6e2969487ceaea3a9b1b7477cfb4a5c3f18fe3
/usr/lib/.build-id/81
/usr/lib/.build-id/81/5c62d357bf9111c231c7f493d807ba40ba6dfa
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/cc9070c7718f3c1e84d51c54107dd377285615
/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/09
/usr/lib/.build-id/09/45e7816d23ce9df72be0366c2151a328f6d5d4
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/b42bbc28622890ec06e7b7f84479d299bfb2fe
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/aabdeea15d9cf329cdac52abdbfd383dcb8589
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/87e39a2ffd58d1713188609939dc30ff5ce81f
/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 Rocky Linux 8 using yum and dnf.