{"id":906,"date":"2017-08-30T17:33:47","date_gmt":"2017-08-30T15:33:47","guid":{"rendered":"http:\/\/localhost\/miosito\/?p=906"},"modified":"2017-08-30T17:48:10","modified_gmt":"2017-08-30T15:48:10","slug":"installare-adobe-air-in-ubuntu-17-04-a-64-bit","status":"publish","type":"post","link":"http:\/\/localhost\/miosito\/en\/installare-adobe-air-in-ubuntu-17-04-a-64-bit\/","title":{"rendered":"Install Adobe AIR in Ubuntu 17.04 at 64 bit"},"content":{"rendered":"


\n

\nSince I needed a program made in AIR, I had to work to find the way to install it on version 17.04 amd64.
\nFirst of all, you will need the installable dependencies by opening a terminal (ctrl + t) and copying:<\/p>\n

sudo apt-get install libgtk2.0-0:i386 libstdc++6:i386 libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libqt4-qt3support:i386 libgnome-keyring0:i386 libnss-mdns:i386 libnss3:i386 libxaw7 libnss3:i386 libnss-mdns:i386 libxt6:i386 libnspr4:i386<\/p>\n

Now you have to create symbolic links for proper functioning:<\/p>\n

sudo ln -s \/usr\/lib\/i386-linux-gnu\/libgnome-keyring.so.0 \/usr\/lib\/libgnome-keyring.so.0
\nsudo ln -s \/usr\/lib\/i386-linux-gnu\/libgnome-keyring.so.0.2.0 \/usr\/lib\/libgnome-keyring.so.0.2.0<\/p>\n

We now download a part of the program:<\/p>\n

cd ~\/Download
\nwget http:\/\/airdownload.adobe.com\/air\/lin\/download\/2.6\/AdobeAIRSDK.tbz2
\nsudo mkdir \/opt\/adobe-air-sdk
\nsudo tar jxf AdobeAIRSDK.tbz2 -C \/opt\/adobe-air-sdk<\/p>\n

We download the AIR SDK<\/p>\n

wget https:\/\/aur.archlinux.org\/cgit\/aur.git\/snapshot\/adobe-air.tar.gz
\nsudo tar xvf adobe-air.tar.gz -C \/opt\/adobe-air-sdk
\nsudo chmod +x \/opt\/adobe-air-sdk\/adobe-air\/adobe-air<\/p>\n

Now we are in place, now I’ll explain how to install any program with * .air extension
\nObviously replace “NomePacchettoProgramma”(ProgramPartyName) end “NomeProgramma”(ProgramName) according to your needs !!<\/p>\n

sudo mkdir \/opt\/adobe-air-sdk\/NomeProgramma<\/strong>
\nsudo cp NomePacchettoProgramma<\/strong>.air \/opt\/adobe-air-sdk\/NomeProgramma<\/strong>\/
\nsudo mkdir \/tmp\/air
\nsudo cp NomePacchettoProgramma<\/strong>.air \/tmp\/air
\ncd \/tmp\/air
\nunzip \/tmp\/air\/NomePacchettoProgramma<\/strong>.air
\nsudo cp \/tmp\/air \/opt\/adobe-air-sdk\/NomeProgramma<\/strong><\/p>\n

Now let’s create a pitcher for the main menu (also replace “NomeEseguibile”(exec) and “iconaProgramma”(icon))<\/p>\n

sudo su
\ncat << _EOF_ > \/usr\/share\/applications\/NomeProgramma<\/strong>.desktop
\n[Desktop Entry]
\nEncoding=UTF-8
\nVersion=1.0
\nType=Application
\nExec=\/opt\/adobe-air-sdk\/adobe-air\/adobe-air \/opt\/adobe-air-sdk\/NomeProgramma<\/strong>\/NomeEseguibile<\/strong>.air
\nIcon=\/opt\/adobe-air-sdk\/NomeProgramma\/iconaProgramma<\/strong>.png
\nTerminal=false
\nName=NomeProgramma<\/strong>
\nComment= quello che vuoi<\/strong>
\nCategories=Application;Education;Development;ComputerScience;
\nMimeType=application\/vnd.adobe.air-application-installer-package+zip
\n_EOF_<\/p>\n

chmod +x \/usr\/share\/applications\/NomeProgramma<\/strong>.desktop<\/p>\n

Now just look in the “ProgramName” menu and you will start
\nProbably the additional settings that will create the program will be found in ~ \/.appdata\/ProgramName<\/strong><\/p>\n

See you soon. Bye<\/p>\n

<\/p>","protected":false},"excerpt":{"rendered":"

Since I needed a program made in AIR, I had to work to find the way to install it on version 17.04 amd64. First of all, you will need the installable dependencies by opening a terminal (ctrl + t) and copying: sudo apt-get install libgtk2.0-0:i386 libstdc++6:i386 libxml2:i386 libxslt1.1:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libqt4-qt3support:i386 libgnome-keyring0:i386 libnss-mdns:i386 libnss3:i386 libxaw7 […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[56,53,54,55,52,9],"_links":{"self":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts\/906"}],"collection":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/comments?post=906"}],"version-history":[{"count":0,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/posts\/906\/revisions"}],"wp:attachment":[{"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/media?parent=906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/categories?post=906"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost\/miosito\/en\/wp-json\/wp\/v2\/tags?post=906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}