All develop packages that match an installed package.
In Yast’s software module under extras you will see options to install matching debug packages, and matching debug source packages.
These install all the debug or debug source packages for any installed packages. There used to be an option to install all matching develop files as well but it appears to no longer be there, so I was wondering how one would install all develop files for currently installed packages.
I know for a fact I used it in version 13 and version 12. I’m pretty sure it was in leap 42.0 but I had upgraded in place from 13 and hadn’t needed it. I did 15.2 fresh and now need it as I have much software that needs the header files to compile.
So in other words if your a developer, or have to compile your own packages, forget Leap as getting the header files for installed packages is now almost impossible without searching for each needed library, one at a time, for hundreds of libraries?
Is there any way to filter zipper or yast to show developer files for the installed libraries?
That zypper command just shows development patterns. I am looking to install header files for already installed libraries.
For example if libjpeg8 is installed applications compiled against it will run, however if I want to compile code against libjpeg8 then I need the header files which are in libjpeg8-devel package.
True when compiling it will tell you which header files your missing; but often that means installing dozens or more devel files, and looking them up and installing one at a time would be very time consuming, especially if one has multiple applications to compile.
Optionally a way to force yast / zipper to install devel packages by default would solve future install problems at least.
it was present in Gtk UI which is no more supported. In 15.2 only ncurses UI (where this option was never present) and Qt UI (where this option was removed 12 years ago) are available.
That’s more exception than a rule. More common is something like libtevent0 and libtevent-devel. Or libncurses5/ncurses5-devel but libncurses6/ncurses-devel.
In general there is no common pattern that allows to infer development package name from run-time package name. Which is why this option was removed. So even where this option was still present it did not really do anything useful in most cases.
That’s not what I’m trying to do. I have all development patterns needed installed.
It’s devel packages related to installed applications and libraries.
For example alsa and Image Magick are both installed. However the devel packages alsa-devel and ImageMagick-devel are not installed by default along with those packages. I’m looking for a way to install all devel packages that match a currently installed package, or a way to filter yast or zypper to show devel packages for installed packages, or a way to set zypper / yast to install devel packages by default when installing a package.
Well, if you know how to do it correctly by all means submit pull request for libyui-qt-pkg on github. The code is actually there, just commented out, it is trivial to restore it.