小火车来咯(redhat7.2用sl)

最近看到一个很有意思的东西,一个小火车,ls命令我们都知道是,( list directory contents)命令用于显示指定工作目录下之内容(列出目前工作目录所含的文件及子目录)。

但是有一个sl,出现一个小火车,从屏幕右边开往左边。不用怀疑,是sl不是ls。

 那么这个怎么实现呢?

目录

思路分析:

 完整指令:

总结:


思路分析:

我查看了一下资料下面的指令

#sudo apt-get install sl 

但是我用是redhat7.2版本的,找了很久的资料,发现有种说法是redhat中没有apt-get,需要用yum来下载,然后我就用yum install sl来下载,后面发现下载失败。

最开始输入sl是未找到命令的,说明这个是需要自行下载或者自己编写。

用yum安装尝试了一下,发现没有找到,安装错误了。 

#yum install sl

 输入sl发现确实是按照失败了。

原因:RedHat系统安装Epel报错(没有可用的的软件包epel-release)(如果不是这个原因希望大家能够指正)

 安装epel-release,我是在这个网站找了怎么安装。

参考链接

#sudo yum install epel-release pwgen -y

epel-release安装成功了 ,再次尝试着安装sl

#yum install sl

 惊喜的发现安装成功了,赶快运行sl,终于出现了想象中的画面。

小火车来咯。

 

 完整指令:

#sudo yum install epel-release pwgen -y
#yum install sl
#sl

总结:

这个还是挺有意思的,就是找了这么久在中redhat没有找到有命令行游戏,但是在Ubuntu可以通过apt来安装一些游戏。如: sudo apt install bastet。但是redhat用sudo yum install bastet就显示没有可用软件包。用sudo apt install bastet就更加不行了,找不到apt命令。

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
GrADS - Grid Analysis and Display System Version 1.8 http://grads.iges.org/grads GrADS Executables for UNIX & Linux GrADS is distributed free of charge, however certain copyright restrictions do apply; please read the "Licensing Information" at the end of this file. Versions of GrADS are available for several flavors of UNIX, Linux, PCs running Windows 95/NT or DOS, and MacIntosh computers. For download information consult http://grads.iges.org/grads/downloads.html The executables contained in this tar file are typically placed in the directory /usr/local/bin. If you do not have write permission for your /usr/local/bin directory, you can put them in the ~/bin subdirectory of your home directory. cd /usr/local/bin uncompress tarfile.Z tar xvf tarfile After unpacking the first tar file, you should have the following executables: gradsc Classic GrADS - readline only gradshdf GrADS with NCSA netCDF HDF, LATS, GUI, SDF gradsnc GrADS with unidata netCDF, LATS, GUI, SDF gradsdods DODS-enabled GrADS with unidata netCDF, LATS, GUI, SDF gribmap "Maps" a GRIB data set to a GrADS descriptor file gribscan Extracts grid info from a GRIB data set gxeps Converts GrADS metafiles to Postscript gxtran Displays metafiles stnmap Maps station data wgrib See http://wesley.wwb.noaa.gov/wgrib.html The second tar file (data.tar.Z) contains the GrADS fonts and maps data sets is also necessary and can be downloaded from http://grads.iges.org/grads/downloads.html. The contents of data.tar are typically placed in the directory /usr/local/lib/grads, the default location for these files. If you do not have write permission for /usr/local/lib/grads, you can place the files elsewhere, but you must also change the environment variable GADDIR so the GrADS executables will know where to find these files. cd dirname uncompress data.tar.Z tar xvf data.tar setenv GADDIR dirname (If dirname is not /usr/local/lib/grads) Documentation and Additional Information ---------------------------------------- Consult the GrADS homepage http://grads.iges.org/grads LICENSING INFORMATION --------------------- Grid Analysis and Display System (GrADS) Version 1.8 Copyright (c) 1988-2001 by Brian Doty (Center for Ocean-Land-Atmosphere Interactions, Institute for Global Environment and Society, Calverton, MD 20705) All Rights Reserved. Permission is granted for an individual or institution to use this software provided that: 1) The software is not sold in any way. 2) The software is not redistributed beyond your immediate working group without permission. 3) Attribution is given for any GrADS figures used in publications. 4) This copyright and no-warranty information is kept in a conspicuous location and that all references to this notice are maintained. 5) The user agrees to the following NO WARRANTY notice. NO WARRANTY The Grid Analysis and Display System (GrADS) is provided free of charge, thus is provided "as is" WITHOUT WARRANTY OF ANY KIND, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the GrADS program prove defective, you assume the cost of all necessary servicing, repair, or correction. In no event will Brian Doty and/or the Center for Ocean-Land-Atmosphere Interactions and/or the Institute for Global Environment and Society be liable to you for damages, including any lost profits, lost monies, or other special, incidental or consequential damages arising out of the use or inability to use (including but not limited to loss of data or data be rendered inaccurate or losses sustained by third parties or a failure of the program to operate with other software) the program, even if you have been advised of the possibility of such damages, or for any claim by any other party.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

封奚泽优

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值