How To Install ats2-lang on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 447 words
Introduction
In this tutorial we learn how to install ats2-lang
on Ubuntu.
What is ats2-lang
ats2-lang is:
ATS2 a.k.a. ATS/Postiats 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/Postiats) is written in ATS (ATS/Anairiats) 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 patsopt and the frontend patscc.
There are three methods to install ats2-lang
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ats2-lang Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ats2-lang
using apt-get
by running the following command:
sudo apt-get -y install ats2-lang
Install ats2-lang Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ats2-lang
using apt
by running the following command:
sudo apt -y install ats2-lang
Install ats2-lang 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 ats2-lang
using aptitude
by running the following command:
sudo aptitude -y install ats2-lang
How To Uninstall ats2-lang on Ubuntu
To uninstall only the ats2-lang
package we can use the following command:
sudo apt-get remove ats2-lang
Uninstall ats2-lang And Its Dependencies
To uninstall ats2-lang
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove ats2-lang
Remove ats2-lang Configurations and Data
To remove ats2-lang
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge ats2-lang
Remove ats2-lang configuration, data, and all of its dependencies
We can use the following command to remove ats2-lang
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ats2-lang
Dependencies
ats2-lang have the following dependencies:
References
Summary
In this tutorial we learn how to install ats2-lang
package on Ubuntu using different package management tools: apt, apt-get and aptitude.