Skip to content

Instantly share code, notes, and snippets.

@dougcooper
Last active December 27, 2020 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dougcooper/bd0bd7913db532b62650c47310dcad33 to your computer and use it in GitHub Desktop.
Save dougcooper/bd0bd7913db532b62650c47310dcad33 to your computer and use it in GitHub Desktop.
Install minecraft on Rpi4 with 64-bit OS
  1. Install dependencies
sudo apt-get install \
  build-essential \
  cmake \
  qt5-default \
  qtbase5-dev \
  zlib1g-dev \
  libgl1-mesa-dev \
  openjdk-8-jdk \
  git \
  clang
  1. Build the software
mkdir ~/MultiMC
cd ~/MultiMC
git clone --recursive https://github.com/MultiMC/MultiMC5.git src
mkdir build
mkdir install
cd build
cmake -DCMAKE_INSTALL_PREFIX=../install \
  -DCMAKE_CXX_COMPILER=clang++ \
  -DCMAKE_C_COMPILER=clang \
  -DMultiMC_META_URL:STRING="https://jjtech0130.github.io/meta-multimc/" \
  ../src
make -j4
make install
  1. Run the software
/home/username/MultiMC/install/MultiMC
  1. Add an account
  2. Add an instance
  3. Launch the application

References

  1. https://nicholasbering.ca/raspberry-pi/2020/10/18/minecraft-64bit-rpi4
  2. MultiMC/Launcher#2133 (comment)
@dougcooper
Copy link
Author

The instructions at reference 1 did not work out of the box with g++. Reference 2 recommended the use of clang which does work.

@dougcooper
Copy link
Author

did not work on 32bit raspbian, switched to 64bit ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment