Ubuntu Server 22.04 安装微软语音服务CLI

easelify

共 2099字,需浏览 5分钟

 ·

2023-08-24 08:43

      
        
          # 安装 .Net 6.0
        
      
      
        
          # https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-ubuntu-2204
        
      
      
        sudo apt install dotnet-sdk-6.0
      
      
        sudo apt install aspnetcore-runtime-7.0
      
      
        
          
# 使用 .NET CLI 安装语音CLI dotnet tool install --global Microsoft.CognitiveServices.Speech.CLI export PATH="$PATH:/home/<yourname>/.dotnet/tools"
# 安装 GStreamer, 语音识别依赖此库将压缩的语音转换为原始的语音 # https://learn.microsoft.com/zh-cn/azure/ai-services/speech-service/how-to-use-codec-compressed-audio-input-streams sudo apt install libgstreamer1.0-0 \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good \ gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-ugly
# 安装 openssl 1.x 语音CLI依赖此项 # https://learn.microsoft.com/en-us/azure/ai-services/speech-service/quickstarts/setup-platform wget https://www.openssl.org/source/openssl-1.1.1v.tar.gz tar zxf openssl-1.1.1v.tar.gz cd openssl-1.1.1v ./config --prefix=/usr/local make -j $(nproc) sudo make install_sw install_ssldirs sudo ldconfig -v export SSL_CERT_DIR=/etc/ssl/certs
sudo apt update sudo apt install build-essential libssl-dev ca-certificates libasound2 wget
# 使用 spx help
浏览 37
点赞
评论
收藏
分享

手机扫一扫分享

分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

分享
举报