Home > Flex, Linux, Software Development, Ubuntu > Install and configure Adobe Flex SDK on Ubuntu 10.10

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.

Requirements

  • The Flex SDK (build 4.5.1.21328 at the time of writing)
  • Java (version 6 at the time of writing)

Installation

  • 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_4.5.1.21328.zip
  • Create a folder to copy the files to:
$ sudo mkdir /opt/flex
  • Unzip the Flex SDK files:
$ cd ~/Downloads/
$ unzip flex_sdk_4.5.1.21328.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:

export PATH=/opt/flex/bin:$PATH
  • That should be it. To test just call the compiler (after closing any open terminals):
$ mxmlc -help
Categories: Flex, Linux, Software Development, Ubuntu Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.