LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-03-2010, 11:05 PM   #1
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Rep: Reputation: 15
Installing Adobe Air on Slackware


Is it possible to install Adobe Air on Slackware? It keeps telling me the following

I was trying to install it so I could install TweetPocket.

Code:
Adobe AIR could not be installed because this is not a supported Linux distribution. Only RPM- and Debian-based Linux distributions are supported.
 
Old 03-04-2010, 12:28 AM   #2
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Rep: Reputation: 25
It is for 12.2, but you may find this link helpful.
 
Old 03-04-2010, 11:56 PM   #3
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by koenigdavidmj View Post
It is for 12.2, but you may find this link helpful.
I should be able to use it for 13.0, right? somehow i screwed this up. check it out...maybe you can help..if you've installed rpm on slackware kde

Code:
root@darkstar:~# rpmbuild -ba rpm.spec                                                        
Processing files: rpm-4.7.1-1.noarch                                                          
error: File must begin with "/": EOF                                                          


RPM build errors:
    File must begin with "/": EOF
contents of rpm.spec..nothing wrong with this...

Code:
Summary: The RPM package management system
Name: rpm
Version: 4.7.1
Release: 1
Group: System Environment/Base
Url: http://www.rpm.org/
License: GPLv2+
BuildArch: noarch
Provides: /bin/sh

%description
The RPM Package Manager (RPM) is a powerful command line driven
package management system capable of installing, uninstalling,
verifying, querying, and updating software packages. Each software
package consists of an archive of files along with information about
the package like its version, a description, etc.

%files
EOF
contents of /root...i think somehow there is stuff in here that shouldn't be..lol

Code:
root@darkstar:/# ls
ChangeLog       cs.gmo               fr.po              ms.po                root/          sv.gmo
DISCONNECTED    cs.po                home/              nb.gmo               rpm.pot        sv.po
LINGUAS         da.gmo               insert-header.sin  nb.po                ru.gmo         sys/
Makefile        da.po                is.gmo             nl.gmo               ru.po          tmp/
Makefile.in     de.gmo               is.po              nl.po                sbin/          tr.gmo
Makefile.in.in  de.po                it.gmo             opt/                 sk.gmo         tr.po
Makevars        dev/                 it.po              pl.gmo               sk.po          usr/
POTFILES        en\@boldquot.header  ja.gmo             pl.po                sl.gmo         var/
POTFILES.in     en\@quot.header      ja.po              proc/                sl.po          zh_TW.gmo
Rules-quot      es.gmo               ko.gmo             pt.gmo               sr.gmo         zh_TW.po
bin/            es.po                ko.po              pt.po                sr.po
boldquot.sed    etc/                 lib/               pt_BR.gmo            sr\@latin.gmo
boot/           fi.gmo               media/             pt_BR.po             sr\@latin.po
ca.gmo          fi.po                mnt/               quot.sed             srv/
ca.po           fr.gmo               ms.gmo             remove-potcdate.sin  stamp-po
root@darkstar:/# cd tmp
root@darkstar:/tmp# ls
FlashHSyvnt  air.5Sm1DI/  air.GAhYKS/  air.jD4VEc/  hsperfdata_root/  rpm-4.7.1-i686-1_air.tgz
FlashZIFmG5  air.6gmK6s/  air.MvsD2F/  air.tPJiIj/  kde-root/
FlashsPqBkx  air.DP7XZ8/  air.Q0fjDi/  air.vXoT4T/  ksocket-root/
air.13ndWl/  air.F07jpo/  air.XS4ijv/  air.z1b1EX/  plugtmp/
and the results of installing rpm..it looks like i install it and then i check to see if it's installed but it tells me it's not there :\ maybe i built the package wrong or something--?

Code:
root@darkstar:/tmp# installpkg rpm-4.7.1-i686-1_air.tgz
Verifying package rpm-4.7.1-i686-1_air.tgz.
Installing package rpm-4.7.1-i686-1_air.tgz:
PACKAGE DESCRIPTION:
Package rpm-4.7.1-i686-1_air.tgz installed.

root@darkstar:/tmp# /bin/rpm -q rpm
package rpm is not installed
root@darkstar:/tmp#
 
Old 03-05-2010, 12:59 AM   #4
vbatts
Member
 
Registered: Jun 2005
Location: Raleigh, NC, USA
Distribution: slackware
Posts: 75

Rep: Reputation: 29
Quote:
Originally Posted by R Tanner View Post
Is it possible to install Adobe Air on Slackware? It keeps telling me the following

I was trying to install it so I could install TweetPocket.

