Skip to content

Instantly share code, notes, and snippets.

@joshtronic
Created January 29, 2012 23:30
Show Gist options
  • Save joshtronic/1701347 to your computer and use it in GitHub Desktop.
Save joshtronic/1701347 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# 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
# http://marco.valente.co.za/articles/install-adobe-air-onto-ubuntu-64bit
#
# @author Josh Sherman
# @url http://joshtronic.com
# Must run as root!
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
# Preps our directories
cd /tmp
mkdir adobe-air-installer-ubuntu-64
cd adobe-air-installer-ubuntu-64
# Pulls down the lovely Getlibs package
wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
# 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 libnss3.so.1d --yes
getlibs -l libnssutil3.so.1d --yes
getlibs -l libsmime3.so.1d --yes
getlibs -l libssl3.so.1d --yes
getlibs -l libnspr4.so.0d --yes
getlibs -l libplc4.so.0d --yes
getlibs -l libplds4.so.0d --yes
getlibs -l libgnome-keyring.so --yes
getlibs -l libgnome-keyring.so.0 --yes
getlibs -l libgnome-keyring.so.0.1.1 --yes
# Pulls down the Adobe Air .bin installed
wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin
# Installs Adobe Air
chmod +x AdobeAIRInstaller.bin
./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/libadobecertstore.so /usr/lib32
# Cleans up our mess
cd /tmp
rm /tmp/adobe-air-installer-ubuntu-64 -rf
@stefano-elysium
Copy link

Doesn't work anymore, adobe air dropped linux support

@joshtronic
Copy link
Author

unsure if i'm more surprised to get a comment on a 10 year old gist, or to find out that folks are actually still using adobe air

thanks for the heads up, i'm sure your note will come in handy for future travelers

@cloter
Copy link

cloter commented Nov 23, 2022

It still doesn't ... and it probably won't ever again ;)

Doesn't work anymore, adobe air dropped linux support

@stefano-elysium
Copy link

stefano-elysium commented Nov 28, 2022

folks are actually still using adobe air

Legacy corporate software :(

@PanAeon
Copy link

PanAeon commented Mar 13, 2023

windows version on the wine32 works reasonably well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment