玩转Linux/Unix桌面:Ascii字符水族馆
十月 26, 2011 | 1,342次查看 3条评论
这是一个使用Perl创造出来的ASCII字符水族馆动画,它是运行在终端窗口里的。这个水族馆同样可以运行在Unix,OSX上
1、Term::Animation
首先安装Perl Module: Term-Animation,打开终端,依次运行
$ 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
2、ASCII Quarium
使用如下命令来下载和安装水族馆
$ 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

