Skip to content

Instantly share code, notes, and snippets.

@J5lx
Created March 8, 2015 10:46
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save J5lx/f71f77efcd58d9798478 to your computer and use it in GitHub Desktop.
Save J5lx/f71f77efcd58d9798478 to your computer and use it in GitHub Desktop.
How to install Minecraft in Arch Linux
  1. Visit https://aur.archlinux.org and search for the package minecraft.
  2. Select that package from the results. You may have to use the pagination.
  3. Click the "Download tarball" link on the details page of the package to, well, download it's tarball. Remember the directory you save it in.
  4. Open up a terminal
  5. Use cd to go into the directory you saved the tarball in. For example, if you saved it in a subdirectory of your home directory called Downloads, enter cd ~/Downloads (the ~ stands for your home directory)
  6. Now extract the contents of the tarball to a new directory called minecraft using the command tar xvf minecraft.tar.gz. (I used another method in the video but this one has a higher availability)
  7. Now go into the new directory using cd minecraft
  8. Then type makepkg to create the package. If there were no errors, a new file with the extension .pkg.tar.xz should have been created.
  9. Now you have to get root (the admin). In most cases this can be achieved by running the su command, which will ask you for root's password.
  10. Finally install the package using pacman -U *.pkg.tar.xz. When asked, proceed with installation by just hitting enter. Afterwards you should make sure you're no longer root so you don't accidentally damage your system. If you used su, you can just type exit to leave the root environment.

When you want to remove Minecraft from your system, you can do so by running pacman -R minecraft as root.

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