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).
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.
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.
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
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
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