9

How can I install Godot Engine using command line? Is there a PPA for Godot Engine? I am waiting for the command to install it like sudo apt-get install godot-engine.

1
1

Perhaps not the answer you want...

There are stirrings on Launchpad but no PPA or anything looking useable at the moment.

I tried downloading the compiled binary but it segfaulted immediately when I ran it :|

So I downloaded this release (click to download) from the Godot Engine GitHub page and followed the instructions here for compiling on Ubuntu.

Install dependencies:

sudo apt-get install build-essential scons pkg-config libx11-dev libxcursor-dev \
libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev \ 
libfreetype6-dev libssl-dev libudev-dev libxrandr-dev

Untar the source and enter the directory:

cd Downloads      # or wherever you put it
tar xf godot*
cd godot*

Now run:

scons platform=x11

Many CPU cycles later it compiled. The binary can be found in the bin directory in the top level directory of the source. It runs fine for me. You can symlink it to a location in your PATH for easier running, or make a launcher.

I'm on 16.10 (Ubuntu MATE). YMMV.

3

Answer adapted from here: https://cialu.net/install-godot-game-engine-on-fedora-or-ubuntu/

First, download the appropriate version for your system (32 bit or 64 bit) from the Godot Download Page.

Open a Terminal window and enter:

unzip Godot_v2.1-stable_x11.64.zip

After, move the executable to /opt folder:

sudo mkdir /opt/Godot/

sudo mv Godot_v2.1-stable_x11.64 /opt/Godot/Godot

And make it executable:

sudo chmod +x /opt/Godot/Godot

Then, create and edit a launcher for Godot executable:

cd ~/.local/share/applications/

nano godot.desktop

Populate the .desktop file, writing this in nano, saving with CTRL-O and exiting with CTRL-X:

[Desktop Entry]
Name=Godot Engine

GenericName=Libre game engine
Comment=Multi-platform 2D and 3D game engine with a feature rich editor
Exec=/opt/Godot/Godot -pm
Icon=godot
Terminal=false
Type=Application
Categories=Development;IDE;

And now you can launch Godot from your desktop system. If you want to customize the icon, just put the Godot icon in your theme and name it godot.

1
  • 1
    To customize the icon: Copy the icon.png from a new project generated by Godot into ~/.local/share/icons/godot.png, and change the .desktop file to say Icon=godot.png. – TalkLittle Jan 23 '18 at 22:15
2

My preferred way of installing software(If it's available):

sudo snap install godot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.