Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install adobe air sdk in linux?

i'm trying to install the adobe air sdk in linux. i unzip the package downloaded from http://www.adobe.com/products/air/tools/sdk/ into a folder "AdobeAIRSDK", and add the /bin folder into the PATH environment variable. but when i tried to run the adl, it gives me the following error:

Error loading the runtime (/home/monuser/AdobeAIRSDK/bin/../runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/nss3/None/libnss3.so: file too short)

what's the problem here and how do i get it fixed?

like image 441
fei Avatar asked Sep 04 '09 03:09

fei


2 Answers

Are you trying to install on a 64-bit OS? Either way, Adobe has a KB on installation that might help.

like image 184
Druid Avatar answered Oct 14 '22 16:10

Druid


Installing Adobe Air on Ubuntu 13.10

Install i386 libraries, that are required for successful installation and running of Adobe Air and air applications:

sudo apt-get install libgtk2.0-0:i386 libstdc++6:i386 libnss3-1d:i386 lib32nss-mdns libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386    
Install gnome-keyring:i386.

It can't be installed using apt-get as other i386 (at least at the moment of writing this), because of it's dependencies. So we'll need to download it and install manually. In fact, this is easy:

download deb-package using apt-get to /tmp:

cd /tmp

sudo apt-get download libgnome-keyring0:i386

extract deb-package into gnome-keyring subfolder (note version in the file name, it may be different):

sudo dpkg-deb -R libgnome-keyring0_3.8.0-2_i386.deb gnome-keyring

install library in the system by copying:

sudo cp gnome-keyring/usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/i386-linux-gnu/

create symlinks so Adobe Air could see it:

sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/i386-linux-gnu/libgnome-keyring.so.0

sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0

Download Adobe Air installer from Adobe official site: http://helpx.adobe.com/air/kb/archived-air-sdk-version.html

Install Adobe Air using downloaded installer (don't forget to allow execution of the installer file):

chmod a+x AdobeAIRInstaller.bin
sudo ./AdobeAIRInstaller.bin

Adobe Air should be installed successfully now! Now you may remove excess symlinks:

sudo rm /usr/lib/libgnome-keyring.so.0
sudo rm /usr/lib/libgnome-keyring.so.0.2.0

Source

like image 35
Laxmikant Ratnaparkhi Avatar answered Oct 14 '22 16:10

Laxmikant Ratnaparkhi