If your device is already in fastboot mode:
sudo apt install adb fastboot
fastboot flash recovery recovery.img
6.1. Development environment
6.2. Phased plan
6.3. Example workflow (developer-mode device)
Then you cannot run Heimdall. You could try crouton (deprecated) or a full Linux dual-boot using MrChromebox’s custom firmware, but that’s an advanced topic.