On Fri, Dec 6, 2024 at 8:53 PM Stephen Morris <steve.morris...@gmail.com> wrote: > > On 7/12/24 12:35, Jeffrey Walton wrote: > > On Fri, Dec 6, 2024 at 8:30 PM Stephen Morris <steve.morris...@gmail.com> > wrote: > > I have enabled the Fedora source repository so that I can install the > symlinks source.l > Having enabled the source repository I issued the command "sudo dnf > install symlinks-1.7-11.fc41.src" (the binary package tells me the source is > symlinks-1.7-11.fc41.src.rpm) and got the following messages: > > sudo dnf install symlinks-1.7-11.fc41.src > > Updating and loading repositories: > Repositories loaded. > Failed to resolve the transaction: > Argument 'symlinks-1.7-11.fc41.src' matches only source packages. > > So I then issued the command "sudo dnf install > symlinks-1.7-11.fc41.src.rpm" and dnf tells me that rpm doesn't exist. > Then issue the command "sudo dnf install symlinks-1.7-11.fc41.src*" gives > me the following messages: > > sudo dnf install symlinks-1.7-11.fc41.src* > [sudo] password for steve: > Updating and loading repositories: > Repositories loaded. > Package Arch > Version Repository > Size > Installing: > symlinks src > 1.7-11.fc41 fedora-source > 15.2 KiB > > Transaction Summary: > Installing: 1 package > > Total size of inbound packages is 26 KiB. Need to download 26 KiB. > After this operation, 15 KiB extra will be used (install 15 KiB, remove 0 B). > Is this ok [y/N]: n > > Is DNF actually working properly when with * in the package name the > install is actually installing what I asked it to install in the first > command? > > Works for me: > > sudo dnf download --source symlinks > > 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. > > How do I find where the source has been installed to when under dnfdragora > when I search for symlinks in either names or descriptions I only get a > reference to the binary package even though I have installed the source > package as shown by "dnf info symlinks" which shows both the binary and > source packages as being installed? Especially when I would have thought the > source would have been installed to a sub_folder of /usr/src, but there isn't > a symlinks sub_folder of /usr/src, it only has akmods, annobin, debug and > kernels sub_folders.
See something like <https://discussion.fedoraproject.org/t/can-i-install-a-programs-source-as-a-package/76904/6>. Jeff -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue