简体   繁体   English

如何在linux中安装adobe air sdk?

[英]how to install adobe air sdk in linux?

i'm trying to install the adobe air sdk in linux. 我正在尝试在linux中安装adobe air sdk。 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. 我将从http://www.adobe.com/products/air/tools/sdk/下载的软件包解压缩到“AdobeAIRSDK”文件夹中,并将/ bin文件夹添加到PATH环境变量中。 but when i tried to run the adl, it gives me the following error: 但是当我试图运行adl时,它给了我以下错误:

Error loading the runtime (/home/monuser/AdobeAIRSDK/bin/../runtimes/air/linux/Adobe AIR/Versions/1.0/Resources/nss3/None/libnss3.so: file too short) 加载运行时出错(/home/monuser/AdobeAIRSDK/bin/../runtimes/air/linux/Adobe AIR / Versions / 1.0 / Resources / nss3 / None / libnss3.so:文件太短)

what's the problem here and how do i get it fixed? 这里有什么问题,如何解决这个问题?

Are you trying to install on a 64-bit OS? 您是否尝试在64位操作系统上安装? Either way, Adobe has a KB on installation that might help. 无论哪种方式, Adobe都有安装KB可能会有所帮助。

Installing Adobe Air on Ubuntu 13.10

Install i386 libraries, that are required for successful installation and running of Adobe Air and air applications: 安装成功安装和运行Adobe Air和air应用程序所需的i386库:

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. 它不能像其他i386一样使用apt-get进行安装(至少在写这篇文章时),因为它的依赖性。 So we'll need to download it and install manually. 所以我们需要下载并手动安装。 In fact, this is easy: 事实上,这很容易:

download deb-package using apt-get to /tmp: 使用apt-get下载deb-package到/ 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): 将deb-package解压缩到gnome-keyring子文件夹中(注意文件名中的版本,可能会有所不同):

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: 创建符号链接,以便Adobe Air可以看到它:

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 从Adobe官方网站下载Adobe Air安装程序: http://helpx.adobe.com/air/kb/archived-air-sdk-version.htmlhttp://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): 使用下载的安装程序安装Adobe Air(不要忘记允许执行安装程序文件):

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

Adobe Air should be installed successfully now! 现在应该成功安装Adobe Air! 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 资源

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM