How to compile Godot Engine on Ubuntu

How to compile Godot Engine on Ubuntu

March 5, 2018 How-to 0

 

We will set up a fresh Ubuntu Desktop and compile the latest version of Godot Engine.

Therefore we make three steps in this tutorial:

  • How to install Ubuntu Desktop 16.04.3 LTS
  • How to update and upgrade Ubuntu in Terminal
  • How to compile Godot Engine on Ubuntu

Requirements:
This is a very beginner friendly tutorial, so you don’t have to know much.
Just watch the videos and repeat the steps.

Difficulty: Basic

 

1. How to install Ubuntu Desktop 16.04.3 LTS

Download Ubuntu Desktop and read the step-by-step guide how to boot up from USB/DVD.

 

2. How to update and upgrade Ubuntu in Terminal

Open the Terminal and update Ubuntu:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt autoremove

 

3. How to compile Godot Engine on Ubuntu

Now it’s time to compile Godot Engine

  • Install all missing libraries and dependencies:
sudo apt-get install build-essential scons
sudo apt-get install pkg-config libx11-dev
sudo apt-get install libxcursor-dev libxinerama-dev
sudo apt-get install libgl1-mesa-dev libglu-dev 
sudo apt-get install libasound2-dev libpulse-dev
sudo apt-get install libfreetype6-dev libssl-dev libudev-dev
sudo apt-get install libxi-dev libxrandr-dev
  • Install git (if missing):
sudo apt-get install git
  • Clone the godot repository:
git clone https://github.com/godotengine/godot.git
cd godot
  • Compile it (can take awhile):
scons platform=x11
  • And finally start the engine:
cd bin
./godot.x11.tools.64

 

Ready to start a new project!

Share this:
Share

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.