]> sipb.mit.edu Git - ikiwiki.git/blob - doc/install.mdwn
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git] / doc / install.mdwn
1 The easiest way to install ikiwiki is using the Debian package, but you can
2 also [[download]] the source and install it by hand. Ikiwiki should work on
3 most unix-like systems.
4
5 ## Dependencies
6
7 Ikiwiki is a perl program, and needs a recent version of perl such as
8 5.10. (5.8.0 has been reported not to work).
9
10 It's recommended you have a C compiler, as ikiwiki uses one to build
11 wrappers.
12
13 Ikiwiki requires the [[cpan Text::Markdown]], [[cpan URI]],
14 [[cpan HTML::Parser]], [[cpan HTML::Template]], and [[cpan HTML::Scrubber]]
15 perl modules be installed. It can also use a lot of other perl modules, if
16 they are available.
17
18 Various [[plugins]] use other perl modules and utilities; see their individual
19 documentation for details.
20
21 ## Debian
22
23 The Debian packages depend on and recommend an appropriate set of packages,
24 so just install ikiwiki using apt.
25
26 ## Fedora 7
27
28 While Fedora 7 doesn't have an ikiwiki package, you can install needed
29 perl modules using this command:
30
31         yum install perl-Text-Markdown perl-Mail-Sendmail perl-HTML-Scrubber \
32           perl-XML-Simple perl-TimeDate perl-HTML-Template perl-CGI-FormBuilder \
33           perl-CGI-Session perl-File-MimeInfo perl-gettext perl-Authen-Passphrase
34
35 ## macports
36
37 IkiWiki can be installed [from macports]
38 (http://www.macports.org/ports.php?by=name&substr=ikiwiki)
39 by running `sudo port install ikiwiki`.
40
41 ## Installing by hand
42
43 If you want to install by hand from the tarball, you should make sure that
44 all the perl modules are installed. This is one way to install them, using
45 CPAN:
46
47         PERL5LIB=`pwd` PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->install("Bundle::IkiWiki")'
48         PERL5LIB=`pwd` PERL_MM_USE_DEFAULT=1 perl -MCPAN -e 'CPAN::Shell->install("Bundle::IkiWiki::Extras")'
49
50 Then to build and install ikiwiki:
51
52         perl Makefile.PL # PREFIX=/dir to install elsewhere
53         make
54         make test # optional
55         make install
56
57 If you're using a shared hosting provider, of the sort where you don't have
58 root, you can still install ikiwiki. There are tutorials covering this for
59 a few providers:
60
61 * [[tips/NearlyFreeSpeech]]
62 * [[tips/DreamHost]]