qmk_firmware/util/install/fedora.sh

15 lines
503 B
Bash
Raw Normal View History

2020-11-26 14:37:54 +00:00
#!/bin/bash
_qmk_install() {
echo "Installing dependencies"
# TODO: Check whether devel/headers packages are really needed
sudo dnf -y install \
clang diffutils git gcc glibc-headers kernel-devel kernel-headers \
make unzip wget zip python3 avr-binutils avr-gcc avr-libc \
2020-11-26 14:37:54 +00:00
arm-none-eabi-binutils-cs arm-none-eabi-gcc-cs arm-none-eabi-newlib \
avrdude dfu-programmer dfu-util hidapi
2020-11-26 14:37:54 +00:00
python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
}