# 2.3. Compilation and installation

If you previously installed KMidi, it would be wise to move your configuration directory (probably $KDEDIR/share/apps/kmidi/config/) before installing this version, since the files that go here have changed, and you'll want to use or at least look at the new versions. Similarly, before installing the non-KDE version of TiMidity, back up /usr/local/lib/timidity/*. On the other hand, for a completely fresh install you should remove any files in these two directories, since the old files might not be replaced by new versions.

If you have the entire kdemultimedia distribution, cd to the kdemultimedia directory and

       1 % ./configure
       2

Alternatively, to include all of the other user interfaces:

       1 % ./configure --enable-interface=ncurses,xaw,gtk,tcltk,slang,motif
       2

Then to make all the multimedia programs, stay in that directory, or to make just KMidi, cd to the kmidi directory, and

       1 % make
       2 % make install
       3

The non-KDE version of TiMidity, `timidity`, is compiled and installed at the same time as KMidi. (The man page `timidity.1` is not, however, automatically installed in `/usr/man/man1/`, )