diff --git a/README.md b/README.md index 1c49769..aad2566 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,53 @@ brew install fish ### 3. How do I install the latest fish on some Linux? -With git, from the source. +#### Debian + +```sh +wget http://download.opensuse.org/repositories/shells:fish:release:2/Debian_8.0/Release.key +apt-key add - < Release.key +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 +``` + +#### Ubuntu + +```sh +sudo apt-add-repository ppa:fish-shell/release-2 +sudo apt-get update +sudo apt-get install fish +``` + +#### CentOS + +```sh +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 +``` + +#### Fedora + +```sh +cd /etc/yum.repos.d/ +wget http://download.opensuse.org/repositories/shells:fish:release:2/Fedora_23/shells:fish:release:2.repo +yum install fish +``` + +#### Arch Linux + +```sh +pacman -S fish +``` + +#### Gentoo + +```sh +emerge fish +``` + +#### From source ```sh sudo apt-get -y install git gettext automake autoconf \