Home  >  Development  >  blogs

Step by Step: Flex Builder on Ubuntu 8.04

AddThis Social Bookmark Button
fx_tux.png
Last week Ubuntu 8.04 was released, and I have got to say, I am impressed. I've been dabbling with Linux for nearly a decade, and this is the first time I've ever had it work 100% out-of-the-box without having to track down any additional drivers. Graphics card, network, etc... The installation was simple.

Of course, once the OS was installed, my next logical step was to get Flex Builder for Linux working on it. Here's a step-by-step guide to what I did to get Flex Builder working on there.

1) The first thing I did was install the java-common package using the "Synapic Package Manager" application. This will install the latest java common libraries on your OS installation.

Screenshot-Synaptic Package Manager .png


2) Flex Builder for Linux requires Eclipse, so the next logical step is to download and install Eclipse. I downloaded "Eclipse Classic" and extracted it to the directory "eclipse" within my user folder. I found this article on the ubuntu forums to tweak your Java settings for Eclipse on Ubuntu. The article describes an older version of Ubuntu, but these exact steps worked for me with 8.04.

http://ubuntuforums.org/showthread.php?t=201378


3) Next, download and install Flex Builder for Linux from Adobe Labs. Be sure to check out the release notes before you begin your installation.

Once you've downloaded the file "flexbuilder_linux_install_a3_033108.bin", you'll need to give it execute permissions. From the command line, use "chmod +x flexbuilder_linux_install_a3_033108.bin" to grant these permissions. Then launch the installer by running "./flexbuilder_linux_install_a3_033108.bin" (also from the command line). If your java settings are not setup correctly, you will get a few error messages, and you'll need to go back and tweak them.

Once the installer is running, its easy. Just tell it where to install Flex Builder, and point it to your eclipse directory, and it takes care of the rest.

Screenshot - FB Install.png

Once your installation is complete, it's just like using Flex builder on any other operating system. Just go to "File -> New -> New Flex Project" to create a new Flex Project. From here, you're ready to start developing your Flex applications.

Screenshot - New Flex Project.png

Screenshot-Flex Development - FB Linux Test Project-src-main.mxml - Eclipse SDK -1.png

Screenshot-Mozilla Firefox 3 Beta 5.png


___________________________________
Andrew Trice
Principal Architect
Cynergy Systems
http://www.cynergysystems.com

Comments

4 Comments

With only a little extra work, you can use Ubuntu's Eclipse package: http://rachaelandtom.info/content/kubuntu-710-eclipse-and-flex-builder

Andrew Trice said:

Thanks for the info Tom! This is definitely another way to get eclipse on there.

Thanks for the quick intro. I didnt even know that flex was available on linux. Ive just downloaded hardy recently and will definitely be trying this out!

Thanks!

bazmek said:

Hi there, is Design Mode available in installation like this?

Leave a comment


Type the characters you see in the picture above.

Tag Cloud

Related Books

Development Series

Get an overview of the tools and technologies that work together to allow developers to build Rich Internet Applications (RIAs) quickly and easily.

Anatomy of an Enterprise Flex RIA

Archives


 
 


Or, visit our complete archive.  

About This Site

Welcome to the premiere community site for all things RIA sponsored by O'Reilly Media and Adobe Systems Incorporated.

About Us
Meet the Experts
Meet Our Contributors
Send Us Feedback