How To Install cc65 on CentOS 7

In this tutorial we learn how to install cc65 on CentOS 7. cc65 is A free C compiler for 6502 based systems

Introduction

In this tutorial we learn how to install cc65 on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install cc65.

Install cc65 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install cc65

Install cc65 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install cc65

How To Uninstall cc65 on CentOS 7

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

sudo dnf remove cc65

References

Summary

In this tutorial we learn how to install cc65 on CentOS 7 using yum and dnf.