Installing Adobe AIR 1.x on 64bit Linux

Adobe AIRAdobe currently offers an installer for AIR for almost all operating systems. Windows, Mac, and Linux, all of the major platforms are covered. However, one installer is missing… a 64bit one for Linux. For those of us who are die-hard Linux users who also prefer the speed and power of running 64bit operating systems, Adobe AIR won’t just install out of the box and work. This article is to help you get Adobe AIR installed and running on your 64bit Linux system in no time flat.

First, we’ll need to install getlibs, an incredibly useful package for those of us running 64bit Linux systems with the need to run 32bit software. In a previous tutorial, we used getlibs to install some required libraries for running a 32bit Flash Player debug edition on a 64bit Linux operating system. Now, we’ll use a similar technique to get 32bit AIR installed and running. Let’s download and install getlibs. If you have getlibs installed, you can safely skip this step and move on.

wget -O getlibs-all.deb
sudo dpkg -i getlibs-all.deb
rm getlibs-all.deb

The above code will download getlibs-all.deb, install it, and remove it, leaving you just what you need and nothing more. Now, let’s move on to the next step, downloading the Adobe AIR installer and installing some 32bit libraries.

wget -O AdobeAIRInstaller.bin
chmod +x AdobeAIRInstaller.bin
sudo getlibs ./AdobeAIRInstaller.bin
sudo getlibs -l
sudo getlibs -l
sudo getlibs -l

According to Adobe’s website, this installs several other components that are necessary to AIR for internet connectivity, sound, etc. While you can technically install Adobe AIR without these libraries, you’ll find that many applications malfunction and many won’t even start. So yes, I recommend following the directions on this one :)

Now, we need to download and install some other libraries not available through getlibs. Let’s hit it up:

# Download some debs
wget -O libnss3.deb ""
wget -O libnspr.deb ""

# Extract 'em, get what we need, then remove them.
mkdir -p libnss3
sudo dpkg -x libnss3.deb libnss3
sudo cp libnss3/usr/lib/ /usr/lib32
sudo cp libnss3/usr/lib/ /usr/lib32
sudo cp libnss3/usr/lib/ /usr/lib32
sudo cp libnss3/usr/lib/ /usr/lib32
rm -fr libnss3
rm libnss3.deb

mkdir -p libnspr
sudo dpkg -x libnspr.deb libnspr
sudo cp libnspr/usr/lib/ /usr/lib32
sudo cp libnspr/usr/lib/ /usr/lib32
sudo cp libnspr/usr/lib/ /usr/lib32
rm -fr libnspr
rm libnspr.deb

# Link 'em up!
sudo ln -s /usr/lib32/ /usr/lib32/
sudo ln -s /usr/lib32/ /usr/lib32/
sudo ln -s /usr/lib32/ /usr/lib32/

Phew! That was a lot of work, so I hope you’re still with me. Now, we’ve got everything all ready for our fresh install of Adobe AIR. Let’s install it!

sudo ./AdobeAIRInstaller.bin

Cool! Now, we’ve got one last step to perform before we’re done, copying a simple file over to the /usr/lib32 folder:

sudo cp /usr/lib/ /usr/lib32

Done! You should now have an installed and fully functional AIR runtime installed on your system. Now, let’s try to encapsulate all of this into a shell script so anyone can install AIR in one step rather than a bunch of ‘em. Download, extract it, then run it like so:

gzip -d
sudo ./

And, for your reference, here’s what the shell script looks like and does, for those of you who are into that kind of thing:


# Check if this is root.
if [[ $EUID -ne 0 ]]; then
	echo "This script must be run as root." 1>&2
	exit 1

# Download and install getlibs-all.deb
wget -O getlibs-all.deb;
dpkg -i getlibs-all.deb;
rm getlibs-all.deb;

# Download AIR
wget -O AdobeAIRInstaller.bin;
chmod +x AdobeAIRInstaller.bin;

# Install some libraries using getlibs
getlibs ./AdobeAIRInstaller.bin;
getlibs -l;
getlibs -l;
getlibs -l;

# Download some unavailable libraries manually
wget -O libnss3.deb "";
wget -O libnspr.deb "";

