How to Install and Uninstall gcc-avr Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 21,2024

1. Install "gcc-avr" package

This tutorial shows how to install gcc-avr on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install gcc-avr

2. Uninstall "gcc-avr" package

This tutorial shows how to uninstall gcc-avr on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the gcc-avr package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: gcc-avr
Architecture: amd64
Version: 1:5.4.0+Atmel3.6.0-1build1
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Hakan Ardo
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 68126
Provides: c-compiler-avr
Depends: libc6 (>= 2.15), libgcc1 (>= 1:3.0), libgmp10, libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4), binutils-avr (>= 2.26.20160125+Atmel3.6.0)
Suggests: task-c-devel, 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.0-1build1_amd64.deb
Size: 15100840
MD5sum: 2a486f415cc62c11ccd3c86012029dd9
SHA1: be69f500f5c473ed3f8162ce654484460bdbef62
SHA256: 329353209b807696f3ebcae05a2cdcbdf4bc6c598719dcf08371ad23b000c3e4
Description: GNU C compiler (cross compiler for avr)
Description-md5: 4f2d9a1e3db47f1ff1dc62bc336adcec