#1051647 please ship a fd(1) binary

Package:
fd-find
Source:
fd-find
Description:
Simple, fast and user-friendly alternative to find
Submitter:
Antoine Beaupre
Date:
2025-10-26 11:43:01 UTC
Severity:
normal
#1051647#5
Date:
2023-09-10 22:13:07 UTC
From:
To:
I understand this must be controversial, but I'd love if this package
could ship a /usr/bin/fd binary.

A casual search (`apt-file search bin/fd | grep fd'$'`) seem to
indicate a single package would conflict with this is the fdclone
package.

I don't think it would be fair to have the main binary package
conflict with fdclone, but perhaps there could be a secondary binary
package with a symlink that would?

I understand *I* can just add `alias fd=fd-find` to my shell, but I
happen to manage a *lot* of machines and don't really enjoy deploying
hacks like this all over the place. I also think it's doing a
disservice to our users to needlessly diverge from upstream.

Thank you for your consideration!

#1051647#10
Date:
2024-03-22 14:01:06 UTC
From:
To:
Hello there,

Would love this too. Some tooling looks for an `fd` binary and
won't find an `fd` alias.

Another problem is that the shell completions for bash/zsh shipped
with the package don't work, since they define a `_fd` completion
function.

You can work around it with either `alias fd=fdfind` or
`alias _fdfind=_fd`, but it would be nice not to have to.

Raising the severity to normal because of this (first time doing
that, not sure if it will actually work :))

Thanks,
Markus

#1051647#15
Date:
2025-10-25 12:15:43 UTC
From:
To:
Hi,

wouldn't this be a perfect use case for update-alternatives? I use

```
update-alternatives --install /usr/bin/fd fd /usr/bin/fdfind 10
```

on my machines in order to use `fd`. As far as I can tell, it should be
relatively easy to implement:
https://salsa.debian.org/debian/nano/-/blob/debian/latest/debian/nano-tiny.postinst

It would be really great if you could implement it.

Kind regards (another) Markus

#1051647#20
Date:
2025-10-25 13:52:13 UTC
From:
To:
alternatives is for multiple packages providing the same interface, which
is not the case here.

what we could do is ship a second package that conflicts with fdclone,
and just contains a symlink making `fdfind` available as `fd`?

#1051647#25
Date:
2025-10-26 11:41:15 UTC
From:
To:
Hi Fabian!

Am 25.10.2025 um 15:52 schrieb Fabian Grünbichler
<debian@fabian.gruenbichler.email>:

Yes, you are right, that would be a cleaner solution.

Kind regards Markus