Added install instructions for RHEL8 and clones

added chown for fd.1.gz, too
This commit is contained in:
ethsol 2022-03-31 12:55:43 +02:00 committed by David Peter
parent 6faf9ff1e0
commit 8a17ca25d6
1 changed files with 2 additions and 1 deletions

View File

@ -592,7 +592,7 @@ You can install `fd` via xbps-install:
xbps-install -S fd
```
### on RedHat Enterprise Linux 8 (RHEL8) or Almalinux 8 or Rocky Linux 8
### 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)
```
@ -601,6 +601,7 @@ 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
chown root:root fd.1.gz
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