On 12/8/24 1:45 PM, Stephen Morris wrote:
On 8/12/24 00:50, Barry wrote:
On 7 Dec 2024, at 01:54, Stephen Morris<steve.morris.au@xxxxxxxxx> wrote:
Yes, but this still highlights the final question as "sudo dnf download symlinks-1.7-11.fc41.src" does the download but as shown above "sudo dnf install symlinks-1.7-11.fc41.src" won't do the install.
Use rpm -i src-rpm to install the sources.
They will be in -/rpmbuild (I think).
Being open source the software is designed to be adjusted by external
entities for enhancements, so why is Fedora making it so hard to access
the source to do so. Many years ago I used to build my own kernel in the
days when the kernel was compiled for single core cpu's, and all that
was necessary to do that was to use yum to install the kernel source in
a sub_folder of /usr/src as it has always done with the kernel headers.
How is Fedora making it hard? This is how it has worked forever, as far
as I can remember anyway. That's how you build rpms. /usr/src is a
very bad place, since you shouldn't be building anything as root.
"dnf download --source package-name" (can be run as a user even)
"rpm -i package.src.rpm" (should be run as a user)
The files get distributed in ~/rpmbuild.
The source files are in ~/rpmbuild/SOURCES.
"cd ~/rpmbuild"
"rpmbuild -bb SPEC/packagename.spec" (should be run as a user)
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue