Script to Install Adobe Air on Ubuntu 64-bit

Josh Sherman
2 min read
Linux Shell Script Debian / Ubuntu

So after giving Gwibber an honest try for a few months, I’ve decided it’s time to move back to DestroyTwitter for my tweeting needs. Unfortunately, earlier in the year when I completely denounced Adobe products (specifically Flash) I went ahead and completely removed Air from my system. But alas, I forgot how the hell I got it installed on a 64-bit Ubuntu system the last time. Luckily, I found the blog post I used, and subsequently wrote a BASH script to automate the process completely. The original blog post can be found on Marco Valente’s blog and my script is as follows:

# Adobe Air Installer for Ubuntu 64-bit Systems
# Pretty sure the name says it all, but if not, here's some more detail. Adobe
# Air is currently only supported on 32-bit Linux systems. Because of this you
# have to jump through some hoops to get it running. Specifically, you need to
# install 32-bit libraries to satisfy the dependencies of Adobe Air. This
# particular script makes it as easy as running a single script.
# Based on the steps outlined at
# @author Josh Sherman
# @url

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

# Preps our directories
cd /tmp
mkdir adobe-air-installer-ubuntu-64
cd adobe-air-installer-ubuntu-64

# Pulls down the lovely Getlibs package

# Installs Getlibs
dpkg -i getlibs-all.deb

# Installs our dependencies
apt-get install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6 libc6-i386 lib32nss-mdns

getlibs -l --yes
getlibs -l --yes
getlibs -l --yes
getlibs -l --yes
getlibs -l --yes
getlibs -l --yes
getlibs -l --yes
getlibs -l --yes
getlibs -l --yes
getlibs -l --yes

# Pulls down the Adobe Air .bin installed

# Installs Adobe Air
chmod +x AdobeAIRInstaller.bin

# Copies over the Adobe Cert Store library
# This is commented out as the file was not present on my Ubuntu 10.04 system
#sudo cp /usr/lib/ /usr/lib32

# Cleans up our mess
cd /tmp
rm /tmp/adobe-air-installer-ubuntu-64 -rf
Join the Conversation

Good stuff? Want more?

Weekly emails about technology, development, and sometimes sauerkraut.

100% Fresh, Grade A Content, Never Spam.

About Josh

Husband. Father. Pug dad. Born again Linux user. Founder of Holiday API, and author of the best damn Lorem Ipsum Library for PHP.

Currently Reading

Slobberknocker: My Life in Wrestling
The 4-Hour Workweek, Expanded and Updated

Previous Reads

Buy Me a Coffee Become a Sponsor

Related Articles