Code:
Adobe AIR could not be installed because this is not a supported Linux distribution. Only RPM- and Debian-based Linux distributions are supported.
From my experience, there is no real straight forward process in this, and it was always such a hack, but i was willing.
  • go to your download directory with your handy console
    Code:
    mkdir AdobeAir
    cd AdobeAir
    tar jxvf ../AdobeAIRSDK.tbz2
    # you can get creative on how to download the desired application's *.air file
    wget $( lynx -source http://www.tweetpocket.com/badge.php | grep airApplicationURL | sed -e 's/^.*"\(.*\)".*$/\1/g' )
    mkdir TweetPocket
    cd TweetPocket
    unzip ../TweetPocket.air
  • move this whole AdobeAir directory to somewhere you keep user level installations, like i kept stuff in ~/bin/opt/ if i'm hacking around sometimes
  • the create an executable in your $PATH like in ~/bin/, called something intuitive like TweetPocket. Its contents should contain the following
    Code:
    #!/bin/sh
    ADL='/home/vbatts/bin/opt/AdobeAir/bin/adl'
    TD_app='/home/vbatts/bin/opt/AdobeAir/TweetPocket/META-INF/AIR/application.xml'
    TD_home='/home/vbatts/bin/opt/AdobeAir/TweetPocket/'
    
    $ADL $TD_app $TD_home &

That should be about all you need.
Of course the AdobeAIR stuff in only 32bit, and try attempt using it in x86_64 can require an absurd amount of library hunting, so good luck with that, but for a lot of cases using alienBob's multilib, convert seamonkey and add it to the library path of the shell script in launching your Air application. like
Code:
sudo convertpkg-compat32 -i seamonkey-2.0.3-i486-1.txz
sudo installpkg /tmp/seamonkey-compat32-2.0.3-x86_64-1.txz
and now your ~/bin/TweetPocket executable should look like
Code:
#!/bin/sh
ADL='/home/vbatts/bin/opt/AdobeAir/bin/adl'
TD_app='/home/vbatts/bin/opt/AdobeAir/TweetPocket/META-INF/AIR/application.xml'
TD_home='/home/vbatts/bin/opt/AdobeAir/TweetPocket/'

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/seamonkey-2.0.3 \
$ADL $TD_app $TD_home &
Take care,
vb

Last edited by vbatts; 03-05-2010 at 01:16 AM.
 
1 members found this post helpful.
Old 03-05-2010, 09:18 PM   #5
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
any thoughts? Is this line just downloading tweetpocket? seems like alot of gibberish at the end of this command

Code:
root@darkstar:~# wget $( lynx -source http://www.tweetpocket.com/badge.php | grep airApplicationURL | sed -e 's/^.*"\(.*\)".*$/\1/g' )
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
root@darkstar:~#
 
Old 03-05-2010, 10:27 PM   #6
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
any thoughts? Is this line just downloading tweetpocket? seems like alot of gibberish at the end of this command

Code:
root@darkstar:~# wget $( lynx -source http://www.tweetpocket.com/badge.php | grep airApplicationURL | sed -e 's/^.*"\(.*\)".*$/\1/g' )
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
root@darkstar:~#
 
Old 03-06-2010, 10:01 AM   #7
vbatts
Member
 
Registered: Jun 2005
Location: Raleigh, NC, USA
Distribution: slackware
Posts: 75

Rep: Reputation: 29
Quote:
Originally Posted by R Tanner View Post
any thoughts? Is this line just downloading tweetpocket? seems like alot of gibberish at the end of this command

Code:
root@darkstar:~# wget $( lynx -source http://www.tweetpocket.com/badge.php | grep airApplicationURL | sed -e 's/^.*"\(.*\)".*$/\1/g' )
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
root@darkstar:~#
well you can break the command down a bit, but it appears to be failing because the tweetpocket.com site is timing out

Code:
vbatts@media:~$ lynx -source http://www.tweetpocket.com/badge.php | grep airApplicationURL 

Looking up www.tweetpocket.com
Making HTTP connection to www.tweetpocket.com
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://www.tweetpocket.com/badge.php
vbatts@media:~$ ping tweetpocket.com
PING tweetpocket.com (205.178.145.65) 56(84) bytes of data.
^C
--- tweetpocket.com ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
 
Old 03-07-2010, 03:06 AM   #8
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Rep: Reputation: 27
I have a fairly straightforward way of doing this - check my blog entry at http://www.xstore.co.za/wordpress/?p=505. For this particular air app, download the .air file on a Win machine using firefox and transfer/unarchive on your linux box ...

I get an error when running it though: initial content not found

I'll look around the tweetpocket forums.
 
Old 03-07-2010, 03:32 AM   #9
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Rep: Reputation: 27
Ok just looks like my cmd line was wrong - this is what I'm using now:

/opt/Adobe/AIR/bin/adl -nodebug /opt/Adobe/AIR-apps/tweetpocket/META-INF/AIR/application.xml /opt/Adobe/AIR-apps/tweetpocket
 
Old 05-01-2013, 08:03 PM   #10
Muraii
Member
 
Registered: May 2006
Posts: 64

Rep: Reputation: 15
Quote:
Originally Posted by vbatts View Post
From my experience, there is no real straight forward process in this, and it was always such a hack, but i was willing.
  • go to your download directory with your handy console
    Code:
    mkdir AdobeAir
    cd AdobeAir
    tar jxvf ../AdobeAIRSDK.tbz2
    # you can get creative on how to download the desired application's *.air file
    wget $( lynx -source http://www.tweetpocket.com/badge.php | grep airApplicationURL | sed -e 's/^.*"\(.*\)".*$/\1/g' )
    mkdir TweetPocket
    cd TweetPocket
    unzip ../TweetPocket.air
  • move this whole AdobeAir directory to somewhere you keep user level installations, like i kept stuff in ~/bin/opt/ if i'm hacking around sometimes
  • the create an executable in your $PATH like in ~/bin/, called something intuitive like TweetPocket. Its contents should contain the following
    Code:
    #!/bin/sh
    ADL='/home/vbatts/bin/opt/AdobeAir/bin/adl'
    TD_app='/home/vbatts/bin/opt/AdobeAir/TweetPocket/META-INF/AIR/application.xml'
    TD_home='/home/vbatts/bin/opt/AdobeAir/TweetPocket/'
    
    $ADL $TD_app $TD_home &

That should be about all you need.
Of course the AdobeAIR stuff in only 32bit, and try attempt using it in x86_64 can require an absurd amount of library hunting, so good luck with that, but for a lot of cases using alienBob's multilib, convert seamonkey and add it to the library path of the shell script in launching your Air application. like
Code:
sudo convertpkg-compat32 -i seamonkey-2.0.3-i486-1.txz
sudo installpkg /tmp/seamonkey-compat32-2.0.3-x86_64-1.txz
and now your ~/bin/TweetPocket executable should look like
Code:
#!/bin/sh
ADL='/home/vbatts/bin/opt/AdobeAir/bin/adl'
TD_app='/home/vbatts/bin/opt/AdobeAir/TweetPocket/META-INF/AIR/application.xml'
TD_home='/home/vbatts/bin/opt/AdobeAir/TweetPocket/'

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/seamonkey-2.0.3 \
$ADL $TD_app $TD_home &
Take care,
vb
I realize this is ancient, but it still works. I have installed Slackware 64 14.0 and followed alienBob's multilib process (which included updating seamonkey) and then pointed my Adobe AIR bash script (for YNAB) to the proper library directory (/usr/lib/seamonkey-2.14.1 as if this writing).

Here's hoping this helps other people.
 
Old 05-02-2013, 11:51 AM   #11
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
A lot of things have changed since 2010.
 
Old 05-02-2013, 12:13 PM   #12
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,984

Rep: Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555
Quote:
Originally Posted by ottavio View Post
A lot of things have changed since 2010.
Other than the location of the Adobe Air SDK download site, what?

This is where you download the Adobe Air SDK (the latest version for Linux is 2.6) these days:

http://helpx.adobe.com/air/kb/archiv...k-version.html

I have just fixed the link in my Installing Adobe Air Apps (like Balsamiq Mockups) on Slackware64 13.37 entry.

Last edited by dugan; 05-02-2013 at 12:51 PM.
 
  


Reply

Tags
adobe, air, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Adobe Air on AMD64 Debian Sid fails. The_Seraphim Linux - Software 3 04-25-2010 09:04 PM
LXer: Installing Adobe AIR 1.5.1 For Linux On Ubuntu 9.04 (i386) LXer Syndicated Linux News 0 07-02-2009 01:20 PM
Installing Adobe AIR applications fails greatquizzard Linux - Software 2 01-08-2009 10:29 AM
LXer: Install Adobe AIR and 10 Air Applications on Ubuntu 8.10 LXer Syndicated Linux News 0 12-20-2008 08:01 PM
LXer: Installing Adobe AIR 1.1 For Linux Beta On Ubuntu 8.04 LXer Syndicated Linux News 0 10-05-2008 03:30 PM


All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration