How To Install cl-asdf-flv on Ubuntu 22.04

In this tutorial we learn how to install cl-asdf-flv on Ubuntu 22.04. cl-asdf-flv is file-local variables through Common Lisps ASDF

Introduction

In this tutorial we learn how to install cl-asdf-flv on Ubuntu 22.04.

What is cl-asdf-flv

cl-asdf-flv is:

ASDF-FLV provides support for file-local variables through ASDF (the Common Lisp standard utility for building projects and declaring dependencies between them).

A file-local variable behaves like PACKAGE and READTABLE with respect to LOAD and COMPILE-FILE: a new dynamic binding is created before processing the file, so that any modification to the variable essentially becomes file-local.

There are three methods to install cl-asdf-flv 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 cl-asdf-flv Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cl-asdf-flv

Install cl-asdf-flv Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cl-asdf-flv using apt by running the following command:

sudo apt -y install cl-asdf-flv

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

sudo aptitude -y install cl-asdf-flv

How To Uninstall cl-asdf-flv on Ubuntu 22.04

To uninstall only the cl-asdf-flv package we can use the following command:

sudo apt-get remove cl-asdf-flv

Uninstall cl-asdf-flv And Its Dependencies

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

sudo apt-get -y autoremove cl-asdf-flv

Remove cl-asdf-flv Configurations and Data

To remove cl-asdf-flv configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge cl-asdf-flv

Remove cl-asdf-flv configuration, data, and all of its dependencies

We can use the following command to remove cl-asdf-flv configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cl-asdf-flv

References

Summary

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