mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-29 21:41:00 +08:00
66 lines
2.3 KiB
Markdown
66 lines
2.3 KiB
Markdown
Linux/Unix桌面趣事:终端ASCII水族箱
|
||
================================================================================
|
||
你可以在你的终端中使用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](http://s0.cyberciti.org/uploads/tips/2011/01/screenshot-ASCIIQuarium.png)
|
||
|
||
### 相关媒体 ###
|
||
|
||
注:youtube 视频
|
||
<iframe width="596" height="335" frameborder="0" allowfullscreen="" src="//www.youtube.com/embed/MzatWgu67ok"></iframe>
|
||
|
||
[视频01: ASCIIQuarium - Linux/Unix桌面上的海洋动画][1]
|
||
|
||
### 下载:ASCII Aquarium的KDE和Mac OS X版本 ###
|
||
|
||
[下载asciiquarium][2]。如果你运行的是Mac OS X,试下一个可以直接使用已经打包好的[版本][3]。对于KDE用户,试试基于Asciiquarium的[KDE屏幕保护程序][4]
|
||
|
||
--------------------------------------------------------------------------------
|
||
|
||
via: http://www.cyberciti.biz/tips/linux-unix-apple-osx-terminal-ascii-aquarium.html
|
||
|
||
作者:Vivek Gite
|
||
译者:[geekpi](https://github.com/geekpi)
|
||
校对:[校对者ID](https://github.com/校对者ID)
|
||
|
||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||
|
||
[1]:http://youtu.be/MzatWgu67ok
|
||
[2]:http://www.robobunny.com/projects/asciiquarium/html/
|
||
[3]:http://habilis.net/macasciiquarium/
|
||
[4]:http://kde-look.org/content/show.php?content=29207
|