Skip to content

Instantly share code, notes, and snippets.

@powdahound
Created January 21, 2013 15:55
Show Gist options
  • Save powdahound/4587004 to your computer and use it in GitHub Desktop.
Save powdahound/4587004 to your computer and use it in GitHub Desktop.
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
@olliebrennan
Copy link

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