File: INSTALL

package info (click to toggle)
colordiff 1.0.18-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 176 kB
  • ctags: 10
  • sloc: perl: 455; xml: 201; makefile: 90; sh: 38
file content (35 lines) | stat: -rw-r--r-- 1,307 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PREREQUISITES

To use colordiff, you need Perl and an ANSI-colour enabled terminal.  To
install as per the instructions below, you also need GNU Make.

INSTALLATION (Debian)

All branches of Debian now include the colordiff package, so the easiest
way to install is simply by doing:

  apt-get install colordiff

You should then setup your colour preferences (see below).

INSTALLATION (Other systems)

1. (Optional) Edit the Makefile to change the preferred installation
locations - default is /usr/local/bin for the script itself, and /etc
for the central colour configuration file.

2. As root, type 'make install'.  If 'make' is unavailable, simply copy
colordiff.pl to /usr/local/bin and colordiffrc to /etc by hand.

3. The central colour configuration file, by default /etc/colordiffrc is
read by each instance of the script.  User-specific settings can be
enabled by copying this file to ~/.colordiffrc and making the
appropriate changes.

Note that by default, colordiff is configured to work in an environment
where the default background is generally 'dark'.  If you are using a
light-coloured background, the default colours in colordiffrc won't work
very well - in that case, manually copy the file colordiffrc-lightbg to
either /etc/colordiffrc or ~/.colordiffrc as appropriate.

# vim: tw=72