Open In App
Related Articles

How to Install Minecraft on Linux ?

Improve Article
Save Article
Like Article

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


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.


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


For Ubuntu/Debian users:

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


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.


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.

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!

Last Updated : 06 Oct, 2021
Like Article
Save Article
Similar Reads
Related Tutorials