How To Install 64tass on Ubuntu 20.04

In this tutorial we learn how to install 64tass on Ubuntu 20.04. 64tass is cross (turbo) assembler targeting the MOS 65xx series of micro processors

Introduction

In this tutorial we learn how to install 64tass on Ubuntu 20.04.

What is 64tass

64tass is:

Multi pass optimizing macro assembler for the 65xx series of processors. Key features:

  • Familiar syntax to Omicron TASS and TASM
  • Supports 6502, 65C02, R65C02, W65C02, 65CE02, 65816, DTV, 65EL02, 4510
  • Arbitrary-precision integers and bit strings, double precision floating point numbers
  • Character and byte strings, array arithmetic
  • Handles UTF-8, UTF-16 and 8 bit RAW encoded source files, Unicode character strings
  • Supports Unicode identifiers with compatibility normalization and optional case insensitivity
  • Built-in `linker’ with section support
  • Various memory models, binary targets and text output formats (also Hex/ S-record)
  • Assembly and label listings available for debugging or exporting
  • Conditional compilation, macros, structures, unions, scopes

There are three methods to install 64tass on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install 64tass Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install 64tass using apt-get by running the following command:

sudo apt-get -y install 64tass

Install 64tass Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install 64tass using apt by running the following command:

sudo apt -y install 64tass

Install 64tass Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install 64tass using aptitude by running the following command:

sudo aptitude -y install 64tass

How To Uninstall 64tass on Ubuntu 20.04

To uninstall only the 64tass package we can use the following command:

sudo apt-get remove 64tass

Uninstall 64tass And Its Dependencies

To uninstall 64tass and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove 64tass

Remove 64tass Configurations and Data

To remove 64tass configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge 64tass

Remove 64tass configuration, data, and all of its dependencies

We can use the following command to remove 64tass configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge 64tass

References

Summary

In this tutorial we learn how to install 64tass package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.