How To Install scheme9 on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 412 words
Introduction
In this tutorial we learn how to install scheme9 on Ubuntu.
What is scheme9
scheme9 is:
Scheme 9 from Empty Space is an interpreter for a broad subset of R4RS Scheme, and runs in many popular environments, including Linux, *BSD, the unmentionable horror, and Plan 9. The S9fES code strives to be simple and comprehensible. It is particularly interesting to people who want to (a) try Scheme without having to jump through too many hoops (S9fES is very portable); or (b) study the implementation of Scheme (in a language other than Scheme). A free online textbook describing the system is also available.
There are three methods to install scheme9 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 scheme9 Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install scheme9 using apt-get by running the following command:
sudo apt-get -y install scheme9
Install scheme9 Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install scheme9 using apt by running the following command:
sudo apt -y install scheme9
Install scheme9 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 scheme9 using aptitude by running the following command:
sudo aptitude -y install scheme9
How To Uninstall scheme9 on Ubuntu
To uninstall only the scheme9 package we can use the following command:
sudo apt-get remove scheme9
Uninstall scheme9 And Its Dependencies
To uninstall scheme9 and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove scheme9
Remove scheme9 Configurations and Data
To remove scheme9 configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge scheme9
Remove scheme9 configuration, data, and all of its dependencies
We can use the following command to remove scheme9 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge scheme9
Dependencies
scheme9 have the following dependencies:
References
Summary
In this tutorial we learn how to install scheme9 package on Ubuntu using different package management tools: apt, apt-get and aptitude.