-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_apps_using_choco
44 lines (38 loc) · 1.21 KB
/
install_apps_using_choco
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
40
41
42
43
44
#!/usr/bin/env bash
die() { printf %s "${@+$@$'\n'}" 1>&2 ; exit 1 ; }
# other choco commands
# `choco uninstall -x pkgnm` remove package and all dependencies
# `choco upgrade -y all` upgrade all installed package
# `choco list -li` list locally installed programs (both managed by choco and NOT!)
pkgs=(
"calibre"
"ffmpeg" # removed since choco version is incompatible with my bash scripts for unknown reasons
# "dosbox" # succeeds but not in PATH?
# "ghostscript" # succeeds but not in PATH?
"calibre"
'html-tidy'
"irfanview" "irfanviewplugins"
"make" # GNU make
"miktex" # for tex::beamer (my command: pdflatex)
"mediainfo-cli"
"mpc-hc-clsid2"
"puretext"
"qpdf"
"ripgrep"
"shellcheck"
"strawberryperl" # for "resume-sprint" repo (to get functioning .PL file association) _only_
"totalcommander"
"universal-ctags"
"wget"
"x-mouse-button-control"
"xmlstarlet"
"yt-dlp"
"zulu11"
)
command -v choco > /dev/null || die "need to install choco+git; see https://github.com/fwmechanic/homedir/blob/master/.bash_aliases"
cinst() (
set -x
choco install -y "$@"
)
cinst "${pkgs[@]}"
cinst sumatrapdf.install --params "/NoDesktop"