Skip to content
Mike.lifeguard edited this page Aug 14, 2011 · 2 revisions

Installing MediaWiki::Bot

To install, use cpan or one of the newer clients like cpanm:

  • cpan MediaWiki::Bot
  • cpanm MediaWiki::Bot

Manually

Install the prerequisites before beginning, and get the current download URL from https://metacpan.org/release/MediaWiki-Bot.

cd /tmp
wget http://cpan.cpantesters.org/authors/id/L/LI/LIFEGUARD/MediaWiki-Bot-3.4.0.tar.gz
...
tar xzvf MediaWiki-Bot.tar.gz
cd MediaWiki-Bot
perl Makefile.PL && make && make test && make install

You may need to use sudo for the make install step.

Installing your own perl

If you're doing serious development work in Perl, you should install your own perl separate from the one your system came with. Perlbrew is the easiest way to do that. You'll get a modern, pristine, version of perl to work with. Newer perls have performance enhancements and bug fixes, and you can build it without threading, which gives a performance boost.