You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在AWS Amazon Linux EC2实例上安装neofetch与screenfetch问题咨询

Amazon Linux 系统EC2实例安装neofetch、screenfetch操作步骤

前置依赖安装

执行以下命令更新yum缓存并安装必须的依赖组件:
sudo yum update -y && sudo yum install git bash -y

安装neofetch

  • 克隆项目源码到本地:git clone https://github.com/dylanaraps/neofetch.git
  • 进入源码目录执行安装:cd neofetch && sudo make install
  • 验证安装:执行neofetch即可输出系统信息,代表安装成功

安装screenfetch

  • 克隆项目源码到本地:git clone https://github.com/KittyKatt/screenFetch.git
  • 进入源码目录配置可执行文件:cd screenFetch && sudo cp screenfetch-dev /usr/bin/screenfetch && sudo chmod +x /usr/bin/screenfetch
  • 验证安装:执行screenfetch即可输出系统信息,代表安装成功

可选后续操作

安装完成后如果不需要保留源码文件,可执行以下命令删除:
rm -rf ~/neofetch ~/screenFetch
如果需要卸载两款工具,执行对应命令即可:

  • 卸载neofetch:sudo rm -rf /usr/bin/neofetch /usr/share/man/man1/neofetch.1
  • 卸载screenfetch:sudo rm /usr/bin/screenfetch

内容的提问来源于stack exchange,提问作者HARSHAL RATHORE

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.05 07:36:04