How To Install acme on Ubuntu 22.04

In this tutorial we learn how to install acme on Ubuntu 22.04. acme is Multi-platform cross assembler for 6502/6510/65816 CPU

Introduction

In this tutorial we learn how to install acme on Ubuntu 22.04.

What is acme

acme is:

This is a cross assembler that can produce code for the following processors: 6502, 6510 (including illegal opcodes), 65c02 and 65816. ACME supports the standard assembler stuff like global/local/anonymous labels, offset assembly, conditional assembly and looping assembly. It can include other source files as well as binaries while assembling. Calculations can be done in integer or float mode. Oh, and it is fast.

There are three methods to install acme on Ubuntu 22.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 acme Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install acme

Install acme Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install acme

Install acme 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 acme using aptitude by running the following command:

sudo aptitude -y install acme

How To Uninstall acme on Ubuntu 22.04

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

sudo apt-get remove acme

Uninstall acme And Its Dependencies

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

sudo apt-get -y autoremove acme

Remove acme Configurations and Data

To remove acme configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge acme

Remove acme configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge acme

References

Summary

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