Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Info

The information below is to be of further assistance if you are having difficulties getting the SDK running on Linux

Air Dependency

Flex SDK is best installed using the SDK Installer, which requires Adobe AIR 2.6. If you didn't already know, installing Adobe AIR on Linux isn't that easy, as it is not supported by Adobe anymore. The easiest way I have found is this one:

  1. If you're using a 64-bit Linux system, install the ia32-libs (AIR is 32-bit only):
    Code Block
    sudo apt-get install ia32-libs
    

  2. Go here (http://update.devolo.com/linux/apt/pool/main/a/adobeair/) and download the AIR installer for 64-bit systems (amd64) or 32-bit (i386)

  3. Install the package you just downloaded:
    Code Block
    sudo dpkg -i adobeair_2.6.0.19170_amd64.deb
    


You're done with the installation of Adobe AIR.

Installing the SDK Installer

  1. Download the installer (.deb) here: http://flex.apache.org/installer.html

  2. Once you have downloaded the .deb, install it using dpkg (this command will force the installation, even if the AIR dependency is not resolved):
    Code Block
    sudo dpkg -i --force-depends apache-flex-sdk-installer-2.6.0-bin.deb
    

  3. Once the installer has been installed (you might encounter several warnings and errors, just ignored them), open a terminal and go the installation folder:
    Code Block
    cd "/opt/Apache Flex/Apache Flex SDK Installer/bin"
    

  4. Run the installer:
    Code Block
    ./Apache\ Flex\ SDK\ Installer
    


Now you just need to decide where you want the SDK to be installed, and you're good. Everything should go smoothly.

Updating the SDK Installer

I really suggest that you uninstall the SDK Installer (but not the SDK, of course!) when you're done, because it will cause you all sorts of errors with apt-get in the future. Errors that look like this:

Code Block
org.apache.flex.installapacheflex:i386 : PreDepends: adobeair:i386 (>= 1:2.6.0.0) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

This can be done very easily with the following command:

Code Block
sudo apt-get -f install