ChucK on Intel® Galileo
Prerequisites
These instructions are written under the assumption that your Galileo is running the Intel® Galileo Development Kit for IoT linux image. These insructions may work on other Galileo Linux images that have a working GCC toolchain, alsa, etc installed.

The Iot Devkit image is available here

These instructions assume that you have installed the proper audio drivers for your hardware.
Download and Extract the ChucK source code
Download using wget and extract using tar

wget http://chuck.cs.princeton.edu/release/files/chuck-1.3.4.0.tgz

tar -xzvf chuck-1.3.4.0.tgz

Compile ChucK

cd chuck-1.3.4.0/src/

make linux-alsa

Compilation takes a while (at least 10 minutes). When it is done compiling install ChucK by running make install

make install

Download prebuilt binary (instead of compiling)
Alternatively, You can download a prebuilt binary for the Galileo (requires alsa) here copy chuck to /usr/bin then, run the command below

chmod 755 /usr/bin/chuck