![A Minecraft scene with a river and trees.](https://datawookie.dev/blog/2023/12/minecraft-client-on-ubuntu/minecraft-client_hua59187663ad9e1939091a3e0c07d3add_222828_0x0_q75_h2__2.webp)
In the previous post we set up a Minecraft server on Ubuntu. Now we’re going to install the Minecraft client and connect to that server.
⚠️ I’m focusing on the Java edition of Minecraft.
Download
Download the client software from https://www.minecraft.net/en-us/download.
![Download the Minecraft client.](https://datawookie.dev/blog/2023/12/minecraft-client-on-ubuntu/minecraft-client-download_hua04a101057b82cd8b21580a8bd6a3113_89982_0x0_q75_h2__2.webp)
Click the link to download the Debian installer. You can also download using the command line.
wget https://launcher.mojang.com/download/Minecraft.deb
Install
sudo dpkg -i Minecraft.deb
If there are errors about dependencies then fix them.
sudo apt --fix-broken install -y
Run
Now, all things being well, you should be able to launch Minecraft.
minecraft-launcher
The first time that you run this it will take a little while to start because it will first need to download updates.
![Minecraft showing Microsoft Login button.](minecraft-client-microsoft-login.webp)
Click the login button then login to your Microsoft account.
![Minecraft Java Edition showing Play button.](minecraft-client-java-edition.webp)
Click the play button.
![Minecraft Java Edition showing option to enable narrator.](minecraft-client-narrator.webp)
Click the button.
![Minecraft Java Edition showing Singleplayer or Multiplayer options.](minecraft-client-mode.webp)
Select the multiplayer game mode.
![Minecraft Java Edition scanning for games on local network.](https://datawookie.dev/blog/2023/12/minecraft-client-on-ubuntu/minecraft-client-scanning-servers_hu59d3feccf54ed12236035a04352c29b0_53580_0x0_q75_h2__2.webp)
Click the button.
![Minecraft Java Edition editing server information.](https://datawookie.dev/blog/2023/12/minecraft-client-on-ubuntu/minecraft-client-server-info_hu66ac0072cdb248cb41cbd55598c50926_71814_0x0_q75_h2__2.webp)
Specify the IP address for the Minecraft server, for example, 3.8.194.40
. If the server is running on a non-standard port then you’ll need to provide the port as well, for example, 3.8.194.40:30100
.
![Minecraft Java Edition showing available servers.](minecraft-client-select-server.webp)
Select the server that you just added and then click the button. You should then be connected to the server.
![Minecraft Java Edition game connected to server.](minecraft-client-playing.webp)
Enjoy!