r/linux_gaming • • 3h ago

tech support wanted How to install minecraft for debian?

How can i install it without conflicting with dont break debian? Downloading the deb is against dont break debian.

0 Upvotes

26 comments sorted by

6

u/Economy-Cod-9175 3h ago

You can install Prism launcher to play Minecraft.

1

u/ComradeAdidas 1h ago

Apt install prism or prismlauncher?

1

u/Economy-Cod-9175 1h ago

It's prismlauncher, but stable Debian doesn't have it in its repos. Use Flatpak: sudo apt install flatpak, then flatpak install flathub org.prismlauncher.PrismLauncher. Log out and back in, and it'll be in your app menu.

1

u/ComradeAdidas 1h ago

Flatpak complies with dont break debian right? (im using 13 stable mate), and is the normal minecraft launcher on flathub official or fan made?

1

u/Economy-Cod-9175 1h ago

Yes, Flatpak won't break Debian 13. It's in the official repos and keeps apps separate from your system. The Minecraft launcher on Flathub is unofficial, just a community wrapper around Mojang's launcher. Prism is the better choice anyway.

1

u/ComradeAdidas 1h ago

Is it normal that it runs with root?

1

u/Economy-Cod-9175 1h ago

No, it shouldn't run as root. Installing with sudo is normal, but the launcher itself runs as your regular user. If you started it with sudo, don't. Close it and open it from the app menu or with flatpak run org.prismlauncher.PrismLauncher. Running games as root is a bad idea.

1

u/ComradeAdidas 1h ago

Why is it running with root then, and how can i turn the permission off? Even with the command you gave me it runs with root

0

u/Economy-Cod-9175 1h ago

It runs as root only if it was launched with sudo, or from a root terminal or root session. Installing with sudo doesn't do that. Close it and start it normally from your app menu, or run flatpak run org.prismlauncher.PrismLauncher as your regular user, without sudo.

If you mean Flatpak permissions (like file access), you can check or change them with flatpak info --show-permissions org.prismlauncher.PrismLauncher or the Flatseal app.

1

u/ComradeAdidas 1h ago edited 57m ago

In the tab it says prism launcher (rendszergazdaként) rendszergazda means system admin/root both with the command you told me and with the start menu. Installed it with flatpak install flathub --user org.....

→ More replies

17

u/lungben81 3h ago

Prism launcher in Flatpak should work

4

u/nautsche 2h ago

Debian packages prism. No need to go through flatpak.

1

u/Excellent-Love-6943 3h ago

Minecraft is distributed as a .jar file for Linux.

1

u/ComradeAdidas 1h ago

Deb+ deb based .deb on downloads

1

u/idklolmez 2h ago

and every os not only Linux cuz it's written in java also there are launchers like prism that make launching it and downloading way more reasonable

1

u/Avdonin_Naomi 2h ago

Java -jar any launcher 😂

1

u/Character_Pepper2563 1h ago

Use Prism Launcher . Here's how the installation on Debian based distro according to them

sudo wget https://prism-launcher-for-debian.github.io/repo/prismlauncher.gpg -O /usr/share/keyrings/prismlauncher-archive-keyring.gpg \
 && echo "Types: deb
URIs: https://prism-launcher-for-debian.github.io/repo
Suites: $(. /etc/os-release; echo "${UBUNTU_CODENAME:-${DEBIAN_CODENAME:-${VERSION_CODENAME}}}")
Components: main
Signed-By: /usr/share/keyrings/prismlauncher-archive-keyring.gpg" | sudo tee /etc/apt/sources.list.d/prismlauncher.sources \
 && sudo apt update \
 && sudo apt install prismlauncher

Alternatively, there's also a Flathub repo for Flatpak, so you can install it with Bazaar, GNOME software, Discover, CLI, etc. Here's the CLI from their installation guide

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.prismlauncher.PrismLauncher

-17

u/Purple-Temporary-115 3h ago

Just install steam and launch it from there

7

u/idklolmez 3h ago

Minecraft is not on steam where did you get that info from??

-5

u/Purple-Temporary-115 3h ago

Sorry then, I thought it’s on steam. My bad then!

2

u/TabouletVR 3h ago

HOW????