Minecraft is one of the most popular games of all time, captivating players with its sandbox open world gameplay. In this comprehensive guide, we will cover everything you need to know to get Minecraft running smoothly on the latest Ubuntu 22.04 LTS release.
Installing Minecraft with APT
The easiest way to install Minecraft on Ubuntu is by using the apt package manager. Here are the step-by-step instructions:
-
Open a terminal window on your Ubuntu 22.04 system.
-
Download the official Minecraft Linux package:
wget https://launcher.mojang.com/download/Minecraft.deb
- Install the package using apt:
sudo apt install ./Minecraft.deb
- Follow the on-screen prompts to complete the installation. The files will be fetched and extracted automatically.
Once completed, you will be able to launch Minecraft through the applications menu or dash.
Installing Minecraft with Snap
An alternative method for installing Minecraft is to use the Snap system. Here is how to accomplish this:
- Ensure Snaps are enabled on Ubuntu by verifying snapd is installed:
sudo apt install snapd
- Install the official Minecraft Snap package:
sudo snap install minecraft
- Launch Minecraft through the applications menu or dash.
The benefit of using Snap over apt is auto updates. However, the apt version has faster launch times.
Launching and Configuring Minecraft
Once installed via either method, launching Minecraft is simple. Just search for "Minecraft" on the applications menu or dash and click the icon. On first launch there will be some additional setup steps:
- Login/register for a Mojang account
- Configure video settings for optimal performance
- Adjust mouse sensitivity and key bindings
- Optionally install mods and custom texture packs
Here are some recommendations for getting the best experience within the settings GUI:
- Turn graphics to "Fast" and render distance to 8 chunks initially
- Disable Vsync for reduced input lag
- Set mouse sensitivity to 50% or lower
- Set key bindings to WSAD for movement, space to jump, etc.
- Test different video settings and find the right balance of visuals and FPS for your system
Installing Mods and Custom Content
One of the best things about Minecraft is the flourishing mod scene. Here are some excellent mods to enhance vanilla gameplay on Ubuntu:
- Optifine – Boosts FPS and options for optimizing graphics
- WorldEdit – Build faster with editing tools
- Extra Utilities 2 – Additional blocks and progression
- Biomes O‘ Plenty – More realistic and diverse biomes to explore
To install these client-side mods:
- Download the latest mod .jar files
- Place .jar files into the ".minecraft/mods" folder
- Restart the Minecraft launcher
- Select the newly created profile in the profile editor
You can also install custom texture packs, shaders, maps and more by placing the downloaded files into the ".minecraft" folder.
Setting up a Minecraft Server
Running your own Minecraft multiplayer server on Ubuntu 22.04 is straightforward. Just follow these steps:
- Install Java runtime if not already present
- Download the Minecraft server .jar from Mojang into a folder
- Run the server .jar, agree to EULA
- Configure server.properties file to your liking
- Port forward port 25565 TCP on your network
- Give your friends the server IP and start playing!
Be sure to set up scheduled off-site backups, install security plugins and monitor performance. Having too many players with lots of automation and mods can bog down your home server quickly.
Uninstalling Minecraft
If you ever need to uninstall Minecraft, it‘s a quick process:
For the apt version:
sudo apt purge minecraft-launcher
For the Snap version:
sudo snap remove minecraft
And that‘s it! These commands will uninstall Minecraft and all related dependencies. Be sure to backup your worlds, server or other files you want to keep beforehand.
Conclusion
Getting up and running with Minecraft on Ubuntu 22.04 LTS does not have to be difficult, now that you know the exact steps for installation, optimization and customization. You can be hosting your own Minecraft server, installing mods and enjoying smooth gameplay on Linux right away.
As one of the top games out there, Minecraft running on open source operating systems and hardware is a great achievement. Have fun exploring the blocky worlds – see you out there!