Home Servers Install perl-Moose on Linux Server

Install perl-Moose on Linux Server

2
0
60
install perl-Moose

If you were trying to install Perl-Moose on your server then there is chance that you have got any of these errors,

No package perl-Moose available

or

No package perl(Moose) available

This often comes, when you are trying to install Moose from yum by using,

yum install perl-Moose

or

yum install 'perl(Moose)'

If this happens, then you can still try to install perl-moose using CPAN command,

perl -MCPAN -e"install Moose"

If this doesn’t work for you then you will need to install Moose from tar package. To fix this and get back to what you were doing proceed as below,

Install Perl, required Compiler and Tools
yum install gcc
yum install 'perl(Digest::HMAC)'
yum install 'perl(Module::Build)'

For Debian server, you can use below command. Rest will be same,

apt-get install build-essential
Pull Moose Perl package, Unzip and Install it
Note: For latest perl-Moose package you can refer to, http://search.cpan.org/dist/Moose/

Issue below commands one by one from shell,

http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Moose-2.1604.tar.gz
tar xzvvf Moose*
cd Moose*
perl Makefile.PL
make install

And you should be good to go as this should now completely install Perl-Moose on your server.

Disclaimer: This guide was tested on impressively fast GoDaddy VPS.

Image courtesy: Book cover from book of Dave Rolsky, Stevan Little.

Load More Related Articles
Load More In Servers

2 Comments

  1. Charlie Meson

    November 22, 2015 at 1:39 pm

    This is great. perl -MCPAN -e”install Moose” saved me! Thanks!

    Reply

Ask, Discuss, Say Thanks!

Check Also

11 Bootable Partition Managers You Can Use

Amazing features of 10 free and paid bootable partition managers. …