‹ projects

reverberation

speech-to-text on the linux desktop
Log | Files | Refs | README

dependencies.sh (395B)


      1 #!/bin/bash
      2 
      3 venv=/opt/reverberation/venv
      4 
      5 packages=(
      6 
      7     python3
      8     python3-tkinter
      9     portaudio-devel 
     10     xdotool
     11     xclip
     12 
     13 )
     14 
     15 pipages=(
     16 
     17     faster-whisper
     18     pyaudio
     19     numpy
     20     
     21 )
     22 
     23 [ `whoami` != 'root' ] && echo 'must be root' && exit 
     24 
     25 xbps-install -ySu ${packages[@]}
     26 
     27 python3 -m venv --clear --upgrade-deps $venv
     28 source $venv/bin/activate
     29 pip3 install ${pipages[@]}
     30 
     31 echo 'done'