How To Install libffcall-dev on Debian 12

Learn how to install libffcall-dev on Debian 12 with this tutorial. libffcall-dev is foreign function call libraries - development files

Introduction

In this tutorial we learn how to install libffcall-dev on Debian 12.

What is libffcall-dev

libffcall-dev is:

ffcall is a collection of libraries which can be used to build foreign function call interfaces in embedded interpreters.

The main libffcall library consists of two parts:

avcall - calling C functions with variable arguments

callback - closures with variable arguments as first-class C functions

The avcall and callback modules are also provided as separate libraries, but those are deprecated and are installed only for backward compatibility.

Two other libraries are provided:

vacall - C functions accepting variable argument prototypes
(non-reentrant variant of part of 'callback')

trampoline - closures as first-class C functions
(non-reentrant variant of part of 'callback')

This package also includes documentation, in HTML format and as manual pages.

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

Install libffcall-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libffcall-dev

Install libffcall-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libffcall-dev

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

sudo aptitude -y install libffcall-dev

How To Uninstall libffcall-dev on Debian 12

To uninstall only the libffcall-dev package we can use the following command:

sudo apt-get remove libffcall-dev

Uninstall libffcall-dev And Its Dependencies

To uninstall libffcall-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libffcall-dev

Remove libffcall-dev Configurations and Data

To remove libffcall-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libffcall-dev

Remove libffcall-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libffcall-dev

Dependencies

libffcall-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libffcall-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.