I wanted to get minecraft on my Linux PC. (Java edition)
But when I have installed everything and minecraft with the befehl./Minecraft.deb
launch the following error:
./Minecraft.deb: 2: Syntax error: newline unexpected
Please help me quickly because I still want to gamble with a buddy today.
.deb are installation packages, you can install but not run them
The following command should help
dpkg install Minecraft.deb
How should i install minecraft then
Then comes E: Invalid operation dpkg
Ok, try it
sudo apt install./Minecraft.deb
or if you are root:
apt install./Minecraft.deb
First you install the .deb package, for example with dpkg or gdebi (pay attention to the dependencies). Minecraft is then installed and you can access it from the start menu. Prop. Quite easy.