-
Notifications
You must be signed in to change notification settings - Fork 1
这个页面将指导你安装neofetch并运行在你的系统上 .
最先想到和最普遍的安装方式是下载或者克隆最近版本并执行Makefile安装
1.下载最近版本
- https://github.com/dylanaraps/neofetch/releases/latest
2. 执行 make install
在脚本目录中去执行安装脚本.
- El Capitan: make PREFIX=/usr/local install
- Haiku: make PREFIX=/boot/home/config/non-packaged install
- OpenIndiana: gmake install
- MinGW/MSys: make -i install
- NOTE: 必须以ROOT权限运行.
- Git clone 这个仓库.
git clone https://github.com/dylanaraps/neofetch
- 更改到
neofetch
的工作目录.cd neofetch
- 使用 Makefile 安装 neofetch .
make install
-
El Capitan:
make PREFIX=/usr/local install
-
Haiku:
make PREFIX=/boot/home/config/non-packaged install
-
OpenIndiana:
gmake install
-
MinGW/MSys:
make -i install
- NOTE: You may have to run this as root.
NOTE: Neofetch 可以使用 make uninstall
轻松的卸载. 这将在你的系统中移除
所有的.
NOTE: 你可以在系统的任意目录下执行 neofetch, 所有的 makefile 都会把文件移动到合理的位置. Makefile是一个可选的.
这一小节列出 neofetch 为明确的 OS/发行版 制作的包 .
- 更新仓库
apk update
- 安装包
apk add neofetch
Neofetch 是 Termux's 默认仓库.
- 更新仓库
sudo apt-get update
- 安装包
sudo apt-get install neofetch
Neofetch 一个有效的官方仓库.
- 安装包
pacman -S neofetch
Neofetch 一个有效的官方仓库.
1.更新仓库
- sudo apt-get update
2. 安装包
- sudo apt-get install neofetch
- 安装 git and the git ports(8) driver
sudo prt-get depinst git
- 添加
6c36-git
仓库sudo wget -O /etc/ports/6c37-git.git "https://raw.githubusercontent.com/6c37/cross/master/git-driver/6c37-git.git"
- 同步仓库
sudo ports -u
- 用可选的text编辑器把仓库增加到 /etc/prt-get.conf
prtdir /usr/ports/6c37-git
- 安装包
sudo prt-get depinst neofetch
或者可以用这个端口替代 port:
- 下载 port
wget -O ~/work/neofetch/Pkgfile "https://raw.githubusercontent.com/6c37/crux-ports-git/3.2/neofetch/Pkgfile"
- Build 包
fakeroot pkgmk -d
- 安装包
sudo pkgadd neofetch#git-*.pkg.tar.gz
Neofetch 是一个 Debian Stretch/Sid's 官方仓库.
- 更新仓库
sudo apt-get update
- 安装包
sudo apt-get install neofetch
NOTE: Debian stretch
仓库仅包括 2.0.2版本.
NOTE2: 第三方的仓库已经被弃用 如果你想在 Debian stable 对 neofetch 保持更新, 你需要从 unstable 版本手动安装新包 或者直接从git 仓库里下载,它包括在单独的文件夹里 .
NOTE: 如果你使用 RHEL/CentOS, 不要用 dnf
, 用 yum
.
- 确认你已经安装了
dnf-plugins-core
- 开启COPR仓库
sudo dnf copr enable konimex/neofetch
- 安装包
sudo dnf install neofetch
或者(二选一):
- 如果你使用 RHEL/CentOS, 确认你已经安装了
epel-release
- 获取这个仓库文件
-
curl -o /etc/yum.repos.d/konimex-neofetch-epel-7.repo https://copr.fedorainfracloud.org/coprs/konimex/neofetch/repo/epel-7/konimex-neofetch-epel-7.repo
-
NOTE: 如果你使用 Fedora, 更改
epel-7
选项为fedora-23
或者是你的 Fedora 版本 . 但是如果你用 RHEL/CentOS 6, 改为epel-6
.
-
NOTE: 如果你使用 Fedora, 更改
- 安装包
sudo dnf install neofetch
你可以从 Gentoo/Funtoo官方仓库安装 app-misc/neofetch
.
安装git 版本的neofetch, 使用 =app-misc/neofetch-9999
安装.
可以官方安装
sudo Compile neofetch
- 添加
http://dylanaraps.com/repo
到你的 cydia 源. - 通过cydia安装
neofetch
.
- 通过Homebrew安装
neofetch
brew install neofetch
从官方仓库开始安装
sudo nix-env -i neofetch
从 SlackBuilds下载文件 并且遵从 这个指导.
您可以在System Software> System Utilities下的软件中心找到neofetch,或输入sudo eopkg it neofetch
。
从官方仓库安装
- 更新仓库
sudo apt update
- 安装包
sudo apt install neofetch
- 添加 PPA
sudo add-apt-repository ppa:dawidd0811/neofetch
- 更新仓库
sudo apt update
- 安装包
sudo apt install neofetch
此PPA包含直接来自主分支的每日构建的neofetch
- 添加 PPA
sudo add-apt-repository ppa:dawidd0811/neofetch-daily
- 更新仓库
sudo apt update
- 安装包
sudo apt install neofetch
从官方仓库安装
sudo xbps-install -S neofetch