Debian/Ubuntu <a name="debian">
--------------
The following instructions will explain how to configure, compile, and install
Csound 6 on Debian and Ubuntu systems.
### Requirements
You will need root access, primarily to allow installation of dependencies
required for building Csound, as well as for installing into /usr/local.
### Building Csound 6
The following instructions are written for those getting a copy of the source code from Git.
You will need to adjust the steps accordingly when using the source tarball from
the files section.
The first thing to do is make sure you have all of the required dependencies for
building Csound. In a terminal, do the following:
1. Edit, as root, `/etc/apt/sources.list` and ensure that each line beginning with `deb` has another line below it that is identical except that `deb` is replaced with `deb-src`. Then run `sudo apt-get update`.
1. `sudo apt-get build-dep csound`
2. `sudo apt-get install cmake`
3. `sudo apt-get install git `
The following numbered steps are to be done in a terminal for building and
installing Csound:
1. `cd ~ `
2. `mkdir csound`
3. `cd csound`
4. `git clone
csound/csound csound`
5. `mkdir cs6make `
6. `cd cs6make `
7. `cmake ../csound`
8. `make -j6 `
9. `sudo make install `
10. `sudo ldconfig `
At this point, Csound 6 should now be compiled and installed into the /usr/local
set of folders.