Perlwikibot/Installing

Installation
There are two ways to install.

Using CPAN shell (recommended)
If you use the CPAN shell to install MediaWiki::Bot, the entire process is automated:

user@host:~$ sudo -i root@host:~# cpan cpan> install MediaWiki::Bot ...

You might have CPAN configured such that you don't need to become root initially.

Manual
Otherwise, you can install it manually. First install the dependencies (listed below), then install MediaWiki::Bot. To install this module type the following in the root directory or a checkout from SVN or an unpacked tarball:

user@host:~$ perl Makefile.PL  user@host:~$ make user@host:~$ make test user@host:~$ sudo make install

You might use other methods to become root instead of sudo.

The test scripts included with  require a working internet connection. If the test suite fails, it might be safe to install the module anyway. When in doubt, email perlwikibot@googlegroups.com with the complete output of the test suite and ask for advice.

Dependencies
This module requires these other modules and libraries: