Learn creative coding writing simple programs

108. Ubuntu: compile SuperCollider from source

In this episode we take a look at how to compile a program from its source code, in this case the SuperCollider audio programming environment.

To open the terminal you can press Ctrl+Alt+T. In the terminal you can type commands to give orders to the computer. After each command press ENTER. Please watch the video to understand the whole process.

The first command you type is *one* long line that starts with "sudo apt-get" and ends with "subversion git". It's not two or three lines. That means you should only press ENTER after "git". These are the commands used to compile and install SuperCollider:

sudo apt-get install jackd build-essential libqt4-dev libqtwebkit-dev libjack-dev libsndfile1-dev libasound2-dev libavahi-client-dev libicu-dev libreadline6-dev libfftw3-dev libxt-dev libcwiid-dev pkg-config cmake subversion git

cd
mkdir src
cd src
git clone --recursive git://github.com/supercollider/supercollider.git
cd supercollider
mkdir build
cd build
cmake -DSC_ED=ON -DSC_EL=OFF -DSC_WII=OFF -DSC_IDE=ON ..
make
sudo make install
sudo ldconfig
cd /usr/local/lib/gedit
mkdir ~/.local/share/gedit
cp -R plugins ~/.local/share/gedit

Tags: compile, supercollider, source, code

Code editor

You can make changes to the code below. Then
Reference

Questions and comments

Try to stay close to the topic of this episode. Use the Processing forums for help with unrelated Processing projects (or hire me for help ;-)

To indicate that a word in your comment is code, use the `backtick`. Example
Do `float` and `int` smell similar?
To highlight code blocks, surround it with ``` code-fences ``` like this:
``` void setup() { size(600, 600); } ```