How to Install and Uninstall gcc-avr Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 09,2024

1. Install "gcc-avr" package

This guide covers the steps necessary to install gcc-avr on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install gcc-avr

2. Uninstall "gcc-avr" package

This tutorial shows how to uninstall gcc-avr on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove gcc-avr $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-avr package on Ubuntu 20.04 LTS (Focal Fossa)

Package: gcc-avr
Architecture: amd64
Version: 1:5.4.0+Atmel3.6.1-2build1
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Hakan Ardo
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 70980
Provides: c-compiler-avr
Depends: libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgmp10, libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4), binutils-avr (>= 2.26.20160125+Atmel3.6.1)
Suggests: gcc-doc (>= 4:4.8), gcc (>= 4:4.8), avr-libc (>= 1:1.8.0-4)
Conflicts: avr-libc (<= 1:1.7.1-2)
Filename: pool/universe/g/gcc-avr/gcc-avr_5.4.0+Atmel3.6.1-2build1_amd64.deb
Size: 15398568
MD5sum: 0ad526c7503c0293e7918cf02cdfbbb0
SHA1: ea99d57e89c2a71fd4672e348b0e0a278ea1963b
SHA256: 7ded40278ac839ce210f6ab144ad26d9a9d85625cb0149f2be360d9425164e13
Description: GNU C compiler (cross compiler for avr)
Description-md5: 4f2d9a1e3db47f1ff1dc62bc336adcec