olivebot/docker/install_deps.sh
guo zebin 4cfad5ae0f 年翻更新
- 全新ui
- 全面优化websocket逻辑,提高数字人和ui连接的稳定性及资源开销
- 全面优化唤醒逻辑,提供稳定的普通唤醒模式和前置词唤醒模式
- 优化拾音质量,支持多声道麦克风拾音
- 优化自动播放服务器的对接机制,提供稳定和兼容旧版ue工程的对接模式
- 数字人接口输出机器人表情,以适应新fay ui及单片机的数字人表情输出
- 使用更高级的音频时长计算方式,可以更精准控制音频播放完成后的逻辑
- 修复点击关闭按钮会导致程序退出的bug
- 修复没有麦克风的设备开启麦克风会出错的问题
- 为服务器主机地址提供配置项,以方便服务器部署
2024-10-26 11:34:55 +08:00

51 lines
994 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# 检测 Debian 系统(如 Ubuntu
if grep -qEi "(debian|ubuntu)" /etc/*release; then
apt-get update -yq --fix-missing && \
DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
pkg-config \
wget \
cmake \
curl \
git \
vim \
build-essential \
libgl1-mesa-glx \
portaudio19-dev \
libnss3 \
libxcomposite1 \
libxrender1 \
libxrandr2 \
libqt5webkit5-dev \
libxdamage1 \
libxtst6 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# 检测 CentOS 系统
elif grep -qEi "(centos|fedora|rhel)" /etc/*release; then
yum update -y && \
yum install -y \
pkgconfig \
wget \
cmake \
curl \
git \
vim-enhanced \
gcc \
gcc-c++ \
mesa-libGL \
portaudio \
nss \
libXcomposite \
libXrender \
libXrandr \
qt5-qtwebkit-devel \
libXdamage \
libXtst && \
yum clean all
else
echo "Unsupported OS"
exit 1
fi