Skip to content

Instantly share code, notes, and snippets.

@SingingBush
Created April 1, 2018 01:25
Show Gist options
  • Save SingingBush/a16ef4bc8b94f57d3aa0e74d9c358d24 to your computer and use it in GitHub Desktop.
Save SingingBush/a16ef4bc8b94f57d3aa0e74d9c358d24 to your computer and use it in GitHub Desktop.
setting up Godot on Fedora Linux

Godot 3.0.2 (Mono Version)

Get the latest Mono

Godot requires Mono 5.4.x but the Fedora repo is still stuck on an older version. Install the latest directly from the Mono Project (currently 5.10.x).

http://www.mono-project.com/download/stable/#download-lin

rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
su -c 'curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo'
sudo dnf update
sudo dnf install mono-devel

Get the latest version of Godot and extract it to /opt:

wget https://downloads.tuxfamily.org/godotengine/3.0.2/mono/Godot_v3.0.2-stable_mono_x11_64.zip
unzip Godot_v3.0.2-stable_mono_x11_64.zip
sudo mkdir /opt/godot-3.0.2/
sudo mv Godot_v3.0.2-stable_mono_x11_64/* /opt/godot-3.0.2/

download a decent png icon (256px square) and save it as /opt/godot-3.0.2-mono/godot.png

Create a launcher:

Create a desktop shortcut vim ~/.local/share/applications/godot.desktop with the following content

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Godot
GenericName=Game Engine
Comment=Cross-platform game engine to create 2D and 3D games
Exec=/opt/godot-3.0.2-mono/Godot_v3.0.2-stable_mono_x11_64
Icon=/opt/godot-3.0.2-mono/godot.png
Terminal=false
Type=Application
Categories=Development; Games;

Download Export Templates

If you've installed the Mono version then you may find that it's not possible to download the export templates using the gui. You may need to manually download them and install them from the file directly.

https://downloads.tuxfamily.org/godotengine/3.0.2/Godot_v3.0.2-stable_export_templates.tpz

They will get installed to ~/.local/share/godot/templates/3.0.2.stable but you will need them in ~/.local/share/godot/templates/3.0.2.stable.mono/

You could rename the directory, I decided to create a new directory and copy over the Linux template

mkdir ~/.local/share/godot/templates/3.0.2.stable.mono/
cp ~/.local/share/godot/templates/3.0.2.stable/linux_x11_64_* ~/.local/share/godot/templates/3.0.2.stable.mono/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment