64位Ubuntu 下安装Adobe AIR 环境 Install Adobe AIR on 64-bit Ubuntu

来源:互联网 发布:unity3d建筑漫游 编辑:程序博客网 时间:2024/05/01 13:00

Adobe AIR是目前唯一正式用于32位Linux但是在 64位Linux上无法使用32位兼容几种方法可以在Linux上安装的Adobe AIR在Ubuntu的首选方法是使用.deb包不过.deb包由Adobe分布式只能安装在32位系统。好消息是,这可以很容易地固定的!安装Adobe AIR在一个64位系统deb包只要按照下列步骤:

 

1.下载 Adobe AIR  Download the Adobe AIR .deb file

2.打开终端 CD到包含adobeair.deb文件的目录下面

3.创建 tmp 目录

 

 

4.提取deb 文件到tmp目录

 

 

5.提取control文件

 

6.将参数结构从i386到ALL

 

7.重新打包deb

 

 

8.现在我们可以在64位系统上安装 Adobe AIR了 命令如下:

 

 

经过本人测试 此方法可以用,英文水平有限翻译不好勿笑话哦。贴下原文。

 

 

原文如下:

Right now Adobe AIR is only officially available for 32-bit Linux. But it does work on 64-bit Linux with the 32-bit compatibility libraries. There are several ways to install Adobe AIR on Linux. My preferred way on Ubuntu is to use the .deb package. However the .deb package distributed by Adobe can only be installed on 32-bit systems. Good news is that this can be easily fixed! To install the Adobe AIR .deb package on a 64-bit system just follow these steps:

 

  1. Download the Adobe AIR .deb file
  2. In a terminal window go to the directory containing the adobeair.deb file
  3. Create a tmp dir:
    mkdir tmp
  4. Extract the deb file to the tmp dir:
    dpkg-deb -x adobeair.deb tmp
  5. Extract the control files:
    dpkg-deb --control  adobeair.deb tmp/DEBIAN
  6. Change the Architecture parameter from “i386″ to “all”:
    sed  -i  "s/i386/all/"  tmp/DEBIAN/control
  7. Repackage the deb file:
    dpkg -b tmp adobeair_64.deb

Now you can install Adobe AIR on a 64-bit system! From the command line just do:

sudo  dpkg  -i  adobeair_64.deb

That’s it! Let me know if you have any questions.