sd
sd copied to clipboard
sd can not be installed from Fedora repos
The README.md says I should run [sudo] dnf install sd.
$ LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 sudo dnf install sd
Last metadata expiration check: ………
No match for argument: sd
Error: Unable to find a match: sd
Fedora: 32
same here! Use to work earlier though
It works on fedora 31. Maybe this is an upstream fedora bug?
sd does not appear to be in the Fedora 33 repositories
It works on fedora 31. Maybe this is an upstream fedora bug?
Are you sure you downloaded it from main fedora repositories? I don't have a fedora 31 box, but I executed the following to query fedora 31 repositories and came up empty handed
dnf --repofrompath 'f31-release,https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/' --repofrompath 'f31-updates,https://dl.fedoraproject.org/pub/archive/fedora/linux/updates/31/Everything/x86_64/' --repo=f31-release --repo=f31-updates repoquery sd
I also can't find any mention of sd on https://src.fedoraproject.org/
# dnf list sd
Last metadata expiration check: 0:01:29 ago on Tue Jan 12 10:51:06 2021.
Available Packages
sd.x86_64 0.6.5-3.module_f31+6556+4c9149f0 fedora-modular
sd.x86_64 0.6.5-3.module_f31+6556+4c9149f0 updates-modular
You are right. I forgot modular repos.
dnf --repofrompath=f31-m,https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/31/Modular/x86_64/os/ --repofrompath=f31,https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/ --repo=f31-m --repo=f31 repoquery sd
# sd-0:0.6.5-3.module_f31+6556+4c9149f0.x86_64
the "sd" package providing /usr/bin/sd seems to be available in the frozen fedora and the rolling updates official Fedora repos for Fedora 35:
$ dnf provides /usr/bin/sd
...
sd-0.7.6-4.fc35.x86_64 : Intuitive find & replace CLI
Repo : fedora
Matched from:
Provide : sd = 0.7.6-4.fc35
sd-0.7.6-6.fc35.x86_64 : Intuitive find & replace CLI
Repo : updates
Matched from:
Provide : sd = 0.7.6-6.fc35