在 Fedora 13, CentOS 5.5 和Red Hat (RHEL) 5.5 上安装...

红薯 发布于 2011/05/09 14:32
阅读 1K+
收藏 3

该指南将教你如何在 Fedora 12, Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5 and Red Hat (RHEL) 6 上安装 Adobe AIR,这种方法支持32位和64位系统。

Adobe AIR 是什么?

Adobe Integrated Runtime (AIR) 是一个跨操作系统的运行时,利用现有的Web开发技术(Flash,Flex,HTML,JavaScript,Ajax)来构建富Internet应用程序并部署为桌面应用程序。

1. 使用root帐号操作

sudo -i
## OR ##
su -

 

2. 使用 YUM 安装一些必须的软件包

Install Fedora 12 and Fedora 13 – i686 – 32 bit dependencies

yum install xterm

Install Fedora 12 – x86_64 – 64 bit dependencies

yum install ld-linux.so.2 gtk2-devel.i686 libdbus-glib-1.so.2 \
libhal.so.1 rpm-devel.i686 libXt.so.6 gnome-keyring-devel.i686 \
libDCOP.so.4 libxml2-devel.i686 nss-devel.i686 libxslt.i686 xterm

Install Fedora 13 – x86_64 – 64 bit dependencies

yum install ld-linux.so.2 gtk2-devel.i686 libdbus-glib-1.so.2 \
libhal.so.1 rpm-devel.i686 libXt.so.6 gnome-keyring-devel.i686 \
libDCOP.so.4 libxml2-devel.i686 nss-devel.i686 libxslt.i686 xterm

If these packages do not install, then try the following:

Enable Fedora 13 – i386 – Updates Repository

Add following content to /etc/yum.repos.d/f13-i386-updates.repo file

[updates-f13-i386]
name=Fedora 13 - i386 - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/13/i386/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f13&arch=i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386

Clean all caches

yum clean all

Install depencies with following command

yum --enablerepo=updates-f13-i386 install ld-linux.so.2 gtk2-devel.i686 libdbus-glib-1.so.2 \
libhal.so.1 rpm-devel.i686 libXt.so.6 gnome-keyring-devel.i686 \
libDCOP.so.4 libxml2-devel.i686 nss-devel.i686 libxslt.i686 xterm

And then Install Adobe AIR 2 RC

Install CentOS 5.5 and Red Hat (RHEL) 5.5 – i386 – 32 bit dependencies

yum install xterm

Install CentOS 5.5 and Red Hat (RHEL) 5.5 – x86_64 – 64 bit dependencies

yum install ld-linux.so.2 gtk2-devel.i386 libdbus-glib-1.so.2 \
libhal.so.1 rpm-devel.i386 libXt.so.6 gnome-keyring-devel.i386 \
libDCOP.so.4 libxml2-devel.i386 nss-devel.i386 libxslt.i386 xterm

3a. 安装 Adobe AIR 1.5 (当前版本 1.5.3)

Download Adobe AIR 1.5

Goto Adobe AIR download page and download Adobe AIR 1.5

Make Adobe AIR Installer Executable

chmod +x AdobeAIRInstaller.bin

Run Adobe AIR Installer

./AdobeAIRInstaller.bin

Installing Adobe AIR 1.5


Open (Start) Adobe AIR 1.5 Application Installer

3b. Install Adobe AIR 2 (Current Version 2 RC)

Download Adobe AIR 2

Goto Adobe Labs download page, Agree terms of the agreement and download Adobe AIR 2 RC (RPM version)

Install Adobe AIR 2 RC

rpm -Uvh air2_rc1_runtime_lin_051110.i386.rpm
## OR (if another version) ##
rpm -Uvh air2*.rpm

Open (Start) Adobe AIR 2 RC Application Installer

4. Test Adobe AIR Installation and Install TweetDeck Application

Note: Flash Player is needed installing Adobe AIR applications, so install Adobe Flash Player first

Goto Adobe AIR Marketplace and find some Adobe AIR programs, example TweetDeck:

Click Download from Publisher

Getting Ready to Install TweetDeck

Accept TweetDeck Installation

Select TweetDeck Installation Options and Location

Enter root Password (if needed, depends on installation location)

Start Using TweetDeck

TweetDeck (0.34.3) Running on Fedora 13 – x86_64 (64 bit)

加载中
0
张杨
张杨

好东东,但有点不理解,举个应用的例子吧?

0
红薯
红薯

引用来自#2楼“张杨”的帖子

好东东,但有点不理解,举个应用的例子吧?

QQ不是推出了一个AIR版本吗,这个帖子主要是安装 AIR 环境

0
ddatsh
ddatsh

嘿嘿

在UBUNTU下安装那是相当的方便啊

RPM和DEB包都有吧

0
G.
G.

老大这个帖子是发给我看的吗?

...呼呼.

返回顶部
顶部