Debian Codegraph @

INSTALL

raw
1 PREREQUISITES
2
3 To use colordiff, you need Perl and an ANSI-colour enabled terminal. To
4 install as per the instructions below, you also need GNU Make.
5
6 INSTALLATION (Debian)
7
8 All branches of Debian now include the colordiff package, so the easiest
9 way to install is simply by doing:
10
11 apt-get install colordiff
12
13 You should then setup your colour preferences (see below).
14
15 INSTALLATION (Other systems)
16
17 1. (Optional) Edit the Makefile to change the preferred installation
18 locations - default is /usr/local/bin for the script itself, and /etc
19 for the central colour configuration file.
20
21 2. As root, type 'make install'. If 'make' is unavailable, simply copy
22 colordiff.pl to /usr/local/bin and colordiffrc to /etc by hand.
23
24 3. The central colour configuration file, by default /etc/colordiffrc is
25 read by each instance of the script. User-specific settings can be
26 enabled by copying this file to ~/.colordiffrc and making the
27 appropriate changes.
28
29 Note that by default, colordiff is configured to work in an environment
30 where the default background is generally 'dark'. If you are using a
31 light-coloured background, the default colours in colordiffrc won't work
32 very well - in that case, manually copy the file colordiffrc-lightbg to
33 either /etc/colordiffrc or ~/.colordiffrc as appropriate.
34
35 # vim: tw=72