How To Install avra on Fedora 34

avra is Atmel AVR assembler

Introduction

In this tutorial we learn how to install avra on Fedora 34.

What is avra

Avra is an assembler for Atmel’s AVR 8-bit RISC microcontollers. It is mostly compatible with Atmel’s own assembler, but provides new features such as better macro support and additional preprocessor directives. This package also contains various device definition files.

We can use yum or dnf to install avra on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install avra.

Install avra on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install avra using dnf by running the following command:

sudo dnf -y install avra

Install avra on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install avra using yum by running the following command:

sudo yum -y install avra

How To Uninstall avra on Fedora 34

To uninstall only the avra package we can use the following command:

sudo dnf remove avra

avra Package Contents on Fedora 34

/usr/bin/avra
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/eab29161391acf94d8768587999f7ceeb593d7
/usr/share/avra
/usr/share/avra/1200def.inc
/usr/share/avra/2313def.inc
/usr/share/avra/2323def.inc
/usr/share/avra/2343def.inc
/usr/share/avra/4414def.inc
/usr/share/avra/4433def.inc
/usr/share/avra/4434def.inc
/usr/share/avra/8515def.inc
/usr/share/avra/8535def.inc
/usr/share/avra/m103def.inc
/usr/share/avra/m128def.inc
/usr/share/avra/m161def.inc
/usr/share/avra/m162def.inc
/usr/share/avra/m163def.inc
/usr/share/avra/m165def.inc
/usr/share/avra/m168def.inc
/usr/share/avra/m169def.inc
/usr/share/avra/m16def.inc
/usr/share/avra/m2560def.inc
/usr/share/avra/m2561def.inc
/usr/share/avra/m323def.inc
/usr/share/avra/m3250def.inc
/usr/share/avra/m325def.inc
/usr/share/avra/m3290def.inc
/usr/share/avra/m329def.inc
/usr/share/avra/m32def.inc
/usr/share/avra/m406def.inc
/usr/share/avra/m48def.inc
/usr/share/avra/m649def.inc
/usr/share/avra/m64def.inc
/usr/share/avra/m8515def.inc
/usr/share/avra/m8535def.inc
/usr/share/avra/m88def.inc
/usr/share/avra/m8def.inc
/usr/share/avra/pwm2def.inc
/usr/share/avra/pwm3def.inc
/usr/share/avra/tn11def.inc
/usr/share/avra/tn12def.inc
/usr/share/avra/tn13def.inc
/usr/share/avra/tn15def.inc
/usr/share/avra/tn22def.inc
/usr/share/avra/tn2313def.inc
/usr/share/avra/tn26def.inc
/usr/share/avra/tn28def.inc
/usr/share/avra/tn45def.inc
/usr/share/doc/avra
/usr/share/doc/avra/AUTHORS
/usr/share/doc/avra/COPYING
/usr/share/doc/avra/README
/usr/share/doc/avra/TODO
/usr/share/doc/avra/doc
/usr/share/doc/avra/doc/ChangeLog.html
/usr/share/doc/avra/doc/Makefile
/usr/share/doc/avra/doc/README.html
/usr/share/doc/avra/doc/README.txt
/usr/share/doc/avra/doc/asciidoc-xhtml11.js
/usr/share/doc/avra/doc/build-website.sh
/usr/share/doc/avra/doc/downloads.html
/usr/share/doc/avra/doc/downloads.txt
/usr/share/doc/avra/doc/images
/usr/share/doc/avra/doc/images/highlighter.png
/usr/share/doc/avra/doc/images/icons
/usr/share/doc/avra/doc/images/icons/README
/usr/share/doc/avra/doc/images/icons/callouts
/usr/share/doc/avra/doc/images/icons/callouts/1.png
/usr/share/doc/avra/doc/images/icons/callouts/10.png
/usr/share/doc/avra/doc/images/icons/callouts/11.png
/usr/share/doc/avra/doc/images/icons/callouts/12.png
/usr/share/doc/avra/doc/images/icons/callouts/13.png
/usr/share/doc/avra/doc/images/icons/callouts/14.png
/usr/share/doc/avra/doc/images/icons/callouts/15.png
/usr/share/doc/avra/doc/images/icons/callouts/2.png
/usr/share/doc/avra/doc/images/icons/callouts/3.png
/usr/share/doc/avra/doc/images/icons/callouts/4.png
/usr/share/doc/avra/doc/images/icons/callouts/5.png
/usr/share/doc/avra/doc/images/icons/callouts/6.png
/usr/share/doc/avra/doc/images/icons/callouts/7.png
/usr/share/doc/avra/doc/images/icons/callouts/8.png
/usr/share/doc/avra/doc/images/icons/callouts/9.png
/usr/share/doc/avra/doc/images/icons/caution.png
/usr/share/doc/avra/doc/images/icons/example.png
/usr/share/doc/avra/doc/images/icons/home.png
/usr/share/doc/avra/doc/images/icons/important.png
/usr/share/doc/avra/doc/images/icons/next.png
/usr/share/doc/avra/doc/images/icons/note.png
/usr/share/doc/avra/doc/images/icons/prev.png
/usr/share/doc/avra/doc/images/icons/tip.png
/usr/share/doc/avra/doc/images/icons/up.png
/usr/share/doc/avra/doc/images/icons/warning.png
/usr/share/doc/avra/doc/images/smallnew.png
/usr/share/doc/avra/doc/images/tiger.png
/usr/share/doc/avra/doc/index.html
/usr/share/doc/avra/doc/index.txt
/usr/share/doc/avra/doc/layout1.conf
/usr/share/doc/avra/doc/layout1.css
/usr/share/doc/avra/doc/xhtml11-manpage.css
/usr/share/doc/avra/doc/xhtml11-quirks.css
/usr/share/doc/avra/doc/xhtml11.css
/usr/share/doc/avra/examples
/usr/share/doc/avra/examples/testcode_avra-1_2_3.asm
/usr/share/doc/avra/examples/testcode_avra-1_3_0.asm
/usr/share/doc/avra/examples/throttle.asm
/usr/share/doc/avra/examples/throttle_backemf.asm
/usr/share/doc/avra/examples/throttle_dev_set.inc
/usr/share/doc/avra/examples/throttle_divide.asm
/usr/share/doc/avra/examples/throttle_momentum.asm
/usr/share/doc/avra/examples/throttle_momentum_lowpass.asm
/usr/share/doc/avra/examples/throttle_multiply.asm
/usr/share/doc/avra/examples/throttle_op_set.inc
/usr/share/doc/avra/examples/throttle_pulse.asm
/usr/share/doc/avra/examples/throttle_set_lowpass.asm
/usr/share/doc/avra/examples/tn15def.inc

References

Summary

In this tutorial we learn how to install avra on Fedora 34 using yum and dnf.