-
Notifications
You must be signed in to change notification settings - Fork 5
/
dependencies_install.sh
39 lines (35 loc) · 958 Bytes
/
dependencies_install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
#
# This script configures dependencies for audio recording and play test.
# Version: 1.1
# Author: Herman Ye @Mangdang
# Date: 2023-06-04
# Exit the script immediately if a command exits with a non-zero status
# set -x
set -e
# Install necessary dependencies for GPT
sudo apt update
sudo apt upgrade -y
sudo apt install gnome-terminal -y
sudo apt-get install libcanberra-gtk-module libcanberra-gtk3-module -y
sudo apt install -y python3
sudo apt install -y python3-pip
pip install pysocks
pip install requests
pip install openai
# Install AWS boto3
pip install boto3
pip install numpy
pip install sounddevice
pip install pydub
pip install scipy
sudo apt install portaudio19-dev -y
sudo apt install ffmpeg -y
# Install dependencies for sounddevice/soundfile
sudo apt install libportaudio2 -y
sudo apt install alsa-utils -y
sudo apt install mpv -y
pip install numpy sounddevice cffi soundfile
# Check again
sudo apt update
sudo apt upgrade -y