Requirements: Ubuntu 20.04 LTS or later, a valid Mojang/Microsoft Minecraft account, and an active internet connection.
Install Required Dependencies
Open a terminal and update package lists:
sudo apt update
Install the essential libraries:

sudo apt install openjdk-17-jre libsecret-1-0 wget
Install the Minecraft Launcher
The official launcher is available via Snap:
sudo snap install mc-installer
Alternatively, install the .deb package manually:
wget */download/*sudo dpkg -i *
sudo apt install -f
Run Minecraft
Search for "Minecraft Launcher" in your applications menu and launch it.

Login and Play
- Enter your Mojang or Microsoft account credentials
- Authenticate following the on-screen prompts
- Select the "Minecraft: Java Edition" tab
- Click Install for the latest game version
- Click Play after installation completes
Verify Installation
Create a new world or join a server to confirm the game runs correctly.
Troubleshooting
- Launcher not starting: Ensure all dependencies installed:
java --version
should show Java 17. - Authentication issues: Double-check account credentials and internet connection.
- Graphics issues: Update your GPU drivers and confirm OpenGL support.