sp65 command not found

In this troubleshooting guide we learn how to fix sp65 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

sp65: command not found

or when using sudo you get the following error message

sudo: sp65: command not found

Solutions to sp65: command not found

How To Fix sp65: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sp65 is provided by cc65 package.

cc65 is:

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 5200 console.
  • GEOS for the C64, C128 and Apple //e.
  • the Nintendo Entertainment System (NES) console.
  • the Supervision console.
  • the Oric Atmos.
  • the Lynx console.
  • the Ohio Scientific Challenger 1P

To fix this problem, we can install more using the command below.

sudo apt-get -y install cc65

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install cc65.

sudo apt -y install cc65

Or if you have aptitude installed you can use the following command.

sudo aptitude install cc65

Summary

In this tutorial we learn how to fix sp65 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.