JeffHendricks.net Born-Again Techo-Geek Renaissance Man

10May/1290

Installing Adobe AIR 2.6 in Ubuntu 12.04 64-bit

 

Like the title says. Installing Adobe Air natively on Ubuntu 12.04. With 64-bits. Not 32. :)

If you like programs like Tweetdeck, Destroy Twitter, WriteOrDie, the Wikipedia Desktop app, etc. you will need the abomination known as Adobe Air. And if you use Ubuntu, especially a newer version, installing Adobe Air is not easy or simple. Adobe quit supplying a Linux version a while back, and there hasn't been anything to replace it... we've been stuck trying to crutch along the older version. Thankfully, most Air apps don't require newer versions of Air.

To pull this off, we're going to need the last Linux version of Adobe Air, and a nifty little tool called "getlibs-all". Oh yeah, and Ubuntu 12.04 installed on a computer.

First, go to Adobe's archived Air files and grab Adobe AIR 2.6.0 Linux (15.4 MB). Next, grab the file getlibs-all.deb right here. The guy who wrote it doesn't seem to be hosting it anymore, and it's not a huge program, just extremely useful for finding 32-bit libraries for a 64-bit system. You can right-click "getlibs-all.deb" and open with Gdebi Package Manager, and click Install. So far, so good.

Next, you need to make sure to install libhal-storage1, lib32nss-mdns, and libgnome-keyring0 if it's not installed. Open a terminal and run:

sudo apt-get install libhal-storage1 libgnome-keyring0 lib32nss-mdns

It should ask you to install (Y/n) if they're not already there. Let them install, and rejoice. Now, we need to install all the missing 32-bit libraries that it will need. You can't get these from apt-get unless you know what they all are. Simply use the following commands:

(Note! Since I wrote this, libgnome-keyring0 has been updated to a newer version!)

sudo getlibs -l libhal-storage.so.1
sudo getlibs -l libgnome-keyring.so.0.1.1

Or possibly, if you've updated libgnome-keyring:

sudo getlibs -l libgnome-keyring.so.0.2.0

For each one, it will ask if you want to install (a lot of) libraries. Let them all download and install, and we're almost done! Next, we link a couple of libraries (they're there, but not where Air is looking for them). Run the following:

sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0

And then run the actual Air installer. In a terminal, cd to the directory you stored "AdobeAIRInstaller.bin" in and run this:

chmod +x ./AdobeAIRInstaller.bin
sudo ./AdobeAIRInstaller.bin

You should get the standard "Installing" messages, and Air should install with no problem! Enjoy!

I got most of the information here from Adobe's help site, with a little poking prodding and research to put all the rest of the pieces together.

Hey, here's a screenshot of the AIR installer dialog about to install DestroyTwitter, with WriteOrDie running next to it (which is an awesome app). This is my personal desktop, running Ubuntu Studio 12.04 64-bit.

Screenshot - 04062014

Posted by Jeff Hendricks

