# Installation

## Dependencies

### MPlayer

&kplayer; uses &mplayer; as the multimedia backend for playing audio and video files and streams. This ensures maximum variety of supported types of files and encodings.

You need to have &mplayer; version 0.90 or later. The recommended version is 1.0-pre5. If there are good binary packages for your distribution, use those. For example on Debian you would do

``echo` 'deb ftp://ftp.nerim.net/debian-marillat/ unstable main' >> `/etc/apt/sources.list``

``apt-get` update`

``apt-get` install mplayer-k7`

Substitute `unstable` for `stable` or `testing` as required, and `k7` for `386`, `586`, `686` or `k6`, according to your processor type.

As always compiling from source is an option.

### X11 and XVideo

X11 is required. Recommended versions are XFree86 4.2.x and 4.3.x, as well as X Server versions released by X.org.

XVideo extension is recommended. You can check your `/etc/X11/xorg.conf` or `/etc/X11/XF86Config-4` file for a line that reads

`Load "extmod"`

This is the line that loads XVideo extension, so make sure it is not disabled. Also check `/var/log/XFree86.0.log` to make sure that XVideo is loaded without error.

See the Configuration micro-HOWTO if you want to use a different video output.

### Qt and KDE

&kplayer; 0.5 supports &kde; 3.1.x, 3.2.x and 3.3.x, so you need to either run a relatively recent &kde; (recommended) or at least have &kde; libraries and the corresponding Qt libraries on your system.

## Installation

### Binary install

The recommended way to install &kplayer; is by using the binary package built specifically for your distribution. The Downloads section of the &kplayer; home page lists the available packages and repositories.

Add a section for your distro

### Compiling from source

If you cannot install a precompiled binary for any reason, you can compile &kplayer; yourself. See the Compilation Micro-HOWTO for instructions.

### Compiling from CVS

If you want to try the latest and greatest &kplayer; features at the risk of getting some parts of it broken, you can compile the latest CVS code. See the Compilation Micro-HOWTO for details.