crabgrass install on debian lenny

How to do a relatively clean crabgrass installation on debian lenny

You can do a crabgrass installation almost entirely debian-native on lenny now (as of 2007-12-14).

I started with a minimal stock etch installation, changed /etc/apt/sources.list to point to lenny, and then the rest of this worked for me.

prepare environment

As root:

for quick readers (for etch see below): to install cg from git for mysql and ruby 1.8 do

aptitude install ruby ruby1.8-dev  libredcloth-ruby librmagick-ruby rails rubygems rake  mongrel git-core mysql-server libmysql-ruby libmagick9-dev gs-esp libopenssl-ruby graphicsmagick openoffice.org openoffice.org-headless msttcorefonts

install ruby

apt-get install ruby ruby1.8-dev  libredcloth-ruby librmagick-ruby rails rubygems rake  mongrel

to checkout the code
apt-get install git-core

If running etch, pull the version from backports as follows:
apt-get -t etch-backports install git-core

for mysql (Crabgrass only works with mysql, although most tests may be run from sqlite.)
apt-get install mysql-server libmysql-ruby

These packages are required:
apt-get install libmagick9-dev gs-esp libopenssl-ruby

h2. install optional packages

These packages are optional, but necessary for image thumbnails
and document previews:

apt-get install graphicsmagick openoffice.org openoffice.org-headless msttcorefonts

Graphicsmagick is needed for building thumbnails. OfficeOffice is needed for
previewing Microsoft Office and OpenOffice documents. OpenOffice should be at
least version 2.4 or greater.

If you are running etch, you can install the
backport of openoffice:

apt-get -t etch-backports install openoffice.org openoffice.org-headless

follow installing crabgrass

   

Note, this page is a bit out of date right now, as the CG repository is no longer available via code.a.o as a svn repository.

Actually, it probably is, and should be removed.