In this short tutorial we will show you how to install Minecraft on Ubuntu, the very popular sandbox video game on Ubuntu 16.04. Ubuntu 16.04 is LTS (long term supported) version so this is the main reason why this version is mentioned. In few months we will get antoher LTS of Ubuntu 18.04, so new tutorial will be written in short time.
Here you can download all Minecraft versions in .jar format. This .jar format is supported by all computer operating systems which have installed Java.
Only problem with .jar file is that is kinda complicated for beginners to install and after installation you don’t get link on menus or shortcut.
How to install Minecraft on Ubuntu 16.04 (in steps)
1. Add Minecraft PPA installer
Start terminal (with commands usually Ctrl+Alt+T, or find Terminal in Start menu) and run following command:
sudo add-apt-repository ppa:flexiondotorg/minecraft
Press Enter and if system ask you password, type your root password.
This is our output, yours should look similar to that:
user@user-pc:~$ sudo add-apt-repository ppa:flexiondotorg/minecraft
[sudo] password for user:
This PPA includes installers for Minecraft, Minecraft Server and Minecraft Pi Edition.
More info: https://launchpad.net/~flexiondotorg/+archive/ubuntu/minecraft
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpf0wsaciu/secring.gpg' created
gpg: keyring `/tmp/tmpf0wsaciu/pubring.gpg' created
gpg: requesting key 93D8809A from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpf0wsaciu/trustdb.gpg: trustdb created
gpg: key 93D8809A: public key "Launchpad PPA for Martin Wimpress" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
2. Update and install added script
Run the commands below, first to update your system package index in Ubuntu and after that start minecraft installer.
sudo apt-get update
sudo apt-get install minecraft-installer
After each line click enter to run command. After starting command for installing minecraft-installer, the script will start automatically to download and install minecraft jar files, icon files and automatically install shortcut icon on system.
When script is done, find Minecraft icon. In our case icon is located in Start menu in Game folder, and click on it. We are currently using Lubuntu 16.04, which is the same as Ubuntu 16.04, only Lubuntu is using LXDE desktop enviroment.
If everything went OK you should see this window.
Enter your Mojang Minecraft account username/email and password and you will be logged into this window.
3. That’s it, you can play Minecraft on Linux
And that’s it. It isn’t very hard, right? Now you can enjoy the game and play Minecraft on Linux.
4. How to uninstall Minecraft or remove Minecraft from Ubuntu
You’re tired of playing Minecraft or for any other reason you would like to uninstall or remove Minecraft from your Ubuntu linux distribution. All what you must to do is just type following command in Terminal and press ENTER.
sudo apt remove minecraft-installer && sudo apt autoremove
Also you can remove PPA manually or automatically going in to Software & Updates, then in Other Software tab, find PPA which you add it in first line and removed.
Or “simply” type this line in Terminal and press ENTER:
sudo add-apt-repository --remove ppa:flexiondotorg/minecraft
Notice that this line is the same as first line in which you have add this PPA, only difference is that this line has added command –remove.
Happy playing of Minecraft on Ubuntu 16.04 and we’re hoping that this tutorial about How to install Minecraft on Ubuntu 16.04 was usefull for you, our readers. If you have any questions regarding installing Minecraft on linux please ask in comment below.