Arch Linux bootstrap

Dual-booting Arch Linux on a PC

Tutorial for this coming soon. For now, refer to here,

Tools installation

Visual Studio Code

Follow the installation guide from WPILib Docs.

To build robot projects in a terminal, run the following command to set JAVA_HOME in ~/.bashrc:

echo 'export JAVA_HOME=~/wpilib/2021/jdk' >> ~/.bashrc

GCC

sudo pacman -S gcc

Git

sudo pacman -S git

Formatter

This requires a package from the AUR. Use either the manual installation method (shown below) or an AUR helper.

sudo pacman -S python
cd /tmp
git clone https://aur.archlinux.org/python-wpiformat-git
makepkg -si

CMake

sudo pacman -S cmake