Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Special Ant instructions for Linux, update macOS AIR workaround

...

The Ant-based installer doesn't require the Adobe AIR runtime to be installed, or use the GUI installer app, and . The Ant-based installer is the preferred method of install on Linux, but it also works on both Windows and macOS.

Download First, download the binary package from http://flex.apache.org/download-binaries.html and unpack it.

Panel

wget https://dlcdn.apache.org/flex/4.16.1/binaries/apache-flex-sdk-4.16.1-bin.tar.gz

tar zxvf apache-flex-sdk-4.16.1-bin.tar.gz

Now enter Next, navigate into the unpacked directory and .

Panel

cd apache-flex-sdk-4.16.1-bin/

Then, run the installer.xml script using Apache Ant.

On macOS and Windows, you . You will need to tell it to download the last version of the AIR SDK that ran on Linux. You can leave this argument off on other platforms.the script to target version 32.0 of both Adobe Flash Player and the Adobe AIR SDK. 

Panel

# Windows and macOS only

ant -f installer.xml -Dflash.sdk.version=32.0 -Dair.sdk.version=2.6

However, on Linux, you should target version 32.0 of Adobe Flash Player, but skip the Adobe AIR SDK.

Panel

# Linux

Panel

cd apache-flex-sdk-4.16.1-bin/

ant -f installer.xml -Dflash.sdk.version=32.0 -Dair.sdkdonot.versionask=2.6true

On all platforms, you You will be asked to agree to all the license terms .for some additional components that must be downloaded for the Flex SDK to function properly.

After the installer script completes, And finally verify that the Apache Flex compiler runs successfully.

Panel
bin/mxmlc

You should see output likesimilar to the following:

Panel

Loading configuration file.........apache-flex-sdk-4.16.1-bin/frameworks/flex-config.xml

Apache Flex Compiler (mxmlc)

Version 4.16.1 build 20171115

Copyright 2017 The Apache Software Foundation.

Error: a target file must be specified

Use 'mxmlc -help' for information about using the command line.

Adobe AIR-based installer on

...

macOS (10.9 or later)

You must allow unsigned apps (in Security & Privacy pane of the System preferences) in order to install. In recent versions of OS X, this became a blocking error instead of a warning by default. This preference setting allows to revert it to a warning, non-blocking message.

The Adobe AIR-based installer app is not signed or notarized, which prevents modern versions of macOS from verifying its origin. Attempting to open the Adobe AIR-based installer app will cause macOS to block it and display a warning that the app is from an unknown developer. For a workaround, see Apple: Open a Mac app from an unknown developer.

Adobe AIR-based installer on Linux

Adobe no longer provide updates for their installer for the AIR runtime used by the installer, so clicking the installer badge may give an error, or the package it sends you will fail to correctly install. Workarounds to install the AIR runtime are listed below, or (as of Apache Flex 4.12 nightly) you can Adobe AIR runtime on Linux. You must use the Ant-based method.

Install AIR on Debian based distributions (such as Ubuntu)

The following steps have been automated via a script on http://www.noobslab.com/2015/05/adobeair-is-now-available-for-ubuntu.html that also makes sure all the dependencies are installed.

If you need to use a version of Ubuntu not supported there, or Debian iteself, these are the manual steps.

For 32bit systems

Panel

sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0

For 64bit systems

Panel

sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0

Then for either system:
download the Adobe AIR installer by running the following command:

Panel

wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin

Once downloaded, you need to add "execute" permission to the installer:

Panel

sudo chmod +x AdobeAIRInstaller.bin

The last thing to do is executing the Adobe AIR installer:

Panel

sudo ./AdobeAIRInstaller.bin

If this fails with 'execvp: Permission denied' it may be because your /tmp files are not executable. You can change this until you reboot by doing 'sudo mount /tmp -o remount,exec,suid'.

Confirm the installer is installed once it completes by running

Panel

dpkg -l|grep adobeair

should list 'ii adobeair 1:2.6.0.19170 i386 Adobe AIR 2'. You can now click the installer on the main download page and it should work fine.

(thanks to http://www.ubuntubuzz.com/2012/08/how-to-install-adobe-air-on-ubuntu-1204.html)

Install AIR on Fedora and other .rpm based system (such as CentOS)

Currently .rpm's of the installer are not available.

Follow the instructions above to install the AIR runtime, then there has been some success reported using alien to convert the .deb package and install that. You will find the installer in /opt if all went wellinstallation method.