Hardware Reference
In-Depth Information
Downloading and Installing
Minecraft
Minecraft is available to download onto the Raspberry Pi as the Minecraft Pi applica-
tion. It is similar to the Minecraft Pocket Edition. As with all extra applications, you
will need to connect your Raspberry Pi to the Internet in order to download it. It's
likely that Minecraft Pi will be pre-installed in future versions of the Raspbian operat-
ing system, enabling you to run it by using the menu system or by clicking on the
desktop icon. If your version of Raspbian does not include Minecraft Pi, you will need
to follow these steps to download and install it onto your Raspberry Pi:
For a video that walks you through setting up Minecraft Pi, visit the companion
website at www.wiley.com/go/adventuresinrp . Click the Videos tab and
select the MinecraftPiSetup ile.
1. Open the LXTerminal by double-clicking the icon on the desktop.
2. To download Minecraft, type:
cd ~
wget https://s3.amazonaws.com/assets.minecraft.net/pi ;
/minecraft-pi-0.1.1.tar.gz
A
The tilde character ( ~ ) after cd takes you to the home directory of the user who
is currently logged in. If you have logged in as the user Pi, the irst line will change
directory to /home/pi . When you irst open LXTerminal after logging into your
Raspberry Pi, you will automatically be located in your home directory and so this
irst line is not necessary.
It will take a few seconds, depending on your Internet connection speed, for the
download to start. A progress bar will appear in the terminal window for you to
check how long the download will take, as shown in Figure 6-2. When it has
reached 100% you can move on to Step 3.
3. he ile that you have downloaded is a .tar.gz ile, an archive ile similar to a
.zip ile, so you need to extract the game iles. Type the following code to
extract the game iles from the .tar.gz :
tar -zxvf minecraft-pi-0.1.1.tar.gz
his command will extract the Minecraft Pi iles into your home directory on the
Raspberry Pi. You will only need to do this onceā€”to load Minecraft Pi in future,
you only need to use Step 4.
Search WWH ::




Custom Search