How To Install xa on Fedora 36

In this tutorial we learn how to install xa in Fedora 36. xa is 6502/65816 cross-assembler

Introduction

In this tutorial we learn how to install xa on Fedora 36.

What is xa

xa is a high-speed, two-pass portable cross-assembler. It understands mnemonics and generates code for NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 …), CMOS 6502s (65C02 and Rockwell R65C02) and the 65816. Key amongst its features * C-like preprocessor (and understands cpp for additional feature support) * rich expression syntax and pseudo-op vocabulary * multiple character sets * binary linking * supports o65 relocatable objects with a full linker and relocation suite, as well as “bare” plain binary object files * block structure for label scoping

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

Install xa on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install xa

Install xa on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install xa

How To Uninstall xa on Fedora 36

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

sudo dnf remove xa

xa Package Contents on Fedora 36

/usr/bin/file65
/usr/bin/ldo65
/usr/bin/printcbm
/usr/bin/reloc65
/usr/bin/uncpk
/usr/bin/xa
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/de4ceb4b9911629d4409a7f5585b14328b2580
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/596c67e3c32d40cee532f255c6a97727d4518c
/usr/lib/.build-id/5f/67c4d96396183257137418967a3cbfa09a288a
/usr/lib/.build-id/69
/usr/lib/.build-id/69/92ad496355a8ec296bd4db9d23e75ec4e06cb5
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/ae0e26452757af3372b42ca97eeea99556f8d5
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/225a1f9c9d5fe500da795c9ffd290dc2a0c08d
/usr/share/doc/xa
/usr/share/doc/xa/COPYING
/usr/share/doc/xa/ChangeLog
/usr/share/doc/xa/README.1st
/usr/share/doc/xa/fileformat.txt
/usr/share/man/man1/file65.1.gz
/usr/share/man/man1/ldo65.1.gz
/usr/share/man/man1/printcbm.1.gz
/usr/share/man/man1/reloc65.1.gz
/usr/share/man/man1/uncpk.1.gz
/usr/share/man/man1/xa.1.gz

References

Summary

In this tutorial we learn how to install xa on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).