centos 安装fish
时间: 2023-08-23 11:04:33 浏览: 96
要在CentOS上安装Fish,您可以按照以下步骤进行操作:
1. 使用命令行登录到CentOS系统。
2. 首先,您可以通过以下命令下载Fish的安装包:
```
wget https://download.opensuse.org/repositories/shells:/fish/CentOS_8/x86_64/fish-3.4.1-2.1.x86_64.rpm
```
3. 安装Fish。使用以下命令安装刚刚下载的Fish安装包:
```
rpm -ivh fish-3.4.1-2.1.x86_64.rpm
```
4. 设置Shell为Fish。使用以下命令将默认Shell更改为Fish:
```
chsh -s /usr/bin/fish
```
这将将您的默认Shell更改为Fish,以便您在下次登录时使用它。
现在,您的CentOS系统已成功安装并设置了Fish Shell。您可以重新登录以开始使用Fish Shell的功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Centos7安装fish shell,介绍及使用](https://blog.csdn.net/qq_19402941/article/details/102644723)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [centos8终端fish安装](https://blog.csdn.net/hbuxiaofei/article/details/125464112)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文