2 # This script will attempt to setup the Linux dependencies for compiling QMK/TMK
4 # This could probably go much lower, but since we are including an Arch vagrant,
5 # making it the first match makes sense
7 if [[ -n "$(type -P pacman )" ]]; then
8 # Arch linux and derivatives like Apricity
10 # Allow user to speed up package installs using powerpill/wget tweaks
11 # Always run the pacman mirror update script if possible when vagrant comes up
12 # This will ensure that users never get stalled on a horribly slow mirror
13 pacman -Syyu --needed --noconfirm
14 pacman -S --needed --noconfirm \
21 elif [[ -n "$(type -P apt-get)" ]]; then
22 # Debian and derivatives
23 apt-get update -y && apt-get upgrade -y
35 elif [[ -n "$(type -P yum)" ]]; then
36 # Fedora, CentOS or RHEL and derivatives
37 yum -y makecache && yum -y update
52 elif [[ -n "$(type -P zypper)" ]]; then
54 zypper refresh --non-interactive && zypper update --non-interactive
55 zypper --non-interactive install \