Industry


Ads by TechWords

See your link here


AIR on Linux test run

AIR (Adobe Integrated Runtime) is a cross-operating system runtime that lets you use rich Internet applications that combine HTML, Ajax, Adobe Flash, and Adobe Flex technologies. What that means to you and me is that it's lets us run another kind of application on our Internet-connected Windows PCs, Macs, and just this month, Linux desktop computers.

I'm not crazy about AIR. It's not the first, or one-hundred and first, application layer software to make it possible to run the same application on multiple platforms. Java, JavaScript, etc. etc. have all had their day in the sun and more recently Silverlight/Moonlight, JavaFX, and Appcelerator Titanium have thrown their hats in the ring. That said, AIR applications are remarkably fast and reasonably mature.

We're already seeing a fair number of non-trivial, useful AIR programs like the Google Analytics Reporting Suite, the twhirl social network client, and RichFLV, a Flash video editor. And, now, in addition to Windows and Mac OS, you can run AIR and its applications on Linux as well.

That's the good news. The bad news is that getting AIR to install on your Linux desktop can be troublesome and, once in place, installing AIR applications is a bit of a security worry.

First, AIR is officially only available for Fedora 8, openSUSE 10.3, and Ubuntu 7.10. These are also older Linux distributions that are getting a little long in the tooth. AIR for Linux 1.5 comes in both RPM and DEB packaging so it should install on most versions of Linux without too much trouble.

Well, you'd think that wouldn't you? Actually installing AIR on any Linux is something of a pain. What you actually end up with a .BIN file. You might think all you'd need to do is click on the file's icon once it's down. You'd be wrong.

Before you can run the AIR installer, you need to make it executable. The simplest way to do that is to bring up a terminal window, change directory to where you downloaded the file and type:

chmod +x AdobeAIRInstaller.bin

Now, can you click the icon? Nope. It still won't work. Instead, it's back to the shell again,to run

./AdobeAIRInstaller.bin

Oh, and by the way, you need to be root to make it go. And, did we mention that you need the latest version of Adobe Flash or the installation will fail?

Adobe does a good job of hiding these details in the release notes. This is one program where you must read the release notes (PDF Document). It's also a darn good idea to go over the tips for resolving application issues, where you'll find that if you've been using the AIR beta on Linux that you'll need to reinstall all your AIR applications. If you're running AIR on a 64-bit Linux, this Adobe knowledge base article on AIR and 64-bit Linux is also a must-read.

In my case, I installed AIR for Linux on a 64-bit version of Fedora 10. I was running this distribution on a Gateway GT5622 desktop. This is not a terribly fast PC with a 1.80GHz Intel Pentium Dual-Core E2160 processor. It has 3GB of DDR2 SDRAM (double-data-rate two synchronous dynamic random access memory), a 400GB SATA II hard drive and a DVD R/W drive. For graphics, it uses the inexpensive Intel Graphics Media Accelerator 950, which was set to pull 224MB of RAM from main memory to use as shared video memory.

Still, this proved more than fast enough for all the AIR applications, including the ones I mentioned above and others as well, to run at a very snappy pace. They didn't run so fast that I mistook them for desktop applications, but for online applications they were as fast as anything I'd ever seen this side of JavaScript applications running within Google Chrome.

Unfortunately, you can't install any AIR applications as Joe user. You need to be root, or have your account have similar system manager level privileges to install anything. This is not good.

The last thing you want in Linux, or any Unix-style operating system, is require a user to run as super-user to accomplish a simple task such as installing a small application. Once you do that, it's all too easy to start using that account for every-day computing. The problem, of course, is that at level, you can do anything to the system, up to and including destroying it. Fortunately, once you've installed a program, any user can use it.

Since Linux applications really are pretty darn easy to install these days, I really don't understand why Adobe made it such a pain, and a security concern, to install AIR and AIR applications.

AIR itself works quite well, and I already know that Google Analytics Reporting Suite is going to have a permanent place on my desktop. I really wish I could recommend Adobe AIR for Linux without reservations, but until they get those installation annoyances taken care of, I'm going to have to say that only expert Linux users should give AIR a try.

What People Are Saying

Clarifications

Hi Steven,

Thanks for your comments on Adobe AIR and the installation experience in particular. I agree we should try to make the process a bit smoother.

