You either have the ability to install it on your host directly (e.g. layering it via rpm-ostree to use the Fedora repos). This is usually not recommended, for Fedora Atomic for example, this hugely increases the update times and should only be used for drivers or if something doesn’t work otherwise.
Or you use Distrobox/ Toolbx for that. Here’s a link on a post I made recently: feddit.de/post/8018330