How To Install guile-g-wrap on Debian 11

In this tutorial we learn how to install guile-g-wrap on Debian 11. guile-g-wrap is scripting interface generator for C - Guile runtime

Introduction

In this tutorial we learn how to install guile-g-wrap on Debian 11.

What is guile-g-wrap

guile-g-wrap is:

G-Wrap is a tool (and Guile library) for generating function wrappers for inter-language calls. It currently only supports generating Guile wrappers for C functions.

This package contains the Guile standard wrapset, needed by Guile bindings generated by G-Wrap.

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

Install guile-g-wrap Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install guile-g-wrap

Install guile-g-wrap Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install guile-g-wrap using apt by running the following command:

sudo apt -y install guile-g-wrap

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

sudo aptitude -y install guile-g-wrap

How To Uninstall guile-g-wrap on Debian 11

To uninstall only the guile-g-wrap package we can use the following command:

sudo apt-get remove guile-g-wrap

Uninstall guile-g-wrap And Its Dependencies

To uninstall guile-g-wrap and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove guile-g-wrap

Remove guile-g-wrap Configurations and Data

To remove guile-g-wrap configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge guile-g-wrap

Remove guile-g-wrap configuration, data, and all of its dependencies

We can use the following command to remove guile-g-wrap configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge guile-g-wrap

Dependencies

guile-g-wrap have the following dependencies:

References

Summary

In this tutorial we learn how to install guile-g-wrap package on Debian 11 using different package management tools: apt, apt-get and aptitude.