在64位ubuntu上安装Adobe AIR 2.6

转贴国外的文章  实用  原贴地址:http://jeffhendricks.net/?p=68

 

Like the title says. Installing Adobe Air natively on Ubuntu 12.04. With 64-bits. Not 32. :)

If you like programs like TweetdeckDestroy TwitterWriteOrDie, the Wikipedia Desktop app, etc. you will need the abomination known as Adobe Air. And if you use Ubuntu, especially a newer version, installing Adobe Air is not easy or simple. Adobe quit supplying a Linux version a while back, and there hasn't been anything to replace it... we've been stuck trying to crutch along the older version. Thankfully, most Air apps don't require newer versions of Air.

To pull this off, we're going to need the last Linux version of Adobe Air, and a nifty little tool called "getlibs-all". Oh yeah, and Ubuntu 12.04 installed on a computer.

First, go to Adobe's archived Air files and grab Adobe AIR 2.6.0 Linux (15.4 MB). Next, grab the file getlibs-all.deb right here. The guy who wrote it doesn't seem to be hosting it anymore, and it's not a huge program, just extremely useful for finding 32-bit libraries for a 64-bit system. You can right-click "getlibs-all.deb" and open with Gdebi Package Manager, and click Install. So far, so good.

Next, you need to make sure to install libhal-storage1, lib32nss-mdns, and libgnome-keyring0 if it's not installed. Open a terminal and run:

sudo apt-get install libhal-storage1 libgnome-keyring0 lib32nss-mdns

It should ask you to install (Y/n) if they're not already there. Let them install, and rejoice. Now, we need to install all the missing 32-bit libraries that it will need. You can't get these from apt-get unless you know what they all are. Simply use the following commands:

(Note! Since I wrote this, libgnome-keyring0 has been updated to a newer version!)

sudo getlibs -l libhal-storage.so.1
sudo getlibs -l libgnome-keyring.so.0.1.1

Or possibly, if you've updated libgnome-keyring:

sudo getlibs -l libgnome-keyring.so.0.2.0

For each one, it will ask if you want to install (a lot of) libraries. Let them all download and install, and we're almost done! Next, we link a couple of libraries (they're there, but not where Air is looking for them). Run the following:

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

And then run the actual Air installer. In a terminal, cd to the directory you stored "AdobeAIRInstaller.bin" in and run this:

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

You should get the standard "Installing" messages, and Air should install with no problem! Enjoy!

I got most of the information here from Adobe's help site, with a little poking prodding and research to put all the rest of the pieces together.

转载于:https://www.cnblogs.com/raigor/archive/2013/01/23/2873132.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值