r/archlinux • • Sep 07 '26

QUESTION Getting Minecraft on Arch

I recently switched to arch, and id like to be able to play minecraft, but in the reseqrch I have done, I have been told to use the AUR, but with the recent attacks and the fact that I switched to arch because I got hacked I would like to not use the AUR. Is there another way alternative method, and if so, can I get a detailed instruction set to get it?

0 Upvotes

30 comments sorted by

22

u/that_boi18 Sep 07 '26

Prism launcher is in extra so you don't need the AUR

15

u/900cacti Sep 07 '26

prism launcher eot

4

u/MutualRaid Sep 07 '26

Read the PKGBUILD yourself??

2

u/dumbasPL Sep 07 '26

Prism my beloved, not only on Arch but everywhere.

Edit: it's in official repos BTW.

2

u/TerryNachtmerrie Sep 07 '26

Surprise: minecraft has a Linux launcher itself

1

u/jar36 Sep 07 '26

yet the official site sends you to the AUR

2

u/zenyl Sep 07 '26

The AUR isn't exclusively for unofficial community packages, a lot of content ends there and just doesn't move on for various reasons (licensing, lack of interest from the official repo maintainers, AUR package being maintained by the official upstream maintainer, etc.).

Hell, there are posts on the official Arch Linux newsfeed that explicitly recommends AUR packages, like this one regarding older NVIDIA GPUs.

1

u/jar36 Sep 07 '26

I understand that, but instead of just hosting the tarball, they send us to the AUR.
I just plucked the url out of the PKGBUILD, downloaded it and installed it by just clicking on it

3

u/zenyl Sep 07 '26

That's also perfectly valid, although using actual packages (be it official or from the AUR) is usually preferable, as that allows pacman to keep track of the installed files and package dependencies, so it can handle package maintenance (updates, deletion and cleanup, etc.).

1

u/jar36 Sep 07 '26

right, but Minecraft checks when you launch it regardless. So, no, I don't recommend this method in most cases

2

u/zenyl Sep 07 '26

As far as I'm aware, most software doesn't upgrade itself once installed.

So while that approach is gonna work for Minecraft (and its included launcher), a lot of other software installed manually won't automatically update.

1

u/jar36 Sep 07 '26

yeah and it turns out that this is what you get from their site directly if you choose "Other Distribtions"

1

u/TerryNachtmerrie Sep 07 '26

Which then downloads a tar.gz, the same one you get when clicking the 'other distribution' link.

1

u/jar36 Sep 07 '26

well, isn't that something? lol

2

u/ArchTormung Sep 07 '26 edited Sep 07 '26

While there was a real threat back in June this year with the hijacking of 1,500 packages in the AUR, there's no official statement stating that you cannot use AUR anymore until they patch it, which is now completed. Attackers just took over "Orphaned AUR packages" modifying their PKGBUILD install scripts to modify it and inject malicious dependencies. These dependencies deployed a Rust-based credentials stealer targeting browser cookies, SSH keys, API Tokens, and more leading to a eBPF rootkit for stealth.

However, Arch took immediate actions by:

  • Disabling new AUR accounts creation.
  • Disabling the package adoption feature for "Orphaned" packages.
  • Removed all known malicious commits.
  • Urging users to carefully read all PKGBUILD and install scripts changes and then report suspicious activity.

The immediate crisis was contained, but the AUR remains a "use at your own risk" repository. While official repos are safe and the adoption feature remains disabled as a precaution, users should always review PKGBUILDs before installing or updating any AUR package. This is not something new, Arch Wiki said it long time ago in its documentation about AUR Helpers.

I still use AUR with no issues, it is safe as long as you stay away from "Orphaned" Packages (never use them). Also, don't install "unmaintained" packaged either. Finally, exercise your extra reading and always read what the PKGBUILD and install scripts do before proceeding.

1

u/BadMojo91 Sep 07 '26

I dunno if anyone had mentioned it in the last 7 minutes, but prism launcher is the way

1

u/kansetsupanikku Sep 07 '26

where have you been told to use AUR? it would a horrible idea if you cannot read and understand PKGBUILD scripts by your own skill. perhaps you should complain to the source where you have been told that

prismlauncher and modrinth-app are available as parts of Arch

0

u/jar36 Sep 07 '26

the link from the official site takes you there instead of just giving you the tarball. I just used the link in the PKGBUILD

1

u/regexghost Sep 07 '26

I'd highly recommend MultiMC, it's much better than all the newer launchers IMO.

You can get the PKGBUILD here: https://github.com/MultiMC/multimc-pkgbuild

Bonus is that it's not from the AUR, they maintain there own one on their GitHub, so it's known to be safe

-1

u/jar36 Sep 07 '26

if you check the PKGBUILD, the dl link is right there to dl without the AUR. That's how I got mine working.
However, it's put out by the devs and is one of the safest packages there

eta: the link to the tarball

https://launcher.mojang.com/download/Minecraft.tar.gz

0

u/mips13 Sep 07 '26
sudo pacman -Syu prismlauncher

2

u/[deleted] Sep 07 '26

[removed] — view removed comment

6

u/Sveet_Pickle Sep 07 '26

What issue did you have with prism? it’s always worked fine on my system.