Install package shells:fish:release:2 / fish

Select Your Operating System

CentOS

CentOS

Debian

Debian

Fedora

Fedora

openSUSE

openSUSE

RHEL

RHEL

Add repository and install manually

For openSUSE Tumbleweed run the following as root:

zypper addrepo http://download.opensuse.org/repositories/shells:fish:release:2/openSUSE_Tumbleweed/shells:fish:release:2.repo
zypper refresh
zypper install fish

For openSUSE Leap 42.3 run the following as root:

zypper addrepo http://download.opensuse.org/repositories/shells:fish:release:2/openSUSE_Leap_42.3/shells:fish:release:2.repo
zypper refresh
zypper install fish

For openSUSE Leap 42.2 run the following as root:

zypper addrepo http://download.opensuse.org/repositories/shells:fish:release:2/openSUSE_Leap_42.2/shells:fish:release:2.repo
zypper refresh
zypper install fish

For RedHat RHEL-6 run the following as root:

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

For RedHat RHEL-5 run the following as root:

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

For RHEL 7 run the following as root:

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

For Fedora 26 run the following as root:

dnf config-manager --add-repo http://download.opensuse.org/repositories/shells:fish:release:2/Fedora_26/shells:fish:release:2.repo
dnf install fish

For Fedora 25 run the following as root:

dnf config-manager --add-repo http://download.opensuse.org/repositories/shells:fish:release:2/Fedora_25/shells:fish:release:2.repo
dnf install fish

For Fedora 24 run the following as root:

dnf config-manager --add-repo http://download.opensuse.org/repositories/shells:fish:release:2/Fedora_24/shells:fish:release:2.repo
dnf install fish

For Fedora 23 run the following as root:

dnf config-manager --add-repo http://download.opensuse.org/repositories/shells:fish:release:2/Fedora_23/shells:fish:release:2.repo
dnf install fish

For Debian 9.0 run the following as root:

echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_9.0/ /' > /etc/apt/sources.list.d/fish.list 
apt-get update
apt-get install fish

You can add the repository key to apt. Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information). To add the key, run:

wget -nv http://download.opensuse.org/repositories/shells:fish:release:2/Debian_9.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update

For Debian 8.0 run the following as root:

echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_8.0/ /' > /etc/apt/sources.list.d/fish.list 
apt-get update
apt-get install fish

You can add the repository key to apt. Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information). To add the key, run:

wget -nv http://download.opensuse.org/repositories/shells:fish:release:2/Debian_8.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update

For CentOS 7 run the following as root:

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

For CentOS 6 run the following as root:

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