How To Install cc65 on Fedora 36

In this tutorial we learn how to install cc65 in Fedora 36. cc65 is A free C compiler for 6502 based systems

Introduction

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

What is cc65

cc65 is a complete cross development package for 65(C)02 systems, including a powerful macro assembler, a C compiler, linker, librarian and several other tools. cc65 has C and runtime library support for many of the old 6502 machines, including - the following Commodore machines - VIC20 - C16/C116 and Plus/4 - C64 - C128 - CBM 510 (aka P500) - the 600/700 family - newer PET machines (not 2001). - the Apple ][+ and successors. - the Atari 8 bit machines. - the Atari 2600 console. - the Atari 5200 console. - GEOS for the C64, C128 and Apple //e. - the Bit Corporation Gamate console. - the NEC PC-Engine (aka TurboGrafx-16) console. - the Nintendo Entertainment System (NES) console. - the Watara Supervision console. - the VTech Creativision console. - the Oric Atmos. - the Oric Telestrat. - the Lynx console. - the Ohio Scientific Challenger 1P.

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

Install cc65 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 cc65 using dnf by running the following command:

sudo dnf -y install cc65

Install cc65 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 cc65 using yum by running the following command:

sudo yum -y install cc65

How To Uninstall cc65 on Fedora 36

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

sudo dnf remove cc65

cc65 Package Contents on Fedora 36

/usr/bin/ar65
/usr/bin/ca65
/usr/bin/cc65
/usr/bin/chrcvt65
/usr/bin/cl65
/usr/bin/co65
/usr/bin/da65
/usr/bin/grc65
/usr/bin/ld65
/usr/bin/od65
/usr/bin/sim65
/usr/bin/sp65
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/dea061a32af117130ae88d057b0a4169632bd7
/usr/lib/.build-id/45
/usr/lib/.build-id/45/38204f5203648d958a3f9ff97aa0414c1b1efa
/usr/lib/.build-id/52
/usr/lib/.build-id/52/9e31a46125d7031e77bffcce239162eadb8a6b
/usr/lib/.build-id/55
/usr/lib/.build-id/55/a68d85c12da8e2839625e3cf1aec1cd97c0420
/usr/lib/.build-id/63
/usr/lib/.build-id/63/0cc6e0770407e82e54400a66ccf9f256f3fe1b
/usr/lib/.build-id/73
/usr/lib/.build-id/73/e3cfad3cbfe0373b8ad25a80ad09e9c3c6d992
/usr/lib/.build-id/94
/usr/lib/.build-id/94/2aa40c3c785a3c1b1146254bc2cd4265cea844
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/c6b1c3eb953554408107f266f26f262e1df635
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/f9bc65f0c2ee99a2fde503737a63f8d2c02197
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/a90596f860e43dc49a80f056a8a0d42d153a51
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/a3cbf9c0be3bc20b059e6751aff90ec53416f0
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/358f7e5f49bb58cd1aadc8c6f5398cc7aa62e3
/usr/share/doc/cc65
/usr/share/doc/cc65/README.md
/usr/share/licenses/cc65
/usr/share/licenses/cc65/LICENSE

References

Summary

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