如果是ubuntu
sudo apt-get install libopus-dev
如果是centos yum安装的opus版本较低需要自己编译
git -C opus pull 2> /dev/null || git clone --depth 1 https://github.com/xiph/opus.git && \ cd opus && \ ./autogen.sh && \ ./configure --disable-shared && \ make && \ make install