How To Install cc65 on CentOS 8
Introduction
In this tutorial we learn how to install cc65
on CentOS 8.
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 8. In this tutorial we discuss both methods but you only need to choose one of method to install cc65.
Install cc65 on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install cc65
using dnf
by running the following command:
sudo dnf -y install cc65
Install cc65 on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the cc65
package we can use the following command:
sudo dnf remove cc65
cc65 Package Contents on CentOS 8
/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/06
/usr/lib/.build-id/06/da535a36b1dd25c28ee5d35428bebe69b5115a
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/8d98b5964929f41b462aefa9cddc2c824f9235
/usr/lib/.build-id/40
/usr/lib/.build-id/40/94517f694af9964883e2263d7c74b4d45a1b75
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/843448418b2224cbe2cf58def021961c912160
/usr/lib/.build-id/51
/usr/lib/.build-id/51/e80d94501d1afd6bf392608aac1064962b6b6f
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/4d5f039ec050b3b7034df23a79e9724e1f777c
/usr/lib/.build-id/65
/usr/lib/.build-id/65/a64047c6f238d18c4f33ac117bb705dfaae226
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/e0c2443d0cf7e08123bb031324fa0eeab48617
/usr/lib/.build-id/89
/usr/lib/.build-id/89/84edb2739d4a35beec35322211c8beffbe0a5b
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/8f10be70e93d452ad6edc0a54811fb3c47c369
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/fd5ab2458bdfecdbf3e09f94886a1e6c92a679
/usr/lib/.build-id/de
/usr/lib/.build-id/de/212942f411d3eff8762d5f58b37b0d04f1c002
/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 CentOS 8 using yum and dnf.