# Extract the deb files we just downloaded, and install the libraries we need from them
mkdir -p libnss3;
dpkg -x libnss3.deb libnss3;
cp libnss3/usr/lib/ /usr/lib32;
cp libnss3/usr/lib/ /usr/lib32;
cp libnss3/usr/lib/ /usr/lib32;
cp libnss3/usr/lib/ /usr/lib32;
rm -fr libnss3;
rm libnss3.deb;

mkdir -p libnspr;
dpkg -x libnspr.deb libnspr;
cp libnspr/usr/lib/ /usr/lib32;
cp libnspr/usr/lib/ /usr/lib32;
cp libnspr/usr/lib/ /usr/lib32;
rm -fr libnspr;
rm libnspr.deb;

# Link the libraries up
ln -s /usr/lib32/ /usr/lib32/;
ln -s /usr/lib32/ /usr/lib32/;
ln -s /usr/lib32/ /usr/lib32/;

# Install AIR!
rm AdobeAIRInstaller.bin;

# And, finally, link some libraries
cp /usr/lib/ /usr/lib32;

echo "Adobe AIR should now be installed! Woo!";

Did everything work out okay? Questions? Go ahead and light up the comments and I’ll see how I can help. In the future, we’ll cover installing the new beta version of AIR 2.0 on a 64bit Linux machine.

25 thoughts on “Installing Adobe AIR 1.x on 64bit Linux

  1. Pingback: rfkrocktk

    • Yes i did, the problems that remains is that how do you tell getlibs the all 3 keyring files are installed on my debian xfce4 64 bit lenny… or how do you symlink the 3 files to the adobe installer or Adobeinstaller…

      • I’ve really only tested things out on Ubuntu 9.10 to be honest, I haven’t messed with Debian in a while. All I know is that I had no problems running this on multiple Ubuntu machines. What exactly are you trying to do that’s different from the guide above? Have you checked out Adobe’s site?

  2. Did you install AIR via the AdobeAIRInstaller.bin file?

    Also, just be aware that this script probably won’t work for Adobe AIR 2 yet, I’ll write a separate post for that :)

  3. I follow your steps to the last period and this is what i get, Error loading the runtime ( cannot open shared object file: No such file or directory)
    How do you solve this?

  4. i finally installed, but i did it as root…So now users do not have access to Adobe Air and it’s apps…So how do i give users access to Adeob Air and everything that goes with it?

    • Yeah, it has to be installed as root, I thought that was pretty clear from the script. When running something as “sudo,” that means it needs to be run as root.

      Installing it as root should allow you to run it with other users, otherwise you’ll have to chown and chmod files to get things running correctly.

  5. I finally installed Adobe Air Beta using have of your instruction and 3 other sites as well…Thanks…By the way what program do you recommend to record your desktop to illustrate how i installed adobe air beta?

    • Use “gtk-recordmydesktop”. I have used it often and it usually works very well :) (I say usually because yesterday it was acting kind of weird, but only on one computer)

  6. Pingback: H. Alan Stevens

  7. hello!,I reall like your writing very a lot!
    proportion wee communicate more approximately yur article on AOL?
    I require a specialist on this house to resolve my problem.
    May be that iis you! Having a look ahea to look you.

    My weblog … alibaba

  8. Hi! This is my fіtѕt ѵisіt tο
    yοuг bloɡ! Wе ɑге а tеam of νоluntеегѕ and
    ѕtaгting а neԝ іnitіatіνе іn a cߋmmսnitү іn t&#1211е
    ѕamе niϲɦ&#6513. Yo&#6489&#6489г
    ƅl&#11423ɡ pг&#11423ѵiԀed uѕ Ƅ&#6513nefiсіɑ&#8572 inf&#11423гmаtіоn tօ ԝ&#11423гκ оn. &#11432оu Һavе
    Ԁߋ&#11427ne a maг&#7456е&#8572lօuѕ јοЬ!

    mу &#1088agе – iphone ebook

  9. What i do not realize is if truth be told how you’re not actually much more neatly-favored
    than you may be right now. You are very intelligent. You already know thus considerably on the subject of this topic, made me for my
    part imagine it from numerous various angles.
    Its like men and women aren’t fascinated unless it is one thing to accomplish with Lady gaga!
    Your individual stuffs great. All the time care for it up!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>