fish from shells:fish:release:3 project
选择您的操作系统
添加软件源并手动安装
对于 CentOS 8,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/shells:fish:release:3/CentOS_8/shells:fish:release:3.repo yum install fish
对于 CentOS 7,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/shells:fish:release:3/CentOS_7/shells:fish:release:3.repo yum install fish
对于 CentOS-9 Stream,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/ wget https://download.opensuse.org/repositories/shells:fish:release:3/CentOS-9_Stream/shells:fish:release:3.repo yum install fish
直接抓取二进制软件包
添加软件源并手动安装
对于 Debian 12,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/shells:fish:release:3.list curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null sudo apt update sudo apt install fish
对于 Debian 11,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_11/ /' | sudo tee /etc/apt/sources.list.d/shells:fish:release:3.list curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_11/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null sudo apt update sudo apt install fish
对于 Debian 10,请运行以下命令:
Keep in mind that the owner of the key may distribute updates, packages and repositories that your system will trust (more information).
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/shells:fish:release:3.list curl -fsSL https://download.opensuse.org/repositories/shells:fish:release:3/Debian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/shells_fish_release_3.gpg > /dev/null sudo apt update sudo apt install fish
直接抓取二进制软件包
添加软件源并手动安装
对于 Fedora 41,请以根用户 root 运行下面命令:
dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/shells:fish:release:3/Fedora_41/shells:fish:release:3.repo dnf install fish
对于 Fedora 40,请以根用户 root 运行下面命令:
dnf config-manager --add-repo https://download.opensuse.org/repositories/shells:fish:release:3/Fedora_40/shells:fish:release:3.repo dnf install fish
对于 Fedora 39,请以根用户 root 运行下面命令:
dnf config-manager --add-repo https://download.opensuse.org/repositories/shells:fish:release:3/Fedora_39/shells:fish:release:3.repo dnf install fish
直接抓取二进制软件包
添加软件源并手动安装
对于 15.6,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:fish:release:3/15.6/shells:fish:release:3.repo zypper refresh zypper install fish
对于 15.5,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:fish:release:3/15.5/shells:fish:release:3.repo zypper refresh zypper install fish
对于 15.4,请以根用户 root 运行下面命令:
zypper addrepo https://download.opensuse.org/repositories/shells:fish:release:3/15.4/shells:fish:release:3.repo zypper refresh zypper install fish