LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing Adobe Air on Slackware (http://www.linuxquestions.org/questions/slackware-14/installing-adobe-air-on-slackware-793043/)

R Tanner 03-03-2010 10:05 PM

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.

koenigdavidmj 03-03-2010 11:28 PM

It is for 12.2, but you may find this link helpful.

R Tanner 03-04-2010 10:56 PM

Quote:

Originally Posted by koenigdavidmj (Post 3885005)
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#


vbatts 03-04-2010 11:59 PM

Quote:

Originally Posted by R Tanner (Post 3884941)
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

R Tanner 03-05-2010 08:18 PM

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:~#


R Tanner 03-05-2010 09:27 PM

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:~#


vbatts 03-06-2010 09:01 AM

Quote:

Originally Posted by R Tanner (Post 3887731)
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


rpedrica 03-07-2010 02:06 AM

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.

rpedrica 03-07-2010 02:32 AM

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

Muraii 05-01-2013 07:03 PM

Quote:

Originally Posted by vbatts (Post 3886523)
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.

ottavio 05-02-2013 10:51 AM

A lot of things have changed since 2010.

dugan 05-02-2013 11:13 AM

Quote:

Originally Posted by ottavio (Post 4943456)
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.


All times are GMT -5. The time now is 04:36 PM.