#linux #terminal #linuxcommandline
Try chaging h ttps to be https if commands aren’t working.
install java:
sudo apt-get install openjdk-8-jdk
check java version:
java -version
javac -version
Download minecraft from website:
wget h ttps://launcher.mojang.com/download/Minecraft.tar.gz
Extract the archive:
tar -xvf Minecraft.tar.gz
Go to folder and lauch the game:
cd minecraft-launcher
./minecraft-launcher
For Ubuntu users:
Download minecraft from the website:
wget h ttps://launcher.mojang.com/download/Minecraft.deb
Install the package that was downloaded:
sudo dpkg -i Minecraft.deb
fix install that may be broken:
sudo apt –fix-broken install
Install the package that was downloaded:
sudo dpkg -i Minecraft.deb
Now you can start up the minecraft from terminal or file manager.
You can uninstall minecraft with this command:
sudo apt-get purge minecraft-launcher
———————————————————————————————————————–
Source for the commands:
h ttps://www.geeksforgeeks.org/how-to-install-minecraft-on-linux/
[ad_2]
source