From 6faf9ff1e059150f70eebeefe9fefdbc2a97d60b Mon Sep 17 00:00:00 2001 From: ethsol Date: Thu, 31 Mar 2022 12:48:39 +0200 Subject: [PATCH] Added install instructions for RHEL8 and clones --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 8d28ce7..cc3798f 100644 --- a/README.md +++ b/README.md @@ -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):