WebFaction
Community site: login faq

Colordiff is a CLI app that will colourise the output of diff, making it easier to read. I guess the thing to do would be to install it to my home directory? It doesn't seem to be available on servers.

asked 20 Nov '10, 13:19

petemounce
526
accept rate: 0%


You can install colordiff in your home directory with the following steps:

  1. Download colordiff
  2. Extract the tarball: tar zxf colordiff-1.0.9.tar.gz
  3. Create installation directories in your home directory: mkdir ~/bin ~/man ~/etc
  4. Edit colordiff-1.0.9/Makefile to point INSTALL_DIR, MAN_DIR, and ETC_DIR at the installation directories you created. Use absolute paths, eg INSTALL_DIR=/home/username/bin
  5. Run make install in the colordiff-1.0.9 directory. The script will complain about changing ownership of colordiffrc - ignore the error.

That's it, you're done :)

permanent link

answered 20 Nov '10, 13:37

seanf
12.2k42136
accept rate: 37%

edited 20 Nov '10, 13:41

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×5
×5
×2

question asked: 20 Nov '10, 13:19

question was seen: 3,922 times

last updated: 20 Nov '10, 13:41

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2021 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM