How can I install Adobe AIR?

  1. Download Latest Version Air 2.6.0 For Linux to your Desktop:

    • http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin - 15.4Mb or find runtime files in Archived Adobe AIR SDK versions

      1. Ctrl+Alt+T to open terminal

      2. sudo apt-get install ia32-libs - (32bit rubbish if you want to run this in x64 Ubuntu; if you have trouble, see "Depends: ia32-libs-multiarch but it is not installable" - Solution)

      3. cd Desktop (change dir. to Desktop dir.)

      4. chmod +x AdobeAIRInstaller.bin (change mode - execute permission yes)

      5. ./AdobeAIRInstaller.bin (after you accept the Adobe Air license, it will prompt you for your password; it needs root access in order to install)

Maybe you'll get an error after the last command?

Sorry, an error has occurred. Adobe AIR could not be installed. Install either Gnome Keyring or KDE KWallet before installing Adobe AIR.

This can be fixed:

  • In a terminal (default shortcut: Ctrl+Alt+T), type:

    locate libgnome-keyring.so
    
  • This is my result (yours might be different):

    /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0
    /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0
    
  • As suggested below by @jmendeth, the easiest way to tell the installer where to find these files is to use LD_LIBRARY_PATH:

    • For 32-bit Ubuntu (tested on 12.04):

      LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu ./AdobeAIRInstaller.bin
      
    • For 64-bit Ubuntu, the command line would probably be:

      LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu ./AdobeAIRInstaller.bin
      

If the LD_LIBRARY_PATH trick doesn't work, you can try this:

  • Create a symbolic link to your location strings that you found with the previous commands:

    sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
    sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
    
  • Use following commands for 32-bit systems:

    sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
    sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
    
  • Then repeat step 4 & 6 (skip 5, as the permission to execute the file hasn't changed).

  • Remove symbolic links after installation of Adobe AIR 2.6.0:

    sudo rm /usr/lib/libgnome-keyring.so.0
    sudo rm /usr/lib/libgnome-keyring.so.0.2.0
    

Reference:

  • Archived Adobe AIR SDK versions - https://helpx.adobe.com/air/kb/archived-air-sdk-version.html
  • Install 32-bit Adobe AIR for desktop Linux - https://helpx.adobe.com/air/kb/install-32-bit-air-linux.html
  • Install Adobe AIR 2 for 64-bit Linux systems - https://helpx.adobe.com/air/kb/install-air-2-64-bit.html

  • www.clarifylinux.org/2012/04/ubuntu-1204-tweak-and-hack-round-up.html


Ubuntu 13.10, 14.04, 15.04 and 15.10 (64 bit)

  1. Install i386 libraries, that are required for successful installation and running of Adobe Air and air applications.

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

    sudo apt-get install libgnome-keyring0:i386
    
  3. Create symlinks to gnome-keyring so Adobe Air could see it.

    sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
    
    sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0 
    
  4. Download Adobe Air installer from here.

  5. Give execute permission and then run that .bin file.

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

Source

Note for Ubuntu 16.04 (64 bit)

For Ubuntu 16.04 and greater, install the package libnss-mdns:i386 instead of the package lib32nss-mdns. This will solve the problem of "Package not found error" related to that package.


Alternately, you can install a prebuilt .deb

There is air 2.6 (last supported Linux one) available here for both architectures (Both use 32 bit underneath but at least it works). Thanks to prusswan for pointing it out.

Make sure you have 32 bit libs it'll need:

sudo apt-get install ia32-libs

I downloaded the AMD64 one (adobeair_2.6.0.19170_amd64.deb) and installed on my computer (am64 with Precise Pangolin 12.04)

sudo dpkg -i adobeair_2.6.0.19170_amd64.deb

Then I installed the application that needed Adobe Air in the first place and it worked.

Update for Ubuntu 13:10+,

Trying this technique, i get "Package ia32-libs-gtk is not installed"

I looked up the package and tried installing those dependencies and other related packages I can think of directly:

sudo apt-get install gtk2-engines:i386 libart-2.0-2:i386 libcairo2:i386 libcanberra-gtk0:i386 libdatrie1:i386 libgail-common:i386 libgconf2-4:i386 libgtk2.0-0:i386 liblua5.1-0:i386 libpango1.0-0:i386 libpixman-1-0:i386 libqt4-network:i386 libqt4-test:i386 libqtcore4:i386 libthai0:i386 libbonobo2-0:i386 libglade2-0:i386 libgnomecanvas2-0:i386 libidl0:i386 liborbit2:i386 libwmf0.2-7:i386 gtk2-engines-murrine:i386

But that didn't work for either the deb or original binary.