Created
January 21, 2013 15:55
-
-
Save powdahound/4587004 to your computer and use it in GitHub Desktop.
Installing Adobe AIR on Ubuntu.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Works great! Thanks
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
This script has an implicit dependency on curl, which is not necessarily installed by default on Ubuntu (wasn't on my machine).