Introduction
In this tutorial we learn how to install guile-g-wrap
on Ubuntu 20.04.
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 Ubuntu 20.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 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 Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install guile-g-wrap
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.