How To Install Minecraft On Linux In 2021- 4 Best Ways

How To Install Minecraft On Linux

Are you looking for a fun game to play on Linux? Have you been playing Minecraft for years on different operating systems and want to know how to install it on your favorite distribution? Regardless of which category you fall into, this article is here to answer any questions you may have regarding installing Minecraft on Linux.

What is Minecraft?

Minecraft is one of those video games that even people who haven’t played the game at all can immediately recognize. Its creator, Markus “Notch” Persson, first released it in 2009 and has since become the best-selling video game of all time.

Most Minecraft players will agree that the secret to the game’s success lies in its design which inspires creativity. Players are free to explore a massive, procedurally generated world made of blocks, each of which can be interacted with, moved, or turned into a resource for crafting.

This safe world is occupied by AI-controlled monsters, friendly villagers, and in multiplayer mode, other players. Minecraft can be played as either a survival or sandbox game, and players are free to modify the gameplay mechanics and create new assets for it.

How to Install Minecraft on Linux

Since Minecraft is written in the Java programming language, it runs on Linux, Windows, and macOS. Keep in mind that there are several versions of Minecraft, and this article is about Minecraft: Java Edition.

Install Minecraft on Ubuntu and Its Derivatives

Thanks to the official. DEB package, installing Minecraft on Ubuntu and derivatives is very easy, and the whole process won’t take you more than a few minutes.

Step 1: Download the Installation Package

The first thing you need to do is download Minecraft. DEB package from the official Minecraft website. You can open the alternative download page in your favorite web browser and download it from there, or you can use the following command and download the package to your main folder using wget:

$ wget ~/Minecraft.deb

Step 2: Install Minecraft

We recommend that you use a small tool called gdebi to install Minecraft. DEB package because it automatically resolves all dependencies.

Install gdebi:

$ sudo apt install gdebi-core

install gdebi-core

Use gdebi to install Minecraft. deb package:

$ sudo gdebi ~ / Minecraft.deb


Step 3: Launch Minecraft

To launch Minecraft on Ubuntu and derivatives, simply search for Minecraft Launcher and run it. If all goes well, Minecraft Launcher should start immediately, prompting you to enter your email address and password.

Once you’re logged in, click the Play button and enjoy Minecraft — there really isn’t much more to it!

Install Minecraft on Other Distributions

Since Minecraft is programmed in Java, you can run it on almost any Linux distribution with the Java Runtime Environment installed and a working 3D graphics driver.

Step 1: Install Java Runtime

The Java Runtime Environment (JRE) provides all the components needed to run Java applications. Most Linux distributions offer several options when it comes to running Java programs:

  • Headless JRE: This minimal version of the Java Runtime Environment is intended for running Java applications that do not have a graphical user interface. Thus, it cannot be used to run Minecraft on Linux.
  • Full JRE: This version of the Java Runtime Environment is headless version dependent, and includes everything you need to run Java applications with a graphical user interface, including Minecraft.
  • Java Development Kit (JDK): Intended for Java developers, the JDK includes the Java Virtual Machine (JVM) and other resources needed to develop Java software applications.

The most popular open-source implementation in Java is called OpenJDK. There is also Java SE, which is Oracle’s implementation of the JRE and JDK. Starting from Minecraft 1.12, Java 8 is required to run Minecraft, but it doesn’t matter if you choose OpenJDK or Java SE.

To check the version of Java installed on your Linux distribution, enter the command “java -version” in the terminal.

Step 2: Install Graphics Driver

To enjoy Minecraft on Linux, you need to work on 3D acceleration. You can test 3D acceleration using a popular OpenGL test called glxgears, which is part of the mesa-utils package.

First, install the mesa-utils package (it should be in your distribution’s repository) and then enter “glxgears” in the terminal. A new window with three rotating gears will appear, and you will be able to see the given number of frames in the terminal. Since glxgears require very little processing power, any sufficiently powerful Linux computer with working 3D acceleration should be able to render hundreds of frames every second.

If your teeth appear choppy, your 3D acceleration isn’t working, and you need to install the correct graphics driver for your graphics card.

Step 3: Install & Launch Minecraft

To launch Minecraft on a distribution that is not based on Ubuntu, you will need to download the Minecraft.tar.gz archive from the alternative downloads page.

Then, extract the archive and launch the executable file called Minecraft-launcher using the following command:

$ ./minecraft-launcher

If this seems like too much work, you can also install the Minecraft snap package on any Linux distribution that ships with Snap installed (latest Ubuntu release, most familiar Ubuntu flavors, Solus 3, and Zorin OS):

$ sudo snap install Minecraft-launcher-ot

How to Uninstall Minecraft on Linux

Minecraft creates a hidden folder (.minecraft) in the home directory. This folder is used to store information about your Minecraft profile and progress in the game. To remove it:

  1. Open a terminal.
  2. Enter the following command: rm -vr ~ / .minecraft / *


While the length of this article can make installing Minecraft feel a little intimidating, we can assure you that there is nothing difficult about it at all, especially if you are using Ubuntu or a distribution based on it.

Maybe that’s all GC can say about How to Install Minecraft on Linux. I hope this article helps you, thank you, and don’t forget to comment and share, thank you!!!

Leave a Comment