Skip to content

Install Dependencies

1. Update the OS

Even if you just installed from a freshly made disk image, it's a good idea to check for OS updates.

sudo apt-get update && sudo apt-get upgrade

2. Install Command Line Tools

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh

Arduino CLI Documentation

If the arduino-cli command is not found after installation

If the arduino-cli command is not found after installation, you'll need to update your PATH variable to include the directory containing the arduino-cli executable: /home/(YOUR_USER)/bin

3. Update Board Index

arduino-cli core update-index

4. Install Core Support Files

Note: This guide assumes an Arduino Uno, with the correct core being arduino:avr. To determine the core for another board, run arduino-cli board listall to see a list of all supported boards.

arduino-cli core install arduino:avr

5. Install AVRDUDE

Installing core support files should also install AVRDUDE, another command-line tool we'll need. Ensure AVRDUDE is installed and recognized.

sudo apt-get install avrdude

AVRDUDE Documentation

If avrdude is not found

If avrdude is not found, you'll need to update your PATH variable to include the directory for it. It will likely look similar (but likely with different version numbers) to: /home/(YOUR_USER)/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin "