CentOS 有趣命令之水族馆asciiquarium

本文介绍如何安装Term-Animation包及asciiquarium,包括wget下载源码包、使用yum安装依赖软件、编译安装等步骤。完成安装后,在终端运行asciiquarium即可展示动态水族馆。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.首先安装Term-Animation包

1. wget http://search.cpan.org/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz
2. tar xf Term-Animation-2.4.tar.gz 
3. cd Term-Animation-2.4/

2.下载 perl-Curses和perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker软件并安装

1. yum install perl-Curses.x86_64  -y
2. yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker  -y
3.  cd /root/Term-Animation-2.4/  && perl Makefile.PL
4. make
5. make install

3.然后安装asciiquarium

1. wget http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz
2. tar -zxvf asciiquarium.tar.gz
3. cd asciiquarium_1.1/
4. cp asciiquarium /usr/local/bin
5. chmod +x /usr/local/bin/asciiquarium

4. 之后输入asciiquarium就会出现水族馆了

效果图

**加粗样式**

评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值