patscc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
patscc: command not found
or when using sudo you get the following error message
sudo: patscc: command not found
Solutions to patscc: command not found
How To Fix patscc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu patscc is provided by ats2-lang package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ats2-lang
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ats2-lang.
sudo apt -y install ats2-lang
Or if you have aptitude installed you can use the following command.
sudo aptitude install ats2-lang
Summary
In this tutorial we learn how to fix patscc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.