Comments (90) Trackbacks (5)
  1. thanks! It was very usefully

  2. Perfect! The library ‘linking’ is the only thing that was holding me up on installing Adobe Air Mint 13 (based on 12.04) 32bit. All the other reqs were already in place.

    Thanks for taking the time to write it up and share!

  3. Thanks so much–only started using Ubuntu yesterday and managed to get AIR installed with this step by step guide!

  4. You’re welcome, took a little effort, but it works! Thanks for reading.

  5. Thanks for this handy walkthrough, Jeff.

    I’ve recently installed Xubuntu 12.04, and I am working through getting my photography tools installed. I had been stumbling over Adobe AIR until I found this blog!

  6. Followed The Steps One By One & Was Able To Install AIR files without further hassles. Magic !! :D

    Thanks Much!! :)

  7. Change the line

    getlibs -l libgnome-keyring.so.0.1.1

    into

    getlibs -l libgnome-keyring.so.0.2.0

    Newer version is available!

  8. Please replenish: On Kubuntu 12.04, I get error message “not allowed” when installing with sudo. If I instead run the installer without sudo, and then enter my password when prompted (needs administrator privileges), it works.

  9. As Edward pointed out, libgnome-keyring0 has a newer version, so check and see if you have 1.1 or 2.0! I’ll add a note to the post. Thanks!

  10. Thanks for an awesome and easy tutorial. Took me less than five minutes to get Air installed and working.

  11. Good lord this was helpful. Thank you.

  12. De verdad funciona. Gracias.

  13. Nice write-up. I followed it to the letter and everything worked as expected, thanks!

  14. Thanks a lot!!!! Works like a charm! One more happy human :)

  15. chmod: impossible d’accéder à «./AdobeAIRInstaller.bin»: Aucun fichier ou dossier de ce type
    what can i do ? help plz

  16. Have you tried “sudo chmod a+x ./AdobeAirInstaller.bin” ?

  17. I recently installed Ubuntu 12.04.1 and found that the gnome keyring was already installed as were the 32 bit libs (perhaps from another install?). I only needed to install libhal-storage1 and lib32nss-mdns and create the link. There was no need to use getlibs. AIR installed with no problem. I was then able to install Pandora One and Balsamiq Mockups.

  18. Worked like a charm. Thanks much!

  19. thanks it works………..

  20. it worked for me as well thanks………

  21. Thank you very much for this post, got Air installed with no fuss! A great accomplishment!

  22. Thank you, it worked :)

  23. Fantastic article…thanks

  24. Thanks for the comments. Makes me happy to know people find it useful! :)

  25. Thanks a lot, it’s very usefull

  26. Brilliant! I’ve been looking for good instructions for half an hour before finding yours. They were very clear, comprehensive and it worked! thank you very much.

  27. Thanks My Hero!! It works +_+

  28. Thanks a lot from french linux user !!! it works great :)

  29. Thanks! These instructions worked fine with 12.10. I did get a warning about lib32nss-mdns not being available, and libgnome-keyring.so.0.2.0 saying I already had the newest version.

    I followed the instructions, ignoring the warnings, and everything works. I suspect I already had some of the requirement installed for some reason.

    uname -a
    Linux ubuntu 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:52:46 UTC 2012 i686 i686 i686 GNU/Linux

    I’m using Air to use Zinio reader (digital magazines). Runs fine on my Xeon workstation, but is slow as molasses in January on my little ol’ Atom netbook.

  30. Thanks a lot. All the process worked fine to the end. Using Ubuntu 12.04. Merry Xmas and all the best for 2013! From France.

  31. Wow, I never would have been able to get that working myself. Thanks so much

  32. Thank you so much for this. Apparently Adobe Air is needed to download programs from BBC website but instructions for Linux users are non-existent there. This worked beautifully on Linux Mint 14 64-bit.

  33. Thanks so much, I wouldn’t do by myself :D

  34. Hallelujah!!!!
    Thank you for this.Seems to be installing great. Ubuntu really do need to sort this issue as Air is becoming as ubiquitous as Reader.
    Thank you again

  35. Woop woop :D 2013 and still useful. Thank you very much!

  36. i have linux mint maya 32 bit will this work? if not what will?

  37. Mint is based on Debian just like Ubuntu, so yes, it will work. If it’s 32 bit, you won’t need to use getlibs for the 32 bit libraries.

  38. thanks a lot it worked very nice on my ubuntu 12.04 X64 cheers

  39. Thanks so so much, it’s perfect for my ubuntu 12.04 x64! I’m searching for this for hours!

  40. I run sudo ./AdobeAIRInstaller.bin command and get the next error.
    /tmp/air.SbGiSM/setup: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    Any sugestions

  41. ^^ I run LMDE 201303. cinnamon edition

  42. It’s looking for a library that’s not there (or in a different place). You can try searching for that file, and make a symlink to it in /usr/lib/i386-linux-gnu

  43. Thanks for posting this! Worked great for someone who is migrating from windows to Ubuntu for the first time!

  44. I didn’t realize Zinio had a desktop reader, I’ve been using it with the web reader for a while. Thanks for letting us know, I’ll have to check it out!

  45. Perfect, thanks a lot.

  46. I followed these instructions and got an error after running ./AdobeAIRInstaller.bin. Here’s the error: Gtk WARNING **: cannot open display. An answer to a question about this on AksUbuntu (a StackExchange site) has the solution. http://askubuntu.com/a/143845/150443

  47. Thank you! It really saved me loads of time.

  48. Worked like charm, but the package of getlibs you pointed to will not install manpages. On installation Ubuntu Software Center refuses to install it, because the package does not specify size_installed. You can choose to ignore that warning, but I think it should be mentioned, because it might confuse newer users.

  49. …..Brilliant. As with these guys above, just a load of unecessary faffing about. Thanks Muchly.

    Billy~boy did a fantastic job in convincing fledgling computer manufacturers that ‘m****$***’ was the way to go….

    …. borking it up…..

  50. SOrry!!! i dont understand the last part. what do i do with the archive or AdobeAir that i download? HOw do i run it on the terminal! Please help!

  51. You have to make it executable… go back and read the directions.
    In a terminal, cd to the directory you stored “AdobeAIRInstaller.bin” in and run this:

    chmod +x ./AdobeAIRInstaller.bin
    sudo ./AdobeAIRInstaller.bin

  52. I’ve been trying to install Terry Cavanagh’s Bosca Ceoil, which was recently ported to Air 2.6 for linux users. I have followed the instructions entirely, and upon running the deb installer for Bosca Ceoil, I get the following: boscaceoil pre-depends on adobeair (>= 1:2.6.0.0). However, when trying to install Air again I get a message saying it is installed. I’m running Ubuntu 13.04 if that changes anything.

  53. Does everything else run with the Air installer? It might be a problem with the particular app, especially if you’re installing it from a .deb package. You can always use “dpkg -i –force-depends” which will ignore the dependancy. If Air is actually installed, the app should still work. Sometimes it’s just the package installer not recognizing the correct version.

  54. Jeff did you try installing Adobe AIR on Ubuntu 13.10 because I can’t get it to work.

    You can install 32-bit libgnome-keyring0 without getlibs but there is no ia32-libs anymore and there is no libhal-storage1. I installed other 32-bit libraries like: gtk2-engines-murrine:i386, libcanberra-gtk-module:i386 (with other i386 dependencies) also lib32nss-mdns but that is not enough.

    When I run ./AdobeAIRInstaller.bin there are these:

    Gtk-Message: Failed to load module “overlay-scrollbar”
    Gtk-Message: Failed to load module “unity-gtk-module”

    They don’t show up if I run the installer as root but still I only get screen with help messages about installing AIR on 64-bit distros (no installing).

  55. I haven’t tried it with 13.10 yet, I just downloaded the .iso for it this past weekend. I’ll probably look into it in the next week or so, as I have to rebuild one of my machines anyway, and I wanted to try 13.10.

  56. It’s me again I solved this on my own. I looked at the control file of the 32-bit adobeair .deb package and then checked what’s need to be installed. I already had libgtk2.0-0:i386 so installing libxslt1.1:i386 which pulled also libxml2:i386 was enough to get the AdobeAIRInstaller.bin to actually work.

    Also I had to install libasound-plugins:i386 to get sound in one of my AIR apps WiMP (ALSA emulation on OSSv4 drivers). That’s a music streaming service which only supports Windows and OS X.

  57. Good job, glad you got it working!

  58. Absolutamente Excelent, this issue. Thankss

  59. Worked. Thanks.
    Some People suggest installing ia32-libs.
    as here http://askubuntu.com/questions/87447/how-can-i-install-adobe-air

  60. Mateusz, I ham getting the same errors,

    Gtk-Message: Failed to load module “overlay-scrollbar”
    Gtk-Message: Failed to load module “unity-gtk-module”

    I have already installed all the libraries you have mentioned in your post including libxml2:i386 libxslt1.1:i386, for my Adobe AIR installation, but am still getting that error.

    Can you think of anyother reason that error could occur

  61. By the way again it runs fine as root user for me

  62. Are you running 12.04? I really didn’t intend for this to work with newer releases, and I of course can’t write a new one for every single release. If you’re running 12.04 and it still isn’t working, then I’ll have to dig into it and see what they changed. Do you have any other repos or packages installed besides the stock 12.04?

  63. Sorry, for not mentioning earlier, I am facing issue with AdobeAIR installation on 13.10.

    Like Mateusz I got it working with successfull install, but like him facing issue with AdobeAIR supported application only starting it starting as root, otherwise giving error :

    Gtk-Message: Failed to load module “overlay-scrollbar”
    Gtk-Message: Failed to load module “unity-gtk-module”

    I already have xml and xslt i386 packages as he mentioned and hence suspect the problem is much more than that.

    I realize you can only support only as much and your original article is of great help to start off against. It si that since Matusez seems to have resolved the issue, if I could get some additional pointers from him that would be helpful.

  64. Hi jethar,

    Did you install the libgnome-keyring0:i386 gtk2-engines-murrine:i386 libcanberra-gtk-module:i386 lib32nss-mdns libgtk2.0-0:i386 packages because I also installed them while trying to install AdobeAIR on 13.10.

    Those two errors will not disappear even when you have all those things installed but they will not make problems with installling AdobeAIRInstaller.bin and running AIR programs.

  65. Yes I installed all those, except for libgnome-keyring0:i386, which I could do without. Instead of that, just did :
    sudo LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu ./AdobeAIRInstaller.bin

    here is a complete list of what I did use to install Adobe AIR, in case anybody needed help:

    gcc-4.8-base:i386 libc6:i386 libgcc1:i386 libstdc++6:i386 libncurses5:i386
    libgtk2.0-0:i386
    libnss3-1d:i386 libnspr4-0d:i386
    lib32nss-mdns
    libcanberra-gtk-module:i386
    gtk2-engines-murrine:i386
    libxml2:i386 libxslt1.1:i386

    Actually i also installed skype whcih I needed anyway, which pulled in quite a lot of i386 libraries automatically, including libxml2:i386 libxslt1.1:i386 which is needed above. It even pulled in things like libasound2-plugins:i386, whcih I think helps with Adobe AIR applications in some cases.

  66. Yeah I have the same issue, I need root to start any Air app, otherwise I get that error and the app won’t start.

  67. Jeff, please help me I had tried every way to install Adobe Air for 13.10 but fail to do so, I have ready many post of yours as well other post but while executing command ./AdobeAIRInstaller.bin , am contantly getting one error that is No such file or directory exist , though I have given all permission and everything then also it is same.

  68. Great, I can now use crappy apps on Ubuntu! Thanks man you rule.

  69. I’m going to assume you know the filenames are case sensitive… so if it’s giving you an error, there’s something else wrong. If it were a permission issue, it would tell you “This file is not executable” or something like that. But since it says it can’t even find it, there’s something elsewrong. Maybe your path isn’t set to use the current directory. Also, are you running it with “sudo”?

  70. My friend, Yes am using Sudo and with that help am trying all this, you know with another forum help I got the other library but now the problem is , if I executing command ./AdobeAIRInstaller.bin then cursor come down and nothing going on, I mean after pressing enter, I can not see any changes, though am waiting for 30 mins. Please help me because I required Adobe Air for the Elance time tracker.

  71. @Bharat as Jeff already pointed out you have to change the directory in terminal to the location of the file that you want to run.

    There is also simpler way that doesn’t involve the knowledge of how to change directory in terminal. You can simply drag and drop a file on the terminal window. Terminal atleast the one in Ubuntu will add appropriate path on it’s own.

    sudo ‘/home/mateusz/Pobrane/AdobeAIRInstaller.bin’

    This is example from my system of droping AdobeAIRInstaller.bin on terminal.

  72. I will try to see if I can figure it out, but getting things to work on 13.10 isn’t a priority. I think I have an install image for 13.10 Ubuntu Studio, I can throw that onto a machine as a live CD and see if there’s something obviously different. I haven’t tried it yet, but it should be possible, assuming all the dependencies can be met.

  73. Jeff, I know which 32-bit libraries are required to install AIR on Ubuntu 13.10 and newer.

    I’ve been trying to determine this using Live CD of 14.04 (development branch) and after couple hours I successfully installed AIR 2.6. First I had to add i386 architecture:

    sudo dpkg –add-architecture i386

    Next enable universe repo from Software & Updates and refresh the software sources. Then you can install necessary packages.

    sudo apt-get install gtk2-engines-murrine:i386 libcanberra-gtk-module:i386 lib32nss-mdns libgnome-keyring0:i386 libgtk2.0-0:i386 libxslt1.1:i386 libxt6:i386 libstdc++6:i386 libnss3-1d:i386 libnspr4-0d:i386

    We have libgnome-keyring installed but not where AIR is looking for so we make the same symlink that you made in 12.04 LTS.

    sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0

    Now we can use the installer:

    sudo ./AdobeAIRInstaller.bin

    Also I recommend to install libasound2-plugins:i386 which contains plugins for the ALSA library that are not included in the main libasound2:i386 package (PulseAudio, OSSv4 and JACK).

    You could use that 13.10 Ubuntu Studio to verify my list of packages.

  74. Sounds good, I need to make a 13.10 boot drive and check it out.

  75. I tested Ubuntu 13.10 64-bit in Live CD and everything worked. Adobe AIR installed and I tested installation of one game made in AIR.

    I used the same commands that I posted for 14.04 (development branch).

  76. Thank you so much Jeff and Mateusz. I was starting to get very frustrated with trying to install air. I only want it so a little but very nice program called “Balsamiq” mockup can be run. This so far has proved the single most difficult thing to setup in Ubuntu 13.10 migrating from Windoze.

    Thanks again

  77. Thank you! I have an essential Air app, and now that’s one more thing I don’t need to run in VirtualBox.

  78. Much appreciated!! Thank goodness for Linux gurus that share their knowledge.

  79. Thanks, I am using Ubuntu 13.10 and I stalled following the adobe installation instructions because getlibs-all.deb is missing.

    I don’t know about gdebi but “sudo dpkg -i getlibs-all.deb” does the trick to install it.

    ~/system $ sudo apt-get install libhal-storage1 libgnome-keyring0 lib32nss-mdns
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package libhal-storage1

    Some searching got me to:
    http://www.ubuntuupdates.org/package/core/saucy/universe/base/libhal-storage1
    where it says that libhal-storage1 was deleted from the 13.10 repos
    This thread http://ubuntu.5.x6.nabble.com/libhal-dev-td5042700.html indicates that its functionality was merged into udev in 2008 and that it was discontinued five years ago :(

    Apparently hal was causing compatibility issues with other desktop packages but there is a ppa for it to be used at our own risk – https://launchpad.net/~mjblenner/+archive/ppa-hal

    Adding this repo gets past that step and installs libhal… et al but then:

    ~/system $ sudo getlibs -l libhal-storage.so.1
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package ia32-libs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    lib32z1 lib32ncurses5 lib32bz2-1.0

    E: Package ‘ia32-libs’ has no installation candidate
    No match for libhal-storage.so.1
    No packages to install

    At this point I surrendered.

  80. @paulfwhipp Look at my comment where I described how to install Adobe AIR on Ubuntu 13.10 and 14.04 (development branch).

    http://jeffhendricks.net/?p=68#comment-572

  81. Thanks a bunch. This worked. I tried to figure out which version of libgnome-keyring and was confused as to why the version numbers seem to be 0.1 for 1.0 and 0.2 for 2.0, apparently some numbering convention there? Anyway, I was scared to break the system sudoing around with executables downloaded on the intarneths, so you might want to mention that installing the wrong version with getlibs won’t break anything, it’ll just refuse to install.

    Also, I managed to install 64 bit Balsamiq mockups after this, was wondering if 64-bit binaries still work after this. Turns out they do.

  82. @savolai could you confirm whether you need to start Balasamiq mockups as root or similar, or you can use the normal user account. I had to originally start it only if doing a sudo. Just wanted to check what is the latest on that.

  83. Thank you very much, it really helped !!!

  84. No need for root, it appears normally in Ubuntu 12.04 standard UI menu.


Leave a Reply

%d bloggers like this: