Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing Adobe AIR on Ubuntu.
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
apt-get install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6 libc6-i386 ia32-libs-gtk lib32nss-mdns
curl http://usablesoftware.files.wordpress.com/2011/02/getlibs-all-deb.pdf > getlibs-all.deb
dpkg -i getlibs-all.deb
getlibs -p gnome-keyring
getlibs -p libhal-storage1
wget http://mirrors.kernel.org/ubuntu/pool/main/n/nss/libnss3-1d_3.12.0%7Ebeta3-0ubuntu1_i386.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/n/nspr/libnspr4-0d_4.7.1%7Ebeta2-0ubuntu1_i386.deb
ln -s /usr/lib32/libnss3.so.1d /usr/lib32/libnss3.so
ln -s /usr/lib32/libssl3.so.1d /usr/lib32/libssl3.so
ln -s /usr/lib32/libnspr4.so.0d /usr/lib32/libnspr4.so
ln -s /usr/lib32/libsmime3.so.1d /usr/lib32/libsmime3.so # missing from adobe's instructions
ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0
wget http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
chmod 777 AdobeAIRInstaller.bin
./AdobeAIRInstaller.bin
@jsjohns
Copy link

jsjohns commented Jan 25, 2013

This script has an implicit dependency on curl, which is not necessarily installed by default on Ubuntu (wasn't on my machine).

@olliebrennan
Copy link

olliebrennan commented Mar 11, 2013

Works great! Thanks

@mondain
Copy link

mondain commented Feb 20, 2014

Thanks for the script, but it didn't work for me on Ubuntu. http://pastebin.com/1wZkF4qN

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