Gradle & Kotlin packages for Silverblue?

For some reason there are no packages available right now to install Gradle or Kotlin.

$> rpm-ostree search kotlin
No matches found.
$> rpm-ostree search gradle
No matches found.

kotlin is available in Terra repo, which has releases for Fedora.

gradle is available in OpenSUSE repo, an .rpm could be probably ported with small adjustments.

You can mostly install those inside a toolbox by following the official installation instructions: Get started with Kotlin | Kotlin Documentation

I chose to go the COPR & additional repos route. I had a pretty rough experience with toolbox: containers randomly having launch errors & failing to start, GUI errors & missing components of installed apps, etc.

In containers I am installing only packages that are writing to immutable directories (e.g. /usr & /opt) in runtime. To be fair, would be nicer of texlive developers to patch it to write only in mutable directories, like /etc, but we have what we have for now.

1 Like

I chose to add these repos:

sudo curl -fsSL https://terra.fyralabs.com/terra.repo | sudo tee /etc/yum.repos.d/terra.repo
sudo curl -fsSL https://copr.fedorainfracloud.org/coprs/hazel-bunny/decsync/repo/fedora-40/hazel-bunny-decsync-fedora-40.repo | sudo tee /etc/yum.repos.d/hazel-bunny-decsync-fedora-40.repo
1 Like