The long-anticipated 4.0 release of the Godot game engine is finally out. Sadly, the application is not packaged for any Linux distribution. This short guide takes you through the steps of installing Godot manually.
- Start off by downloading the latest release from the Download Godot 4 for Linux page.
- Navigate to the folder containing the downloaded
.zipfile. In this case, the file was downloaded to the
- Extract the downloaded
.zipfile. Note that downloaded file's name varies based on the downloaded Godot version.
- The extraction process should place a similarly name file without the
.zipextension in the same directory (
.zipfile is no longer needed and can be removed.
- Move the extracted binary into a directory under
Note that the binary could be installed directly under a directory resolvable by the
sudo mkdir -p /opt/godot
sudo mv Godot_v4.0-stable_linux.x86_64 /opt/godot
PATHenvironment variable, but this approach allows multiple binaries to be exist separately for testing.
- The extracted binary file (now under
/opt/godot) is likely owned by the current user. This is probably not desired, so the file permissions should be adjusted.
This results in the application being owned by the
sudo chown root:root Godot_v4.0-stable_linux.x86_64
sudo chmod 0755 Godot_v4.0-stable_linux.x86_64
rootuser and executable by everyone while preventing it from being edited.
- Finally, install the application under
/usr/local/binto make it callable using a simple application name such as
sudo ln -s \
You should now be able to start the Godot game engine from the terminal using the following command:
Ubuntu Application Icon
This step is highly optional, but allows the application to be launched graphically on Ubuntu.
- Download the official Godot
sudo curl -o icon.svg \
- Create the file
/usr/share/applications/godot4.desktopwith the following content:
Comment=The game engine you've been waiting for.
[Desktop Action new-empty-editor]
Name=New Empty Editor
- Adjust the file permissions.
sudo chown root:root godot4.desktop
sudo chmod 0644 godot4.desktop