I'd like to clarify that there is *no* requirement that you install Flash Player before installing AIR. The two operate and install independently.

I also want to point out that we don't expect most users to install AIR in the manner you did here. We put a greater focus on installation sequences that start with the application you want to run, and not with AIR itself. (After all, it's the application that's of primary interest.) I encourage you to try this experiment on a machine on which AIR is *not* installed:

1) Navigate to the Marketplace page, or other sites offering badge-based install of AIR applications.

2) Click "Install Now" on the badge for some application.

Please note that, on Linux, you *do* need the latest update to Flash Player for this feature to work.

You'll then be guided through a process that will install both the application and AIR at the same time. There's no command line involved, no file permissions to change, and no files to rename. As a user, you don't even need to know that AIR is required or whether or not it's already installed—the installer just does the right thing.

Finally, it is *not* necessary to perform any of these operations while logged in as root. The AIR installer will prompt you to elevate as necessary during the installation process. We believe this is best-practice with regards to installation: run as a regular user, but require administrative privilege in order to allow an installation.

regards,
Oliver Goldman | Adobe AIR Engineering

I'm afraid you're missing

I'm afraid you're missing the point on the root install requirements. Just do not require root permissions. I doubt there is any part of Air that really requires 'root' privileges on the system except perhaps that it requires an installation in /opt/adobe. Give the user an option to customize their install and put it wherever they want (this is what home directories are for) and run everything from there like every other piece of software in the world. The requirement to install as 'root' is unacceptable, and a deal breaker for myself and the rest of our company. Flash will have to work, or we'll find an alternative entirely.

Root privileges for Air

Hi,
the problem is that you cannot install Air via the seamless badge installer and the installation fails when it tries to launch the elevated sub-installer. This only happens to me on Fedora 10. On Ubuntu and SuSE it all works nicely.

Free Digital Signage with AIR

You should checkout the Free AIR application which gives you Free Digital Signage at http://www.MediaSignage.com ( now on Linux as well ) ....

It's not necessary to use

It's not necessary to use the terminal CLI to install Adobe AIR.

For example: As an Ubuntu user, invoke the Nautilus (GUI) file manager: Right-click on the Adobe BIN file and check under the Properties Permissions tab, to permit the file to execute as a program. Next, right-click to Rename the BIN file to remove the .bin extension, so the file name is just AdobeAIRInstaller. Finally, double-click the file to run the Adobe installer, which pops open a new window and requests your authorization password. That's it. Find AIR installed in the Ubuntu "Accessories" menu (or the "Tools" menu of Mandriva Linux 2009). Files with the .air extension are then associated (clickable) with the AIR run-time.

:)

Erase all trace

Not only do we have to re-install AIR and the apps, we have erase all trace of the earlier versions. Not exactly an easy upgrade.

AIR on Linux test run

Hi All,

I'm not sure what the point is here. It sounds like this was Ruby on Rails, AJAX or something like it revisited.

There is no mention of Web 2, Site creation, CMS, etc.

I'm not sure what the significance is here. If anything it falls behind the times as far a I can see.

The command line is unfortunately losing its relevance.

Steven, I usually agree with most that you write about. This is however the first time that I must at least call into question not what you are saying, but a trend that I have noticed amongst GNU/Linux users. If there is a saying RTFB or RTFM then surely there should be a UTFCLI. I think most experienced GNU/Linux users would agree with me that people should be able to do the basics with the command line and that includes being able to install .BIN files. One thing I do agree with is that root should NOT...yes you heard it should NOT be mandatory to install this runtime as it allows closed source programs to run. It is my opinion (as I suppose it is others') that closed source/non-free applications do not deserve a place with root, even if that is part of the install process.

I agree. No to root privelege.

I don't want to give any proprietary closed source application or platform root privilege to my computer. That's one of the reasons I'm moving away from Microsoft OSs, because they proved with "Windows Genuine Advantage" they don't mind snooping around on my system, and am not sure I trust Apple to keep their nose out of my business either. Proprietary closed source software is the quickest way to snooping. What's the last spyware you saw published under the GPL? Being able to see that source code goes a long way to keeping my computing environment safe, even if I don't look at it myself.

What?

All distros require root permissions to install programs through package managers, I'm not quite seeing the problem with having to be root to install this one.