Install Asciiquarium on Centos 6
Posted on January 30, 2018 • 1 minutes • 146 words • Suggest Changes
I’m writing a “fun” script, and one of the fun commands it executes is Asciiquarium. This is my guide on how I got it working in Centos 6 🙂
First the dependecies :
yum install perl-Curses perl-ExtUtils-MakeMaker
If you miss one, you will get his error :
Can't locate ExtUtils/MakeMaker.pm in @INC
First we need Term::Animation, this can be installed using by downloading and making it locally. Note that make test, will fail due to missing Test::More in Centos, that’s not a big deal, and it will work without it as well.
wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz tar -zxvf Term-Animation-2.4.tar.gz cd Term-Animation-2.4/ perl Makefile.PL && make make install
After we got that installed, we can download ASCIIQuarium and install it :
wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz tar -zxvf asciiquarium.tar.gz cd asciiquarium_1.0/ cp asciiquarium /usr/games/ chmod 755 /usr/games/asciiquarium
And there we go running /usr/games/asciiquarium will give you a nice fish aquarium onscreen 🙂