Skip to content
Myr

Remove unnecessary sudo in front of commands

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Removed unnecessary "sudo" in front of all commands, also removed the "replace sudo with doas..." instruction at the end.

authored by AlbydS · committed by GitHub · parent ffecccf · Browse files · 1 file+17 added−19 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+17 added−19 removed

  • other:+17 added−19 removed

1 file+17 added−19 removed

modified:README.md+17 added-19 removed
534 unmodified lines
535536If you run Ubuntu 19.04 (Disco Dingo) or newer, you can install the537[officially maintained package](https://packages.ubuntu.com/fd-find):538```539sudo apt install fd-find539apt install fd-find540```541Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.542It is recommended that after installation, you add a link to `fd` by executing command543`ln -s $(which fdfind) ~/.local/bin/fd`, in order to use `fd` in the same way as in this documentation.
1 unmodified line
545546If you use an older version of Ubuntu, you can download the latest `.deb` package from the547[release page](https://github.com/sharkdp/fd/releases) and install it via:548``` bash549sudo dpkg -i fd_9.0.0_amd64.deb # adapt version number and architecture549dpkg -i fd_9.0.0_amd64.deb # adapt version number and architecture550```551552### On Debian553554If you run Debian Buster or newer, you can install the555[officially maintained Debian package](https://tracker.debian.org/pkg/rust-fd-find):556```557sudo apt-get install fd-find557apt-get install fd-find558```559Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.560It is recommended that after installation, you add a link to `fd` by executing command561`ln -s $(which fdfind) ~/.local/bin/fd`, in order to use `fd` in the same way as in this documentation.
2 unmodified lines
564### On Fedora565566Starting with Fedora 28, you can install `fd` from the official package sources:567``` bash568sudo dnf install fd-find568dnf install fd-find569```570571### On Alpine Linux572573You can install [the fd package](https://pkgs.alpinelinux.org/packages?name=fd)574from the official sources, provided you have the appropriate repository enabled:575```576sudo apk add fd576apk add fd577```578579### On Arch Linux580581You can install [the fd package](https://www.archlinux.org/packages/community/x86_64/fd/) from the official repos:582```583sudo pacman -S fd583pacman -S fd584```585You can also install fd [from the AUR](https://aur.archlinux.org/packages/fd-git).586587### On Gentoo Linux588589You can use [the fd ebuild](https://packages.gentoo.org/packages/sys-apps/fd) from the official repo:590```591sudo emerge -av fd591emerge -av fd592```593594### On openSUSE Linux595596You can install [the fd package](https://software.opensuse.org/package/fd) from the official repo:597```598sudo zypper in fd598zypper in fd599```600601### On Void Linux602603You can install `fd` via xbps-install:604```605sudo xbps-install -S fd605xbps-install -S fd606```607608### On ALT Linux609610You can install [the fd package](https://packages.altlinux.org/en/sisyphus/srpms/fd/) from the official repo:611```612sudo apt-get install fd612apt-get install fd613```614615### On Solus616617You can install [the fd package](https://github.com/getsolus/packages/tree/main/packages/f/fd) from the official repo:618```619sudo eopkg install fd619eopkg install fd620```621622### On RedHat Enterprise Linux 8/9 (RHEL8/9), Almalinux 8/9, EuroLinux 8/9 or Rocky Linux 8/9623624You can install [the `fd` package](https://copr.fedorainfracloud.org/coprs/tkbcopr/fd/) from Fedora Copr.625626```bash627sudo dnf copr enable tkbcopr/fd628sudo dnf install fd627dnf copr enable tkbcopr/fd628dnf install fd629```630631A different version using the [slower](https://github.com/sharkdp/fd/pull/481#issuecomment-534494592) malloc [instead of jemalloc](https://bugzilla.redhat.com/show_bug.cgi?id=2216193#c1) is also available from the EPEL8/9 repo as the package `fd-find`.632
5 unmodified lines
638```639640… or with MacPorts:641```642sudo port install fd642port install fd643```644645### On Windows646
17 unmodified lines
664### On GuixOS665666You can install [the fd package](https://guix.gnu.org/en/packages/fd-8.1.1/) from the official repo:667```668sudo guix install fd668guix install fd669```670671### On NixOS / via Nix672673You can use the [Nix package manager](https://nixos.org/nix/) to install `fd`:674```675sudo nix-env -i fd675nix-env -i fd676```677678### On FreeBSD679680You can install [the fd-find package](https://www.freshports.org/sysutils/fd) from the official repo:681```682sudo pkg install fd-find682pkg install fd-find683```684685### From npm686
12 unmodified lines
699Note that rust version *1.77.2* or later is required.700701`make` is also needed for the build.702703Make sure to replace **sudo** with **doas** in commands depending on what you use.704703### From binaries704705The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows. Statically-linked binaries are also available: look for archives with `musl` in the file name.706
26 unmodified lines