How To Install jasmin-sable on Ubuntu 18.04

In this tutorial we learn how to install jasmin-sable on Ubuntu 18.04. jasmin-sable is Java class (.class) file assembler

Introduction

In this tutorial we learn how to install jasmin-sable on Ubuntu 18.04.

What is jasmin-sable

jasmin-sable is:

Jasmin is a Java ASseMbler INterface. It takes ASCII descriptions of Java classes, written in the Java Virtual Machine instruction set in an assembler-like syntax.

Jasmin converts these input files into binary Java class files (.class) suitable for executing on an Java Virtual Machine.

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

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

sudo apt-get update

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

sudo apt-get -y install jasmin-sable

Install jasmin-sable Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jasmin-sable

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

sudo aptitude -y install jasmin-sable

How To Uninstall jasmin-sable on Ubuntu 18.04

To uninstall only the jasmin-sable package we can use the following command:

sudo apt-get remove jasmin-sable

Uninstall jasmin-sable And Its Dependencies

To uninstall jasmin-sable and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove jasmin-sable

Remove jasmin-sable Configurations and Data

To remove jasmin-sable configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge jasmin-sable

Remove jasmin-sable configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jasmin-sable

References

Summary

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