How To Install gambit-c on Fedora 36

In this tutorial we learn how to install gambit-c in Fedora 36. gambit-c is Scheme programming system

Introduction

In this tutorial we learn how to install gambit-c on Fedora 36.

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 precision integers (bignums), rationals, inexact reals (floating point numbers), and complex numbers.

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

Install gambit-c on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install gambit-c

Install gambit-c on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gambit-c

How To Uninstall gambit-c on Fedora 36

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

sudo dnf remove gambit-c

gambit-c Package Contents on Fedora 36

/usr/bin/gsc
/usr/bin/gsi
/usr/bin/gsix
/usr/include/gambit-not409003.h
/usr/include/gambit.h
/usr/lib/.build-id
/usr/lib/.build-id/48
/usr/lib/.build-id/48/36dab7f70a6c327d624dba6ff8bd262b63ce72
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/c590e3a4234716289af83e058e7c59dce98cfb
/usr/lib64/gambit-c
/usr/lib64/gambit-c/_asm#.scm
/usr/lib64/gambit-c/_assert#.scm
/usr/lib64/gambit-c/_codegen#.scm
/usr/lib64/gambit-c/_define-syntax.scm
/usr/lib64/gambit-c/_eval#.scm
/usr/lib64/gambit-c/_gambit#.scm
/usr/lib64/gambit-c/_gambit.c
/usr/lib64/gambit-c/_gambitgsc.c
/usr/lib64/gambit-c/_gambitgsi.c
/usr/lib64/gambit-c/_io#.scm
/usr/lib64/gambit-c/_kernel#.scm
/usr/lib64/gambit-c/_nonstd#.scm
/usr/lib64/gambit-c/_num#.scm
/usr/lib64/gambit-c/_repl#.scm
/usr/lib64/gambit-c/_std#.scm
/usr/lib64/gambit-c/_syntax-boot.scm
/usr/lib64/gambit-c/_syntax-case-xform-boot.scm
/usr/lib64/gambit-c/_syntax-case-xform.scm
/usr/lib64/gambit-c/_syntax-common.scm
/usr/lib64/gambit-c/_syntax-pattern.scm
/usr/lib64/gambit-c/_syntax-rules-xform.scm
/usr/lib64/gambit-c/_syntax-template.scm
/usr/lib64/gambit-c/_syntax-xform-boot.scm
/usr/lib64/gambit-c/_syntax-xform.scm
/usr/lib64/gambit-c/_syntax.scm
/usr/lib64/gambit-c/_system#.scm
/usr/lib64/gambit-c/_thread#.scm
/usr/lib64/gambit-c/_with-syntax-boot.scm
/usr/lib64/gambit-c/_x86#.scm
/usr/lib64/gambit-c/bin
/usr/lib64/gambit-c/bin/gambcomp-C
/usr/lib64/gambit-c/bin/gambcomp-java
/usr/lib64/gambit-c/bin/gambcomp-js
/usr/lib64/gambit-c/bin/gambcomp-php
/usr/lib64/gambit-c/bin/gambcomp-python
/usr/lib64/gambit-c/bin/gambcomp-ruby
/usr/lib64/gambit-c/bin/gambdoc
/usr/lib64/gambit-c/bin/gsc
/usr/lib64/gambit-c/bin/gsc-script
/usr/lib64/gambit-c/bin/gsi
/usr/lib64/gambit-c/bin/gsi-script
/usr/lib64/gambit-c/bin/scheme-ieee-1178-1990
/usr/lib64/gambit-c/bin/scheme-r4rs
/usr/lib64/gambit-c/bin/scheme-r5rs
/usr/lib64/gambit-c/bin/scheme-srfi-0
/usr/lib64/gambit-c/bin/six
/usr/lib64/gambit-c/bin/six-script
/usr/lib64/gambit-c/digest#.scm
/usr/lib64/gambit-c/digest.scm
/usr/lib64/gambit-c/gambit#.scm
/usr/lib64/gambit-c/libgambit.a
/usr/lib64/gambit-c/libgambitgsc.a
/usr/lib64/gambit-c/libgambitgsi.a
/usr/lib64/gambit-c/r4rs#.scm
/usr/lib64/gambit-c/r5rs#.scm
/usr/lib64/gambit-c/syntax-case.scm
/usr/lib64/libgambit.a
/usr/lib64/libgambitgsc.a
/usr/lib64/libgambitgsi.a
/usr/share/doc/gambit-c
/usr/share/doc/gambit-c/README
/usr/share/emacs/site-lisp/gambit.el
/usr/share/emacs/site-lisp/gambit.elc
/usr/share/emacs/site-lisp/site-start.d/gambit-init.el
/usr/share/licenses/gambit-c
/usr/share/licenses/gambit-c/LGPL.txt
/usr/share/licenses/gambit-c/LICENSE-2.0.txt
/usr/share/man/man1/gsi.1.gz

References

Summary

In this tutorial we learn how to install gambit-c on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).