I am trying to install Minecraft on Ubuntu 16.04. These are what I'm using in the terminal:

sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update && sudo apt-get install minecraft-installer

However, when I do the: sudo apt-get install minecraft-installer

I get this:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package minecraft-installer

Has anyone else successfully installed Minecraft on this version of Ubuntu, if so how? And why am I getting that error?

share|improve this question
up vote 7 down vote accepted

All I did was go to: https://minecraft.net/download and select "Show All Platforms". Next I clicked and downloaded the Minecraft.jar file. Thats it. Just be sure you have Java installed. You also may need to click the Minecraft.jar file properties and change the file to launch as an executable.

There may be other ways but this has worked for me.

share|improve this answer
    
I installed both and I checked to make sure it executable, but it doesn't do anything when I double click. It opens up the folder. /: – Kai Marie Elkins Apr 29 '16 at 0:26
1  
Here is a walkthrough for this method: feeblenerd.blogspot.com/2015/09/… – wattahay Aug 20 '16 at 3:48
    
@wattahay: You should copy & paste the steps from that link and put it as a new answer. It's very handy. – Giraldi Nov 12 '16 at 5:51

If you have both Java and Minecraft.jar installed, try this. This assumes that Minecraft.jar is in your user's Downloads directory:

  • Open a Terminal window: Ctrl+Alt+T
  • Navigate to the directory where Minecraft.jar is by typing: cd ~/Downloads
  • Run Minecraft by typing: java -jar ./Minecraft.jar
share|improve this answer
    
This works. But Now I have a ugly Icon. I added a minecraft.desktop with the correct data. Which adds a icon to the loader. But will disappear when pressing the "play" button. Any idea's? – janw Jun 8 '16 at 6:47

I had the same issue which was fixed by changing the distribution name to "trusty" in the edit sources tab

system settings / Software & updates / Other Software tab

select http://ppa.launchpad.net/minecraft-installer-peeps/minecraft-installer/ubuntu

then edit and change the field distribution to "trusty" then you run again the following

sudo apt-get update && sudo apt-get install minecraft-installer
share|improve this answer

protected by Community Oct 14 '17 at 14:27

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.