The Wayback Machine - https://web.archive.org/web/20240118180610/https://www.geeksforgeeks.org/how-to-install-minecraft-on-linux/
Open In App
Related Articles

How to Install Minecraft on Linux ?

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

Minecraft is a sandbox video game that was developed by Mojang. The game was created by Markus “Notch” Persson using the programming language JAVA.

Requirements:

If you don’t have OpenJDK installed, then install it by entering the following commands in Terminal.

  • For Ubuntu/Debian users:

sudo apt-get install openjdk-8-jdk

  • For Other Linux Distributions:

su -c “yum install java-1.8.0-openjdk”

  • Check your java version by entering the following commands in Terminal:

java -version

javac -version

Steps to Download and Install Minecraft using Terminal:

For other Linux distribution users:

Step 1: Download the Minecraft.tar.gz archive from their official website using wget.

wget https://launcher.mojang.com/download/Minecraft.tar.gz

Step 2: Extract the downloaded archive.

tar -xvf Minecraft.tar.gz

Step 3: Go to the newly created folder after extracting and start up the launcher.

cd minecraft-launcher

./minecraft-launcher

For Ubuntu/Debian users:

Step 1: Download the Minecraft.deb file from their official website using wget.

wget https://launcher.mojang.com/download/Minecraft.deb

Step 2: Install the downloaded package.

sudo dpkg -i Minecraft.deb

Step 3: To solve dependency issues, enter the following command.

sudo apt -f install

Step 4: Start up the launcher.

minecraft-launcher

The following steps represent the remaining steps to installing Minecraft game files and are common for every Linux distribution user.

Step 1: After starting up the launcher, click on either Microsoft Login/Mojang Login to authenticate your account containing a license.

Step 2: Click on Play/Play Demo depending on your License.

Step 3: This will start by downloading the latest release of Minecraft(Java Edition) from Minecraft Servers.

Step 4: After downloading is over, click on Play Demo again to start the game.

Step 5: Click on Play/Play Demo World to load Minecraft World.

Learn to code easily with our course Coding for Everyone. This course is accessible and designed for everyone, even if you're new to coding. Start today and join millions on a journey to improve your skills!

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.
Last Updated : 06 Oct, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads
Complete Tutorials