Added install instructions for RHEL8 and clones

This commit is contained in:
ethsol 2022-03-31 12:48:39 +02:00 committed by David Peter
parent 37697f4ad3
commit 6faf9ff1e0
1 changed files with 15 additions and 0 deletions

View File

@ -592,6 +592,21 @@ You can install `fd` via xbps-install:
xbps-install -S fd
```
### on RedHat Enterprise Linux 8 (RHEL8) or Almalinux 8 or Rocky Linux 8
Get the latest fd-v*-x86_64-unknown-linux-gnu.tar.gz file from [sharkdp on github](https://github.com/sharkdp/fd/releases)
```
tar xf fd-v*-x86_64-unknown-linux-gnu.tar.gz
chown -R root:root fd-v*-x86_64-unknown-linux-gnu
cd fd-v*-x86_64-unknown-linux-gnu
sudo cp fd /bin
gzip fd.1
sudo cp fd.1.gz /usr/share/man/man1
sudo cp autocomplete/fd.bash /usr/share/bash-completion/completions/fd
source /usr/share/bash-completion/completions/fd
fd
```
### On macOS
You can install `fd` with [Homebrew](https://formulae.brew.sh/formula/fd):