Swedish goodness.
On Arch Linux, you can get the minecraft-launcher official launcher from the AUR.
yay -S minecraft-launcher
Here is a list of workarounds for known bugs.
Unexpected error when opening the launcher
As of March 18th 2025, there is a bug in which when opening minecraft-launcher from the AUR, it gives the following error
Whoops! An unexpected issue occurred; we are sorry for the inconvenience. Please try restarting your Launcher. If that does not resolve the issue, please log a bug report.
As pointed out by Reddit user SoulCommander12 in r/archlinux, the issue is solved by deleting the directory webcache2/
rm -r ~/.minecraft/webcache2/
However, every time the launcher is opened it creates a new webcache2/ directory. You may need to delete it each time you want to open Minecraft. Third-party launchers like gdlauncher-bin from the AUR work without issues.
To install mods using fabric, it is necessary to install the modloader. On Linux, the preferred way is to use a third-party launcher like GDLauncher. On Arch Linux, install the package gdlauncher-bin from the AUR and follow their documentation for setting it up.
To use the official minecraft-launcher
java -jar <fabric installer>.jar
After this is done, simply move the mods under ~/.minecraft/mods/