Why is some software is not shown in Discover?

Hello! I recently switched from Linux Mint to Kubuntu. I found myself needing to install JDK 17.

In Linux Mint, I could do this within the Software Manager by searching, finding the package, and clicking install. However, in Kubuntu, I can’t find JDK 17 with Discover.

I know how to install from the terminal, but why doesn’t it appear in Discover?

sudo apt install openjdk-17-jdk

Thank you!

Because Discover is an “app store” and not a “graphical package manager” (which is what Mint Software Manager is). Discover deliberately doesn’t show technical packages, only apps and other user-comprehensible things.

Needing to install Java directly is a technical task. Can I ask why you need to? Typically an app that requires Java will mark it as a dependencyand pull it in automatically. This way you don’t need to manually install Java; instead you’d just install the app (ideally using Discover) and then Java comes along for the ride automatically.

2 Likes

To add to @ngraham 's comment, if you do want a graphical front-end to apt you can install Synaptic Package Manager.

Thank you! I suppose that is the more expected behavior and I’ve just been so used to seeing system components alongside applications.

I had installed WorldPainter but when I first opened it, it said that it could not find JDK 17 or greater.

I am not an expert but I think the Debian files are supposed to have a list of dependencies which are supposed to automatically install stuff like that and maybe the way it was built didn’t properly include that?

Either way, thanks for the insight!

You are correct. But I think you have hit a bug in Kubuntu’s Qapt deb installer. I suggest using Discover to install standalone debs. Right-click on the file for that option. This will install dependencies if the package was set up correctly.