How do I install asciiquarium?
How do I install and run asciiquarium in Ubuntu? It seems kind of complicated, and I don't know how to compile source code.
2 Answers
No compiling is required as there is a PPA that I believe is run by a Debian developer dedicated solely to asciiquarium. Open a Terminal window and paste the following two commands:
sudo add-apt-repository ppa:ytvwld/asciiquarium
sudo apt-get update && sudo apt-get install asciiquariumAnd then the application is yours to run:
Enjoy :)
Note: This PPA now has packages available for all versions of Ubuntu from Precise to Cosmic!
3These instructions will work for Ubuntu 12.04 and later.
Install term-animation
First, you need to install Perl module called term-animation. Open a command-line terminal by pressing CTRL+ALT+T.
First, type
sudo apt install libcurses-perlThis will install the program that will run perl scripts on your system.
Next, run
cd /tmpto change your working directory to /tmp, this is the folder where temporary files are stored.
After you are in /tmp, you are going to have to download the source code for term-animation. To do this, type
wget Extract the tarball you just downloaded by running this command:
tar -zxvf Term-Animation-2.6.tar.gzChange your working directory to the folder you just extracted (NOTE: if you ever forget where your working directory is, simply type pwd).
cd Term-Animation-2.6Next, you are going to run the perl script "Makefile.PL"
perl Makefile.PL && make && make test(The && operator separates commands)
Finally, we can finish installing term-animation by running this command
sudo make installDownload and install Asciiquarium
Once again, we are going to change our working directory to /tmp.
cd /tmpNow we are going to download the perl script that runs asciiquarium.
wget --no-check-certificate Extract the tarball you downloaded.
tar -zxvf asciiquarium.tar.gzNow change the working directory to the folder you extracted.
cd asciiquarium_1.1Next, we need to copy the perl script to /usr/local/bin where all of the executable commands are.
sudo cp asciiquarium /usr/local/bin/Finally, to be allowed to run asciiquarium, you need to give yourself permission to execute the perl script.
sudo chmod 0755 /usr/local/bin/asciiquariumRunning asciiquarium
To watch asciiquarium in your terminal, simply type
asciiquariumSimply press CTRL+C to stop the animation.
1