Last year her school work involved doing things on a computer for the first time, so I'm guiding her through the earliest stages of computer literacy. I declined the Chromebook offered by her school and instead set her up with my old laptop running Fedora. At some point I introduced her to simple classics like SuperTux, tetris, and a lunar lander game that are available from Flathub. Just searching Flathub for Minecraft, I see half a dozen different flatpaks(?). Then it looks like I can download a .tar.gz from minecraft.net and maybe build something from source(?). Help me out.
If you want to get her into Minecraft, I recommend avoiding the Java community altogether and focusing on Bedrock. The easiest way is to buy an iPad and then buy Minecraft from the App Store, because the Apple rules dictate that you must be able to play it without a Microsoft account. To connect to a server, create a free Microsoft account (you probably already have one, somewhere), and the Apple version will connect to all the servers and online stuff.
For your Fedora laptop, you can supposedly get the Android version to run. It's on the list of things to do with our Ubuntu game machine.
But seriously: the Java edition "community" doesn't want a nine-year old girl in it, and they also would rather quit than play Bedrock. So win-win.
Step 2, https://www.minecraft.net/en-us . Don't think of this as "how do I get my daughter the computer experience I remember from old, shrink-wrapped boxed PC games", get her access to Minecraft as if you're a non-techy, let her figure her own way out.
Once she has a basis for her tech skills, and is curious about technology, that's the time to start showing her things under the hood.
This is the one you want: https://flathub.org/apps/com.mojang.Minecraft
Said no one ever? Would be like asking how to get started on crack.