How To Install xa on Fedora 34
Introduction
In this tutorial we learn how to install xa
on Fedora 34.
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 34. In this tutorial we discuss both methods but you only need to choose one of method to install xa.
Install xa 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 xa
using dnf
by running the following command:
sudo dnf -y install xa
Install xa 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 xa
using yum
by running the following command:
sudo yum -y install xa
How To Uninstall xa on Fedora 34
To uninstall only the xa
package we can use the following command:
sudo dnf remove xa
xa Package Contents on Fedora 34
/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/0d
/usr/lib/.build-id/0d/dd5b168b0e80f6971f3039a5cd58f3ecf7893d
/usr/lib/.build-id/27
/usr/lib/.build-id/27/f63e18d894ae7e7da52589d6d8bc47f62448e6
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/8e1285cec9ca60c164db7bd4508ae60a8fb9b1
/usr/lib/.build-id/88
/usr/lib/.build-id/88/5d11474f566be1d6be90caabdac0196c712a23
/usr/lib/.build-id/91
/usr/lib/.build-id/91/e02aeef0210a44063d31694d5d2691fd1544f9
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/7a1dd3074200e35396f4cd52ebc51fa4ed1344
/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 34 using yum and dnf.