How To Install spasm-ng on CentOS 7

In this tutorial we learn how to install spasm-ng on CentOS 7. spasm-ng is A z80 assembler with extra features for TI calculators

Introduction

In this tutorial we learn how to install spasm-ng on CentOS 7.

What is spasm-ng

SPASM-ng is a z80 assembler with extra features to support development for TI calculators. SPASM-ng can assemble and create assembly programs and flash applications in formats that can be shipped directly to TI-z80 (TI-83+, TI-83+SE, TI-84+, TI-83+SE, TI-84+CSE, TI-84+CE) calculators. SPASM-ng was originally from the SPASM project, and was forked to fix a few bugs. It was originally written by Spencer Putt and Don Straney, with additional development by Chris Shappell and James Montelongo. This release incorporates eZ80 support in preparation for the launch of the TI-84+CE. It also greatly increases the limit on the number of labels that can be defined.

We can use yum or dnf to install spasm-ng on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install spasm-ng.

Install spasm-ng on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install spasm-ng using yum by running the following command:

sudo yum -y install spasm-ng

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

sudo dnf -y install spasm-ng

How To Uninstall spasm-ng on CentOS 7

To uninstall only the spasm-ng package we can use the following command:

sudo dnf remove spasm-ng

References

Summary

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