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


No package perl(Moose) available

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

yum install perl-Moose


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,

Issue below commands one by one from shell,
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.

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

By Mrinal Buddekar

Data Manager and a technology enthusiast! Mrinal Buddekar is Pune based blogger who loves building server, websites, technology, and affiliate blogging.

Hey there!

Help us reach out to awesome people lie you out there. We publish Tech and WordPress, Deals, and Reviews. WE DON'T SPAM!

Your Information will never be shared with any third party