Install and configure Adobe Flex SDK on Ubuntu 10.10
This is more of an aide-mémoire for me than a public guide. If it is helpful for other people then I am happy to make it available. If anyone has any comments or suggestion please contact me.
- The Flex SDK (build 18.104.22.16828 at the time of writing)
- Java (version 6 at the time of writing)
- If it isn’t already installed we need Java. Open up a terminal window and type the following:
$ sudo apt-get install java-package sun-java6-jdk
This may take a few minutes, plus you will have to agree to the license.
- Download the Flex SDK (see link above) and save it to your Download folder.
$ cd ~/Downloads/ $ wget http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.5/flex_sdk_22.214.171.12428.zip
- Create a folder to copy the files to:
$ sudo mkdir /opt/flex
- Unzip the Flex SDK files:
$ cd ~/Downloads/ $ unzip flex_sdk_126.96.36.19928.zip -d flextmp
- Copy extracted files to final resting place:
$ sudo mv flextmp/* /opt/flex/
- Add Flex compiler path to “~/.bashrc”:
$ gedit ~/.bashrc
And add the following to the bottom of the file:
- That should be it. To test just call the compiler (after closing any open terminals):
$ mxmlc -help