Linux/Unix 桌面趣事:ASCII 艺术水族箱

Vivek Gite 的头像

·

·

·

8,886 次阅读

你可以在你的终端中使用 ASCIIQuarium 安全地欣赏海洋的神秘了。它是一个用 perl 写的 ASCII 艺术水族箱/海洋动画。

安装 Term::Animation

首先你需要安装名为 Term-Animation 的perl模块。打开终端(选择程序 > 附件 > 终端),并输入:

$ 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

下载安装 ASCIIQuarium

接着在终端中输入:

$ 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

我怎么观赏 ASCII 水族箱?

输入下面的命令:

$ /usr/local/bin/asciiquarium

或者

$ perl /usr/local/bin/asciiquarium
Fig.01: ASCII Aquarium

ASCII 水族箱

相关媒体

下载:ASCII Aquarium 的 KDE 和 Mac OS X 版本

点此下载 asciiquarium。如果你运行的是 Mac OS X,试下这个可以直接使用的已经打包好的版本。对于 KDE 用户,试试基于 Asciiquarium 的KDE 屏幕保护程序


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

作者:Vivek Gite 译者:geekpi 校对:wxy

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

7 条回复

  1. 绿色圣光 [Firefox 43.0|Windows 7] 的头像
    绿色圣光 [Firefox 43.0|Windows 7]

    看到这个,我想起了上初中的时候,在 Windows 系统上玩过的一款小游戏。控制轮船左右移动,投弹……记不清是什么名字了。

    来自青岛
  2. TimePower [Chrome 47.0|GNU/Linux] 的头像
    TimePower [Chrome 47.0|GNU/Linux]

    潜艇大战

  3. 执着的夏风 [Chromium 47.0|Ubuntu] 的头像
    执着的夏风 [Chromium 47.0|Ubuntu]

    桌面弹球

    来自舟山
  4. 星夜之幻 [Vivaldi 1.0|GNU/Linux] 的头像
    星夜之幻 [Vivaldi 1.0|GNU/Linux]

    潜艇大战,好游戏 就是再也找不到当年的版本了……

    来自福州
  5. 绿色圣光 [Iceweasel 38.5|GNU/Linux] 的头像
    绿色圣光 [Iceweasel 38.5|GNU/Linux]

    对!对!对!就是这个!

    来自青岛
  6. BIAOXYZ [Maxthon 4.4|Windows 7] 的头像
    BIAOXYZ [Maxthon 4.4|Windows 7]

    好萌的一堆鱼~

  7. z75315 [Chrome 46.0|Windows 10] 的头像
    z75315 [Chrome 46.0|Windows 10]

    这个必须点赞,对推广很有意义。

    来自北京

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注