Categories: LinuxShellUbuntu

How to Install Minecraft Game on Ubuntu 20.04

Minecraft is a very popular video game that was released in 2011. It can be used with all major platforms like Linux, macOS, and Windows. Today’s article will show you the installation of Minecraft on Ubuntu 20.04.

Installing Minecraft on Ubuntu 20.04

For installing Minecraft game on Ubuntu 20.04 system, you can follow any of the two methods shared with you below:

Method # 1: Using the .deb Package to Install Minecraft on Ubuntu 20.04:

For using the .deb package to install Minecraft on Ubuntu 20.04, you will have to perform the following steps:

Step # 1: Download the Minecraft .deb Package on Ubuntu 20.04:

First, we will download the Minecraft .deb package on Ubuntu 20.04 by running the command shown below:

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

The Minecraft .deb package will download quickly if you have a good Internet connection and once it is downloaded, you will get to see these messages:

Step # 2: Install the Minecraft .deb Package on Ubuntu 20.04:

Now, we will install the downloaded Minecraft .deb package on Ubuntu 20.04 with the following command:

sudo dpkg –i Minecraft.deb

This operation will take a little longer to complete than the previous one after which you might encounter some error messages as shown in the image below:

Step # 3: Resolve the Dependency Issues in the Installation of Minecraft on Ubuntu 20.04:

To resolve the dependency issues encountered during the installing of the Minecraft .deb package on Ubuntu 20.04, we will run the following command:

sudo apt -f install

Once this command executes successfully, you will not see any more errors as shown in the image below:

Method # 2: Using the Snap Package Manager to Install Minecraft on Ubuntu 20.04:

Alternatively, we can also use the Snap package manager to install Minecraft on Ubuntu 20.04 by going through the following steps:

Step # 1: Install the Snap Package for Minecraft on Ubuntu 20.04:

The Snap package for Minecraft can be installed on Ubuntu 20.04 by running the command shown below:

sudo snap install mc-installer

As soon as the Snap package for Minecraft will be successfully installed on your Ubuntu 20.04 system, you will get the following success message on the terminal:

Step # 2: Run the Snap Package for Minecraft on Ubuntu 20.04:

Now, we will run the newly installed Snap package for Minecraft on Ubuntu 20.04 by running the command shown below:

sudo snap run mc-installer

Verifying the Installation of Minecraft on Ubuntu 20.04:

Whichever method you have used for installing Minecraft on Ubuntu 20.04, you can verify its installation by looking for it in the Activities search bar as shown in the following image:

Removing Minecraft

Now, we are going to share with you the two methods for removing the Minecraft game from Ubuntu 20.04.

Method # 1: For Minecraft Installed using the .deb Package:

If you have installed the Minecraft game by using the .deb package, then you can remove it by running the command shown below:

sudo apt --purge remove minecraft-launcher

The successful removal of the Minecraft game from your Ubuntu 20.04 system will render the following messages:

Method # 2: For Minecraft Installed using the Snap Package Manager:

If you have installed the Minecraft game by using the Snap package manager, then you can remove it by running the command shown below:

sudo snap remove mc-installer

The successful removal of the Minecraft game from your Ubuntu 20.04 system will render the following success message on the terminal:

Cleanup

Whichever method you have installed for removing the Minecraft game from your Ubuntu 20.04 system, you can additionally run the command shown below for getting rid of all the additional packages and dependencies:

sudo apt-get autoremove

When all the additional packages and dependencies will have been removed, you will see the following messages on your screen.

Conclusion

In today’s article, we shared with you the two different methods of installing the Minecraft game on Ubuntu 20.04. Then we shared with you the respective removal methods of this game so that you can easily uninstall this game from your system to free up space whenever you want.

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Recent Posts

How to Install Magento 2 on AlmaLinux

Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…

1 year ago

How to Install ISPConfig Hosting Control Panel with Apache Web Server on Ubuntu 24.04

ISPConfig is an open-source control panel that allows users to manage multiple servers from a…

1 year ago

How to Test your Email Server (SMTP) Using the Telnet Command

As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…

1 year ago

Managing Network Interfaces and Settings on Ubuntu 24.04 with nmcli

Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…

2 years ago

Using Restic Backup on Ubuntu 24.04

Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…

2 years ago

Installing phpMyAdmin on Rocky Linux 9 and Securing it with Let’s Encrypt SSL

phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…

2 years ago