Posts in Category "Tips"

Easy steps to install (and update) AIR 2 on Linux (via repositories)

In addition to a binary installer, Adobe AIR 2 is also available as .rpm and .deb installer packages on Linux.
AIR 2’s .rpm and .deb installer packages have been added to Adobe’s Yum repository and Canonical’s Lucid Partner repository, respectively.
Please visit our tech note on for easy instructions to add Adobe’s Yum repository to your system, and effortlessly install and update Adobe AIR on RPM-based Linux distributions.
To do the same for an Ubuntu (10.4) system, please follow these steps:
Using the Command Line
1. As root, edit /etc/apt/sources.list (sudo vim /etc/apt/sources.list) and add/uncomment the following lines:
deb lucid partner
deb-src lucid partner
2. Update the system’s package database with the following command:
sudo apt-get update
3. Install the adobeair with the following command:
sudo apt-get install adobeair
The same command can also be used to install updates to Adobe AIR in the future.
Using the Synaptic Package Manager UI
1. Launch System > Administration > Synaptic Package Manager
2. Open Settings > Repositories
3. Under “Other Software”, check/add the following 2 lines: lucid partner (Source Code) lucid partner
4. Click Close. A dialog pops up, mentioning that repositories have changed. Close it.
5. Click Reload.
6. Search for the package “adobeair”. Mark it for installation and click Apply.

Setting the correct MIME type for AIR applications on web servers

The Developer Release Notes for AIR 1.5.1 mention the following:

For client browsers to recognize an AIR application when being downloaded, the web server hosting the AIR application needs to map the application/vnd.adobe.air-applicationinstaller-package+zip MIME content type to the “.air” extension. For example, for an Apache web server, add the following to the AddType section:
AddType application/vnd.adobe.air-application-installer-package+zip .air

You can do this in the web server configuration (e.g. httpd.conf or .htaccess for Apache).
Some webservers have an incorrect default value of the MIME type for AIR applications: e.g. Some versions of Apache serve AIR applications with the following MIME type: application/vnd.adobe.apollo-install-package. This MIME type was prevalent when AIR was still in its Beta phase. Unless the MIME type is corrected on servers, there would be a mismatch when a user downloads an AIR application and tries to open it right away.
The following screenshots (Ubuntu Linux 8.10, Firefox 3.0, AIR 1.5.1 installed) highlight the problem encountered by users if the MIME type is not correctly set on the web server.
When clicking on a .air file in the browser, the following dialog is presented. Note the absence of AIR’s icon next to the file’s name (AIRDashboard.air)


The download list shows the download as failed:


and the application installation does not begin:


If the web server is configured with the correct MIME type, the same sequence is as follows:






If you administer a web server, please ensure that the correct MIME type has been added for .air files. If you are a user and encounter the problem highlighted above, do let your web server administrator know.

Installation Issues with AIR 1.5 on Linux?

We’ve been scouting blog posts, tweets and news articles and it seems that some users are facing problems trying to install AIR apps with the 1.5 Linux release.
If you had installed an AIR app with the Beta release of AIR, there’s some cleanup required before you can use the app with AIR 1.5.
We’ve put up a FAQ about installation issues on the AIR team blog – If you’re unable to use your favorite application with AIR 1.5, do have a look. After the requisite cleanup, TweetDeck 0.20, twhirl 0.8.7 etc. work great!