]> git.mjollnir.org Git - cil.git/commitdiff
Update the INSTALLATION document.
authorAndrew Chilton <andychilton@gmail.com>
Sun, 22 Jun 2008 04:53:45 +0000 (16:53 +1200)
committerAndrew Chilton <andychilton@gmail.com>
Sun, 22 Jun 2008 04:53:45 +0000 (16:53 +1200)
INSTALLATION

index ff5f56e3117768009ee12fc5aa234345078396a8..f711744268001d0b718fb622b484d563f318fc6e 100644 (file)
@@ -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.
 
 ===============================================================================