首页 文章

如何在AWS Linux上安装Fish Shell

提问于
浏览
2

我似乎无法在AWS Linux实例上安装Fish shell . 我一直收到以下错误,似乎无法找到它的修复程序 .

[root@ip-172-31-20-125 ec2-user]# yum -y install fish
Loaded plugins: priorities, update-motd, upgrade-helper
Repository shells_fish_release_2 is listed more than once in the configuration
Resolving Dependencies
--> Running transaction check
---> Package fish.x86_64 0:2.5.0-1.2 will be installed
--> Processing Dependency: hostname for package: fish-2.5.0-1.2.x86_64
--> Finished Dependency Resolution
Error: Package: fish-2.5.0-1.2.x86_64 (shells_fish_release_2)
           Requires: hostname
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

1 回答

  • 4

    与Centos 6相同 .

    from:

    cd /etc/yum.repos.d/
    wget http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_6/shells:fish:release:2.repo
    yum install fish
    

相关问题