TranslateProject/sources/tech/20151215 Linux or UNIX Desktop Fun--Terminal ASCII Aquarium.md
2015-12-20 14:44:06 +08:00

2.4 KiB
Raw Blame History

translating---geekpi

Linux / UNIX Desktop Fun: Terminal ASCII Aquarium

You can now enjoy mysteries of the sea from the safety of your own terminal using ASCIIQuarium. It is an aquarium/sea animation in ASCII art created using perl.

Install Term::Animation

First, you need to install Perl module called Term-Animation. Open a command-line terminal (select Applications > Accessories > Terminal), and then type:

$ sudo apt-get install libcurses-perl
$ cd /tmp
$ 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 test
$ sudo make install

Download and Install ASCIIQuarium

While still at bash prompt, type:

$ cd /tmp
$ wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
$ tar -zxvf asciiquarium.tar.gz
$ cd asciiquarium_1.0/
$ sudo cp asciiquarium /usr/local/bin
$ sudo chmod 0755 /usr/local/bin/asciiquarium

How do I view my ASCII Aquarium?

Simply type the following command:

$ /usr/local/bin/asciiquarium

OR

$ perl /usr/local/bin/asciiquarium

Fig.01: ASCII Aquarium

youtube 视频

Video 01: ASCIIQuarium - Sea Animation on Linux / Unix Desktop

Download: erminal ASCII Aquarium KDE and Mac OS X Version

Download asciiquarium. If you're running Mac OS X, try a packaged version that will run out of the box. For KDE users, try a KDE Screensaver based on the Asciiquarium.


via: http://www.cyberciti.biz/tips/linux-unix-apple-osx-terminal-ascii-aquarium.html

作者Vivek Gite 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出