Minecraft is a very popular video game released in 2011 by a Swedish developer and then later purchased by Microsoft.
It is supported on the major OS platforms, which includes Windows, Linux, and Mac.
In this context, we shall look into how to install Minecraft on Ubuntu OS.
Methods to install Minecraft on Ubuntu 20.04 LTS (Focal Fossa)
Here, we will be dealing with different methods of installing Minecraft on Ubuntu OS:
1. Install Minecraft via .deb package (Command Line)
2. Install Minecraft via Snap (Command Line)
3. Install Minecraft via .deb package (GUI)
1. How to Install Minecraft via .deb package (Command Line) ?
Here, we will download and install Minecraft from the command line. We will use the deb package available on its official website.
Use the following command to download the package from the command line:
$ wget https://launcher.mojang.com/download/Minecraft.deb
It will save the downloaded package as 'Minecraft.deb' to your current working directory.
Now to install the Minecraft package, run this command in Terminal:
$ sudo apt install ./Minecraft.deb
Enter the sudo password, after which the installation of Minecraft will be started.
2. How to Install Minecraft via Snap (Command Line) ?
Snap package of Minecraft is also available for Ubuntu users. In this procedure, we will install Minecraft using its snap package.
i. To begin, ensure that snapd is installed on your system. To do so, use the below command:
$ snap version
If it is not installed, you can install it as follows:
$ sudo apt install snapd
Enter the sudo password.
ii. To install Minecraft using the snap package, the command is as follows:
$ sudo snap install mc-installer
3. How to Install Minecraft via .deb package (GUI) ?
Here, we will download and install Minecraft from the graphical user interface.
We will use its deb package available on its official website.
Head over to Minecraft's official Downloads page and download package for Debian.
It will save the downloaded package as Minecraft.deb to your Downloads folder.
i. Open your File Manager and go to the Downloads folder where the Minecraft .deb package is placed.
ii. Right-click the Minecraft.deb package and select the Open With Software Install option.
iii. Now Click the Install button to install the Minecraft.deb package.
iv. You will be asked to provide an authentication password to install the package. Provide the password and click the Authenticate button.
After authenticating, it will start the installation, and once completed, you will see the view which indicates the installation of Minecraft has been completed.
How to Launch Minecraft ?
You can launch Minecraft using either the command line Terminal or the GUI.
i. To launch Minecraft from the Terminal, use the below command:
ii. In order to launch Minecraft from GUI, hit the super key and type Minecraft in the search area.
iii. When the icon for Minecraft appears, click it to launch Minecraft.
After launching Minecraft, you will see the Login view.
iv. If you already have a Minecraft account, you can log in by proving the login credentials. Otherwise, click Sign up to create a new account.
How to Uninstall Minecraft from Ubuntu Linux OS ?
In case, you no longer need Minecraft, you can easily remove it from your system.
i. To remove Minecraft that was installed using the .deb package, use the below command:
$ sudo apt remove minecraft-launcher
Enter the sudo password, after which it will remove Minecraft from the system.
ii. To remove Minecraft that was installed using the snap package, use the below command:
$ sudo snap remove mc-installer