How To Install ucblogo on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 437 words
Introduction
In this tutorial we learn how to install ucblogo on Ubuntu.
What is ucblogo
ucblogo is:
This is the UC Berkeley implementation of logo written primarily by Daniel Van Blerkom, Brian Harvey, Michael Katz, and Douglas Orleans. This version of logo is featured in Brian Harvey’s book _Computer_Science_Logo_Style, _Volume_1: Symbolic_Computing (ISBN 0-262-58151-5). This version provides the following special features:
- Random-access arrays.
- Variable number of inputs to user-defined procedures.
- Mutators for list structure (dangerous).
- Pause on error, and other improvements to error handling.
- Comments and continuation lines; formatting is preserved when procedure definitions are saved or edited.
- Terrapin-style tokenization (e.g., [2+3] is a list with one member) but LCSI-style syntax (no special forms except TO). The best of both worlds.
- First-class instruction and expression templates.
- Macros.
There are three methods to install ucblogo 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 ucblogo Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install ucblogo using apt-get by running the following command:
sudo apt-get -y install ucblogo
Install ucblogo Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install ucblogo using apt by running the following command:
sudo apt -y install ucblogo
Install ucblogo 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 ucblogo using aptitude by running the following command:
sudo aptitude -y install ucblogo
How To Uninstall ucblogo on Ubuntu
To uninstall only the ucblogo package we can use the following command:
sudo apt-get remove ucblogo
Uninstall ucblogo And Its Dependencies
To uninstall ucblogo and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove ucblogo
Remove ucblogo Configurations and Data
To remove ucblogo configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge ucblogo
Remove ucblogo configuration, data, and all of its dependencies
We can use the following command to remove ucblogo configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ucblogo
Dependencies
ucblogo have the following dependencies:
References
Summary
In this tutorial we learn how to install ucblogo package on Ubuntu using different package management tools: apt, apt-get and aptitude.