install fish shell in amazon ec2 instance

Switch to root

First we need to be root to install it. do
sudo su –

install using yum

go to : http://fishshell.com/files/2.1.0/linux/index.html

As of today(2016-4-14), it is:

yum-config-manager --add-repo http://fishshell.com/files/linux/RedHat_RHEL-6/fish.release:2.repo
yum -y install fish

follow the ‘Red Hat Enterprise Linux/CentOS 6‘ instruction, you should be good to go. 🙂

Advertisements

3 comments

  1. darnel · July 23, 2016

    I’m still ending on, did this happen to you? Thanks

    # yum-config-manager –add-repo http://fishshell.com/files/linux/RedHat_RHEL-6/fish.release:2.repo
    Loaded plugins: priorities, update-motd, upgrade-helper
    adding repo from: http://fishshell.com/files/linux/RedHat_RHEL-6/fish.release:2.repo
    grabbing file http://fishshell.com/files/linux/RedHat_RHEL-6/fish.release:2.repo to /etc/yum.repos.d/fish.release:2.repo
    fish.release:2.repo | 312 B 00:00
    repo saved to /etc/yum.repos.d/fish.release:2.repo
    # yum install fish
    Loaded plugins: priorities, update-motd, upgrade-helper
    Resolving Dependencies
    –> Running transaction check
    —> Package fish.x86_64 0:2.3.1-1.1 will be installed
    –> Processing Dependency: hostname for package: fish-2.3.1-1.1.x86_64
    –> Finished Dependency Resolution
    Error: Package: fish-2.3.1-1.1.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

    • LeOn · July 27, 2016

      That is odd, I have been installing fish for a lot of instances, this never happens to me. Some problem I used to have is no internet connection from our vpc and then i cannot even add the repo.

      • vojtechjirkovsky · July 27, 2016

        I resolve it by downloading .rpm file and installing using “rpm -i …” i.e. without yum.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s