From 4ed195fbf131aaa2fc1e22c6a0577e79a0a5949e Mon Sep 17 00:00:00 2001 From: Andrew Chilton Date: Sun, 22 Jun 2008 16:53:45 +1200 Subject: [PATCH] Update the INSTALLATION document. --- INSTALLATION | 64 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/INSTALLATION b/INSTALLATION index ff5f56e..f711744 100644 --- a/INSTALLATION +++ b/INSTALLATION @@ -4,17 +4,30 @@ Dependencies ------------ Perl Modules: + * Term::CallEditor * File::Touch * File::Glob * File::Basename * MIME::Base64 +Some of these are distributed with perl itself but is left as an excercise to +the reader to figure out what you need in your distribution (for Debian Etch, +see below). + +=============================================================================== + +Debian Packaging +---------------- + For Debian Etch, the following packages will need to be installed: - * perl-code - * libfile-touch-perl - * libfile-glob-perl - * libfile-basename-perl + +* perl +* libgetopt-mixed-perl +* libdigest-perl +* libfile-touch-perl +* libfile-slurp-perl +* libclass-accessor-perl Currently, Term::CallEditor is not in Etch and therefore will have to be added via other means. If you want to build a package from CPAN try the following: @@ -23,38 +36,41 @@ via other means. If you want to build a package from CPAN try the following: and install the newly created package. - $ sudo dpkg -i libterm-calleditor-perl + $ sudo dpkg -i libterm-calleditor-perl_0.11-1_all.deb -=============================================================================== +When inside the main cil directory, you can type the following to create a +Debian paackage: -Running 'cil' -------------- + $ fakeroot dpkg-buildpackage -tc -us -uc -The quickest method is to do the following: +which can then be installed with: - $ cd /path/to/cil/lib - $ export PERL5LIB=`pwd` - $ cd /path/to/somewhere/in/your/path - $ ln -s /path/to/cil/bin/cil - $ cil init + $ sudo dpkg -i -See http://kapiti.geek.nz/software/cil.html for some further instructions. +or added to a repository you are using for easier installation with apt-get or +aptitude. + +Then, you can just run 'cil' from the command line. =============================================================================== -Debian Packaging ----------------- +Running 'cil' without installing +-------------------------------- -When inside the main cil directory, you can type the following to create a -Debian paackage: +The quickest way to start is to 'cd' into the directory you untarred or cloned +the repo into. - $ fakeroot dpkg-buildpackage -tc -us -uc + $ cd /path/to/cil/lib + $ export PERL5LIB=`pwd` -which can then be installed with: +Then you can either run by: - $ sudo dpkg -i +* /path/to/cil/bin/cil init +* export PATH=/path/to/cil/bin:$PATH +* cd ~/bin && ln -s /path/to/cil/bin/cil -or added to a repository you are using for easier installation with apt-get or -aptitude. +=============================================================================== + +See http://kapiti.geek.nz/software/cil.html for further information. =============================================================================== -- 2.39.5