How To Install picolisp on Ubuntu 22.04

In this tutorial we learn how to install picolisp on Ubuntu 22.04. picolisp is Lisp interpreter and application server framework

Introduction

In this tutorial we learn how to install picolisp on Ubuntu 22.04.

What is picolisp

picolisp is:

Pico Lisp can be viewed from two different aspects: As a general purpose programming language, and a dedicated application server framework.

As a programming language, Pico Lisp provides a 1-to-1 mapping of a clean and powerful Lisp derivate, to a simple and efficient virtual machine. It supports persistent objects as a first class data type, resulting in a database system of Entity/Relation classes and a Prolog-like query language tightly integrated into the system.

As an application server framework, Pico Lisp provides for database management (including multi-user synchronization, DB garbage collection journalling and replication), web interface integrated (and generated from) the application data model, and an application server.

There are three methods to install picolisp on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install picolisp Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install picolisp using apt-get by running the following command:

sudo apt-get -y install picolisp

Install picolisp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install picolisp using apt by running the following command:

sudo apt -y install picolisp

Install picolisp 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 picolisp using aptitude by running the following command:

sudo aptitude -y install picolisp

How To Uninstall picolisp on Ubuntu 22.04

To uninstall only the picolisp package we can use the following command:

sudo apt-get remove picolisp

Uninstall picolisp And Its Dependencies

To uninstall picolisp and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove picolisp

Remove picolisp Configurations and Data

To remove picolisp configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge picolisp

Remove picolisp configuration, data, and all of its dependencies

We can use the following command to remove picolisp configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge picolisp

References

Summary

In this tutorial we learn how to install picolisp package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.