How To Install gambit-c on CentOS 7

In this tutorial we learn how to install gambit-c on CentOS 7. gambit-c is Scheme programming system

Introduction

In this tutorial we learn how to install gambit-c on CentOS 7.

What is gambit-c

Gambit-C includes a Scheme interpreter and a Scheme compiler which can be used to build standalone executables. Because the compiler generates portable C code it is fairly easy to port to any platform with a decent C compiler. The Gambit-C system conforms to the R4RS, R5RS and IEEE Scheme standards. The full numeric tower is implemented, including infinite precision integers (bignums), rationals, inexact reals (floating point numbers), and complex numbers.

We can use yum or dnf to install gambit-c on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gambit-c.

Install gambit-c on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gambit-c using yum by running the following command:

sudo yum -y install gambit-c

Install gambit-c on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install gambit-c using dnf by running the following command:

sudo dnf -y install gambit-c

How To Uninstall gambit-c on CentOS 7

To uninstall only the gambit-c package we can use the following command:

sudo dnf remove gambit-c

References

Summary

In this tutorial we learn how to install gambit-c on CentOS 7 using yum and dnf.