Augustina's Technological Blog

Technology, Perl, Linux, and a Woman's perspective on the FOSS community

Installing Flex On Ubuntu

with one comment

Install Eclipse

Do not install Eclipse from the Ubuntu repositories.  Navigate to and select Europa on the left-hand menu.  Download the Eclipse for Java download. Extract the .tar.gz file and move it to the /usr/lib/ directory. Create a symbolic link in /usr/bin to launch Eclipse.   “sudo ln -s /usr/lib/eclipse eclipse”  Also you can add a menu item under Programming to your applications menu.  Launch Eclipse to make sure the installation went smoothly.

Configure Sun Java

Follow this HOWTO:
Or follow the instructions to use your JDK of choice here –

Install Flex
Once you’ve configured Eclipse, install the Flex plugin for Linux –
Download the bin file and from the command line, chmod+x to make it executable.  Run it from the command line by cd’ing to the directory where it’s downloaded and run it by prefacing the downloaded bin file with ./ .  Example: sudo ./flexbuilder_linux_install_a4_081408.bin

Be sure to run this install script with root privileges because the installation will need to access folders that will require it.  During the installation you’ll be prompted for 2 different directories, one for the Flex install and another for the Eclipse root folder.  I chose the /opt directory for Flex installation.  On Ubuntu, if you installed Eclipse via apt the Eclipse root folder will be at  /usr/lib/eclipse .  Do not use the defaults the installation script is prompting.

Create a Project

Launch Eclipse and select File > New > Other…

A dialog should pop up with a list of wizards.  Expand the folder for Flex Builder and select your project type.

Note that I was unable to get this working with Eclipse 3.4 .  If you have a version of Eclipse installed from the Ubuntu repositories I highly recommend you completely remove it and use the packages provided by

Written by missaugustina

March 11, 2009 at 7:43 pm

One Response

Subscribe to comments with RSS.

  1. […] Adobe Flex on Ubuntu Jump to Comments I just configured Eclipse to use Adobe’s Flex plug-in on Linux and thought I’d share my instructions. I made the mistake of installing Eclipse via apt and then upgrading to the latest version from which pretty much failed miserably. I finally got it working by removing everything and just installing off of directly. So anyways, here it is… […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: