Next: starting, Previous: Top, Up: Top

## 1 Installation and files

### 1.1 Installation

Some UNIX variants allready have Open Cubic Player in their packaging systems. If not, you are going to need to download the source and extract it.

> wget http://stian.lunafish.org/ocp/ocp-0.1.21.tar.bz2 tar xfz ocp-0.1.21.tar.bz2

Please make sure that you have development-packages of the following libraries installed:

libmad libsidplay 1.x libvorbis / libogg ncurses Xlib libXpm

To compile and install do the following

> cd ocp-0.1.21 ./configure && make install

If configure complains about any-missing headers/libraries, please consule the list above needed libraries.

### 1.2 Files

When OCP loads a module the information stored inside the file is read and stored in a special file( the module information cache.) Actually the cache splits up into three files:

- CPARCHS.DAT Information about archives and files stored inside
- CONDZTAG.DAT Paths to `.MDZ` files (see appendix See mdz.)
- CPMODNFO.DAT Informations about various modules

If you delete these files all file information gathered is permanently lost.

The `doc` directory contains documentation files in various formats and release notes etc. You can safely delete this directory if you are running out of disk space.

### 1.3 OCP and ALSA (linux)

OCP doesn’t support ALSA directly, since OCP is written for OSS which is cross-platform. Please load `snd-pcm-oss` and `snd-mixer-oss`, to provide a legacy OSS interface from ALSA.