Fedora: How to install RPM sources in dnf?
- Anmelden oder Registrieren um Kommentare zu schreiben
[kali@kali dnf]$ sudo dnf install -y https://sourceforge.net/projects/refind/files/0.11.2/refind-0.11.2-1.src.rpm https://download1.rpmfusion.org/free/fedora/releases/27/Everything/source/SRPMS/r/rpmfusion-free-release-27-1.src.rpm
[sudo] password for kali:
Waiting for process with pid 4960 to finish.
Fedora 27 - x86_64 15 kB/s | 58 MB 65:10
Last metadata expiration check: 0:01:37 ago on Wed 13 Dec 2017 18:23:44 CST.
refind-0.11.2-1.src.rpm 18 kB/s | 4.3 MB 04:05
rpmfusion-free-release-27-1.src.rpm 6.9 kB/s | 22 kB 00:03
Error: Will not install a source rpm package (refind-0.11.2-1.src).
[kali@kali dnf]$
Under pacman based Parabola you need to look at PKGBUILD to look for possible sources (but you must first of all unpack an *.pkg.tar.xz i.e. an pacman binary), under Debian and derivatives like Trisquel and Devuan there is a Debian sources extension .dsc but almost impractical (more likely a control file over binaries instead of a source, at least under simple ways like pacman systems).
Now I am here on Fedora and I need to study to install RPM sources (*.src.rpm, from few URL) under dnf, its Dandified packaging tool.
Probably this topic can help you: https://ask.fedoraproject.org/en/question/87205/how-do-i-install-a-src-rpm-with-dnf/
Your problem seem quite similar to the one they have.
However, this is a Trisquel-Users forum that is also commonly used to discuss about Free Software in general, so maybe next time going into their forums can save you time, as most people here are not going to be able to answer Fedora related questions ;)
- Anmelden oder Registrieren um Kommentare zu schreiben