How To Install ats-lang-anairiats on Ubuntu 20.04

In this tutorial we learn how to install ats-lang-anairiats on Ubuntu 20.04. ats-lang-anairiats is Legacy ATS v1 language compiler, named Anairiats

Introduction

In this tutorial we learn how to install ats-lang-anairiats on Ubuntu 20.04.

What is ats-lang-anairiats

ats-lang-anairiats is:

ATS is a programming language with a highly expressive type system rooted in the framework Applied Type System. In particular, both dependent types and linear types are available in ATS. The current implementation of ATS (ATS/Anairiats) is written in ATS itself. It can be as efficient as C/C++ and supports a variety of programming paradigms.

In addition, ATS contains a component ATS/LF that supports a form of (interactive) theorem proving, where proofs are constructed as total functions. With this component, ATS advocates a programming style that combines programming with theorem proving. Furthermore, this component may be used as a logical framework to encode various deduction systems and their (meta-)properties.

This package contains the compiler atsopt, the frontend atscc, and the lexer atslex.

This is the final release of ATS1. Please migrate your code to ATS2/Postiats, the compiler frontend patscc (patsopt), in the package ats2-lang. This package is for legacy code and bootstrapping purposes.

There are three methods to install ats-lang-anairiats 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 ats-lang-anairiats Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ats-lang-anairiats

Install ats-lang-anairiats Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ats-lang-anairiats using apt by running the following command:

sudo apt -y install ats-lang-anairiats

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

sudo aptitude -y install ats-lang-anairiats

How To Uninstall ats-lang-anairiats on Ubuntu 20.04

To uninstall only the ats-lang-anairiats package we can use the following command:

sudo apt-get remove ats-lang-anairiats

Uninstall ats-lang-anairiats And Its Dependencies

To uninstall ats-lang-anairiats and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ats-lang-anairiats

Remove ats-lang-anairiats Configurations and Data

To remove ats-lang-anairiats configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ats-lang-anairiats

Remove ats-lang-anairiats configuration, data, and all of its dependencies

We can use the following command to remove ats-lang-anairiats configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ats-lang-anairiats

References

Summary

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