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
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.