Installing Minecraft Java Edition on Linux is straightforward, thanks to official multi-platform launcher support and package managers. Whether you are running Ubuntu, Fedora, Arch Linux, or another distribution, this guide will help you get the game up and running smoothly.
Many popular community launchers like Prism Launcher or Modrinth App are also available as Flatpaks or native packages on Linux, offering fantastic built-in mod management.
Avoid using outdated Java versions provided by default in older Linux repository releases, as modern Minecraft updates will fail to launch without Java 21+.
1. Install Java on Your System
Before running Minecraft, make sure you have Java installed. Minecraft Java Edition requires Java 21 or higher for current versions of the game. Open your terminal and check if Java is installed by typing java -version.
If Java is missing, install it using your distribution's package manager. For example, on Ubuntu or Debian, run sudo apt update && sudo apt install openjdk-21-jre. Fedora users can use sudo dnf install java-21-openjdk.
2. Download the Minecraft Launcher
Head over to the official Minecraft website to grab the official Linux installer. You will typically find a .deb file for Debian/Ubuntu-based distributions, a .rpm file for Fedora/RedHat, or a generic tarball format.
If you need general advice or want to review system specifications first, check out our guide on Minecraft System Requirements to ensure your Linux rig is ready for action.
3. Install the Launcher Package
Once the download is complete, open your terminal in the download directory or use your graphical package manager. For Debian-based distros, you can install the downloaded file via terminal using sudo dpkg -i Minecraft.deb followed by sudo apt install -f if any dependencies are missing.
For tarball users, simply extract the archive and run the executable launcher script included inside the folder.
4. Log In with Your Microsoft Account
Launch the Minecraft application from your application menu or by typing minecraft-launcher in the terminal. Log in using your valid Microsoft account credentials that own a copy of Java Edition.
If you haven't set up your profile yet or need assistance with your credentials, read our walkthrough on How to Make a Minecraft Account.
5. Download the Game Files and Play
Once logged in, the launcher will automatically download the necessary game assets and current version files. Click the green Play button to start your adventure!
If you encounter any performance hiccups after installing, you can consult our helpful tutorial on How to Increase FPS in Minecraft to optimize your frame rate on Linux.
Frequently Asked Questions
Can I play Minecraft Bedrock Edition on Linux?
Officially, Minecraft Bedrock Edition is only available for Windows, consoles, and mobile devices. However, Linux users can play Java Edition natively, which supports cross-play with bedrock servers via plugins like Geyser.
Which Linux distribution is best for playing Minecraft?
Minecraft Java Edition runs great on almost any major Linux distribution, including Ubuntu, Linux Mint, Fedora, and Arch Linux, provided your graphics card drivers are properly installed.












