As of late 2021, we are in the process of updating Stencylpedia and fixing up outdated & broken content. Thanks for your patience!

120,968

Views

Beginner

Level

29

Comments

Installing Stencyl on Linux

by Jon (Updated on 2015-12-16)


Call for Help: Want to help us improve this article? Propose edits to this article.

Note: This article pertains only to Linux. On Mac and Windows, nothing extra needs to be done on your part to install Stencyl (besides running the Windows installer or dragging the app folder to the Mac's Applications directory).

Installation instructions for Ubuntu and Debian

Note: Installation on other Linux distributions will be similar, but the package names may be different. If you have trouble installing Stencyl on another Linux distribution, ask on the forums.

Minimum Requirements

  • Ubuntu 12.04 LTS or later OR Debian Jessie or later.
  • libc6 2.15 or later. (Haxe 3.0+ does not work with older versions of libc6)


Step 1 - Install the Compiler and its Dependencies

Run the following command:

sudo apt-get install g++ libgc-dev libxext-dev

Perform steps 2 and 3 only if you are on a 64-bit Linux system. If you are on a 32-bit system, you may now run Stencyl.

Step 2 - Install Packages required by the JRE and Android SDK

If you are on Debian, first add the 32-bit architecture to the package manager:

sudo dpkg --add-architecture i386
sudo apt-get update

Run the following command to install the packages needed by the JRE and the Android SDK:

sudo apt-get install libstdc++6:i386 libxtst6:i386 libXext6:i386 libxi6:i386 libncurses5:i386 libxt6:i386 libxpm4:i386 libxmu6:i386 libxp6:i386

Step 3 - Install Packages required by Flash Player

Run the following command to install the packages needed by the standalone Adobe Flash Player:

sudo apt-get install libgtk2.0-0:i386 libxt6:i386 libxext6:i386 libatk1.0-0:i386 libc6:i386 libcairo2:i386 libexpat1:i386 libfontconfig1:i386 libfreetype6:i386 libglib2.0-0:i386 libice6:i386 libpango1.0-0:i386 libpng12-0:i386 libsm6:i386 libx11-6:i386 libxau6:i386 libxcursor1:i386 libxdmcp6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 zlib1g:i386 libnss3-1d:i386 libnspr4-0d:i386 libcurl3:i386 libasound2:i386

Step 4 - Install JDK 8 to be able to test or export to Android

Run the following command to install JDK 8 from WebUpd8 PPA:

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

When asked by Stencyl for the location of Java, navigate and select

/usr/lib/jvm/java-8-oracle 

Installation Instructions for Arch Linux

View this page

Print Article Edit Article How to Edit an Article
Disclaimer: Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!

29 Comments

InterNutter
I get a bunch of errors on step 3. It's unable to locate the following packages:

libpng12-0:i386
libnss3-1d:i386
libnspr4-0d:i386
libcurl3:i386

Step 4 just plain doesn't work. Can't add the ppa because it doesn't support 'jammy'?

Anyone got a "For Idiots" instructions for someone who is BRAND NEW to Linux? [OS: Linux Mint Cinnamon FYI]

0 7 months, 1 week ago
ShafalPeaceful11
Hi! Im new ! I need help to create a game without downloading! Do you guys know how?
1 2 years, 3 months ago
jexadox
PLEASE remove this page. its not even the download from the download page. this is COMPLETELY outdated!
1 2 years, 12 months ago
Mihaela Grigore
Are there any installation instructions for Linux in our current year, 2020 ?
Unfortunately, the ones on this page are too old and many libraries in the list above fail to install (at least on Ubuntu Linux 18.04 Bionic).
Does Stencyl no longer support Linux ? Or just Ubuntu ?

PS these are the errors encountered when following the installation instructions above:
E: Unable to locate package libxp6:i386 <- this one I could workaround

E: Package 'libnspr4-0d:i386' has no installation candidate

The following packages have unmet dependencies.
libnss3-1d:i386 : Depends: libnss3:i386 (= 2:3.28.4-0ubuntu0.16.04.11) but 2:3.35-2ubuntu2.8 is to be installed

E: Package 'oracle-java8-installer' has no installation candidate

0 4 years, 5 months ago
wallydstencyl
These steps do not work in 2020. The steps were authored in 2016. I've searched for a clear set of steps. I am currently running a classroom that has very little budget. We can install the following linux distros on our hardware: Mint current version, Ubuntu 18 or Xubuntu 18 or current version of MX Linux which is fast and lightweight. I'd appreciate if someone can document the steps for any one of these Linux distributions.

notes: one of the errors I get is pasted below:

run command: sudo apt-get install oracle-java8-installer
see results fail on screen as follows:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java8-installer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

0 4 years, 9 months ago
rcardona
I have a different Linux System calld Endless, do you have any instructions on how to install Stencyl on this OS?
0 7 years, 1 month ago
ueslen
ERROR IN COMAND libXext6:i386

The correct is libxext6:i386

0 7 years, 5 months ago
kukitoweb
Gracias ... Estaba corriendo pero me dio unos errores. Soy un niño e hice como quería. Termine vendo documentación de los profesionales y hasta ahora todo bien... Gracias compañeros
0 7 years, 7 months ago
MB games
i cant find the app stencyl can someone help me pls

0 7 years, 10 months ago
arielnavarrito
hola
0 8 years, 1 month ago

Sign In to Comment