Sep
27
2008

Adobe® AIR on Gentoo Linux

Adobe® AIR 1.1 for Linux is currently in beta and is almost feature complete. For anyone not in the know, the Adobe AIR runtime lets users run rich Internet applications from their desktop without a web browser across multiple operating systems.

There are some slick-looking AIR applications out there and I love eye candy, so when I heard there was a Linux version of Adobe AIR, I couldn’t wait to give it a whirl. Once I went to install it however, I was disappointed before I made it out of the gate. The installer for the Adobe AIR runtime for Linux requires that you are running a Linux distro with an RPM or Debian package management system. My distro of choice is Gentoo, so this wasn’t going to work.

Having run Gentoo Linux for a number of years, I am used to this sort of thing. Many software vendors shy away from supporting source based distros like Gentoo as they are “moving targets.” The element of choice introduced with such a source based distribution means that any two Gentoo Linux boxes could have dramatically different configurations.

The other part of being a Gentoo user however, means that I wasn’t going to give up in a hurry. I did some searching and some reading and managed to get Adobe AIR running on my x86 Gentoo laptop.

Here’s how I did it…

Part of the Adobe AIR SDK called ADL can be used to run Adobe AIR applications on non-RPM/Deb distributions like Gentoo.

Download the Adobe AIR SDK

  1. Browse on over to http://www.adobe.com/products/air/tools/sdk/
    (thanks to thrstn for the updated link)
  2. By clicking on the download link for the SDK, you are accepting the terms of the License Agreement.

Unpack the Downloaded Software

  1. Create a directory for the runtime. I used /opt/AIR-SDK
  2. Extract the AIR-SDK’s .tbz2 file in the directory you just created
  3. cd /opt/AIR-SDK
    tar jxvf /path/to/adobeair_linux_sdk_b1_091508.tbz2

  4. Create another directory for Adobe AIR applications. I used /opt/AIR-apps

Download and Unpack an Adobe AIR Application

  1. Download an Adobe AIR application. It will end in the extension .air
  2. Create a subdirectory with the name of the application in the applications folder you created above. Example /opt/AIR-apps/application-name
  3. Use unzip to extract the contents of the AIR application you downloaded
  4. cd /opt/AIR-apps/application-name
    unzip /path/to/application-name.air

Use ADL to launch your application…(the following is all on one line)

/opt/AIR-SDK/bin/adl -nodebug /opt/AIR-apps/application-name/META-INF/AIR/application.xml /opt/application-name

Enjoy your Adobe AIR applications!

Here are a couple of screenshots of AIR applications that I have installed…

Klok Screenshot
Kuler Screenshot

 

 

Written by flashman in: Linux | Tags: , ,

19 Comments »

  • Dan Fego

    Thanks for the post! I was anxiously waiting for someone to figure this out! To remove some of the annoyance out of the command-line there, I created a (very) simple bash script:

    #!/bin/bash
    AIR_PATH=/opt/AIR-SDK/bin/adl
    APPS_PATH=/opt/AIR-apps

    # this is all one line
    ${AIR_PATH} -nodebug “${APPS_PATH}/$1/META-INF/AIR/application.xml” “${APPS_PATH}/$1″

    Comment | September 30, 2008
  • Thanks for the bash script Dan. That’s definitely a lot nicer to deal with.

    Jason

    Comment | September 30, 2008
  • Good post.

    Comment | October 27, 2008
  • Nice post u have here :D Added to my RSS reader

    Comment | December 1, 2008
  • The linux Air SDK can now be found here: http://www.adobe.com/products/air/tools/sdk/thankyou/linux.html

    Comment | December 19, 2008
  • [...] instrucciones que he seguido se basan en un post de un tal Jason, que utiliza [...]

    Pingback | December 29, 2008
  • [...] Adobe Air on Gentoo Linux | flashinthepan [...]

    Pingback | December 30, 2008
  • Deus Ex

    Thanks a lot! That’s what i was looking for! :D

    Comment | March 11, 2009
  • [...] A Solution was found which describes how to install the AIR SDK beta. now adobe air is currently in version 1.5 and while im not sure how the history works out but the links in the linked page were no longer correct, anyway, here is my (highly derivative) guide [...]

    Pingback | April 3, 2009
  • thrstn

    Here is an updated link to the SDK:

    http://www.adobe.com/products/air/tools/sdk/

    Comment | April 10, 2009
  • I really appreciate this article. AIR is now running smoothly on my Sabayon box.

    Comment | May 4, 2009
  • geirr

    Great, this helped me a lot =)

    Shouldn’t the last part of the command to run an app be: /opt/AIR-apps/application-name? (Think you forgot the AIR-apps part)

    Comment | May 23, 2009
  • anon

    I get “Illegal instruction” when I run the SDK, the AIR installer. I can’t find the 1.1 version anywhere… anyone got a copy?

    Comment | July 3, 2009
  • John Lund

    This is great. I was bummed when I couldn’t get the Pandora AIR app to run initially on my Gentoo boxes. The instructions here worked, and I don’t need to have a browser open to use Pandora any more. Yay!

    Comment | August 21, 2009
  • Awesome guide. Worked perfectly for me except rather than install everything to /opt, I installed everything to ~/local and adjusted the Bash script accordingly. I figure that unless you run a multi-user system where the users use the desktop, run this all from within your /home directory.

    Comment | September 4, 2009
  • Sundeep

    Hi
    Just wanted to point out that AIR-Linux, has been out of beta for a long time now, its at par with AIR on windows. Download the latest version from: http://get.adobe.com/air/

    Comment | September 6, 2009
  • Alex

    “The other part of being a Gentoo user however, means that I wasn’t going to give up in a hurry.”

    This! This is me right now. It’s five in the morning. My Pandora free ran out so I upgraded to Pandora premium and want to run the payer… which runs on adobe Air.

    Thank you for posting this. Bookmarked for tommorrow. :)

    Comment | September 11, 2009
  • SDNick484

    I used your instructions to get the download manager for Shockhound (a music download site) to work in Gentoo ~amd64. I had to first install it in a Windows 7 VM to get the .air files (they were in C:\Program Files (x86)\Shockhound Download Manager. Many thanks.

    Comment | October 28, 2009
  • Excellent post!

    I had an extra issue because I’m an Awesome user, but there’s documentation on the Adobe website which got me past that final speedbump and lets me run AIR apps as well ( http://kb2.adobe.com/cps/492/cpsid_49267.html –> check the bottom of the page)

    Comment | December 10, 2009

RSS feed for comments on this post. TrackBack URL

Leave a comment

The freshman download movie Highlander: the search for vengeance download movie First snow download movie Trauma download movie The freshman download movie Highlander: the search for vengeance download movie First snow download movie Trauma download movie

Powered by WordPress. Theme: TheBuckmaker