How To Install intercal on Debian 10
Introduction
In this tutorial we learn how to install intercal
on Debian 10.
What is intercal
intercal is:
This package is an implementation of the language INTERCAL, legendary for its perversity and horribleness, designed by Don Woods and James Lyon, who have since spent more than twenty years trying to live it down. This version adds COME FROM for extra flavor, and supports multithreading. Comes with language manual and examples including possibly the entire extant body of INTERCAL code.
This INTERCAL implementation works by compiling INTERCAL to C (thus de-obfuscating it), and then uses a C compiler to produce binaries (which are themselves possibly easier to read than the original intercal “source” code).
There are three methods to install intercal
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install intercal Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install intercal
using apt-get
by running the following command:
sudo apt-get -y install intercal
Install intercal Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install intercal
using apt
by running the following command:
sudo apt -y install intercal
Install intercal 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install intercal
using aptitude
by running the following command:
sudo aptitude -y install intercal
How To Uninstall intercal on Debian 10
To uninstall only the intercal
package we can use the following command:
sudo apt-get remove intercal
Uninstall intercal And Its Dependencies
To uninstall intercal
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove intercal
Remove intercal Configurations and Data
To remove intercal
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge intercal
Remove intercal configuration, data, and all of its dependencies
We can use the following command to remove intercal
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge intercal
Dependencies
intercal have the following dependencies:
References
Summary
In this tutorial we learn how to install intercal
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.