123456789101112131415161718192021222324252627282930 |
- #!/bin/bash
- privilege_escalation="sudo "
- install_cmd="$privilege_escalation apt install "
- update_cmd="$privilege_escalation apt update ; "
- pip_cmd="$privilege_escalation pip install "
- user_developer="user"
- # uncomment below if you are a developer
- user_developer="developer"
- cmd=""
- if [ "$user_developer" == "user" ] ; then
- cmd="$update_cmd $install_cmd gcc python3 swig "
- eval "$cmd"
- cmd="$pip_cmd pillow numpy soundfile mutagen zlib-wrapper Cython"
- eval "$cmd"
- elif [ "$user_developer" == "developer" ] ; then
- cmd="$update_cmd $install_cmd indent valgrind clang cppcheck gcc swig python3 "
- eval "$cmd"
- cmd="$pip_cmd pillow numpy soundfile mutagen zlib-wrapper Cython"
- eval "$cmd"
- cmd="$install_cmd texlive-latex-base texlive-latex-extra texlive-fonts-recommended texlive-font-utils texlive-fonts-extra pandoc fonts-noto"
- eval "$cmd"
- fi
|