在尝试安装Fish Shell时需要:hostname

时间:2017-03-23 03:25:40

标签: linux shell amazon-web-services yum fish

我正在尝试在更新的Amazon Linux机器上安装Fish Shell,我一直收到错误:

Requires: hostname

我尝试在Fish Shell网站上为CentOS 6和7提供的两个存储库,在尝试另一个之前删除这两个存储库。 Nettools已安装,它是标准的Amazon Linux安装,因此它具有所有基础知识。如果有人可以提供帮助,将不胜感激!提前致谢!

1 个答案:

答案 0 :(得分:1)

请参阅enter image description here

鱼的优点和缺点在于它比bash或zsh这样的shell更依赖于外部命令。您需要显式安装为您的操作系统提供Parent class has method a1(). Child class added a method a2(). Child automatically gets a1() through inheritance. Parent knows nothing about a2(). 命令的任何软件包。将来我们打算在安装fish时隐含依赖。