Install gcc-avr by entering the following commands in the terminal:
sudo apt update sudo apt install gcc-avr
Description:
GNU C compiler (cross compiler for avr)
This is the GNU C compiler, a fairly portable optimizing compiler which supports multiple languages. This package includes support for C.
Version: 1:5.4.0+Atmel3.6.0-1build1
Section: universe/devel