Archive

Archive for July, 2011

Installing debug FlashPlayer for Firefox on Ubuntu 10.10

July 20th, 2011 No comments

This is more of an aide-mémoire for me than a public guide. If it is helpful for other people then I am happy to make it available. If anyone has any comments or suggestion please contact me.

. . .

  • First install the ‘Adobe Flash Player plug-in’, through the ‘Software Centre’ (alternatively it can be done from the command line if you like)…
  • Download the Debug Flash Player:
$ cd ~/Downloads/
$ wget http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_plugin_debug.tar.gz
  • Extract the files:
$ tar -xzvf flashplayer_10_plugin_debug.tar.gz
  • Copy ‘libflashplayer.so’ to the Flex SDK folder:
$ sudo mv libflashplayer.so /opt/flex/runtimes/libflashplayer.debug.so
  • Update alternatives reference:
$ sudo update-alternatives --install /usr/lib/flashplugin-installer/libflashplayer.so firefox-flashplugin /opt/flex/runtimes/libflashplayer.debug.so 60
  • (optional) Check alternatives reference:
$ update-alternatives --display firefox-flashplugin
firefox-flashplugin - auto mode
  link currently points to /opt/flex/runtimes/libflashplayer.debug.so
/opt/flex/runtimes/libflashplayer.debug.so - priority 60
/usr/lib/flashplugin-installer/libflashplayer.so - priority 50
Current 'best' version is '/opt/flex/runtimes/libflashplayer.debug.so'.
  • Restart Firefox and type ‘about:plugins’ into the address bar to check the plug-in is loaded.
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Install and configure Adobe Flex SDK on Ubuntu 10.10

July 20th, 2011 No comments

This is more of an aide-mémoire for me than a public guide. If it is helpful for other people then I am happy to make it available. If anyone has any comments or suggestion please contact me.

Requirements

  • The Flex SDK (build 4.5.1.21328 at the time of writing)
  • Java (version 6 at the time of writing)

Installation

  • If it isn’t already installed we need Java. Open up a terminal window and type the following:
$ sudo apt-get install java-package sun-java6-jdk

This may take a few minutes, plus you will have to agree to the license.

  • Download the Flex SDK (see link above) and save it to your Download folder.
$ cd ~/Downloads/
$ wget http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.5/flex_sdk_4.5.1.21328.zip
  • Create a folder to copy the files to:
$ sudo mkdir /opt/flex
  • Unzip the Flex SDK files:
$ cd ~/Downloads/
$ unzip flex_sdk_4.5.1.21328.zip -d flextmp
  • Copy extracted files to final resting place:
$ sudo mv flextmp/* /opt/flex/
  • Add Flex compiler path to “~/.bashrc”:
$ gedit ~/.bashrc

And add the following to the bottom of the file:

export PATH=/opt/flex/bin:$PATH
  • That should be it. To test just call the compiler (after closing any open terminals):
$ mxmlc -help
VN:F [1.9.22_1171]
Rating: 6.0/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Categories: Flex, Linux, Software Development, Ubuntu Tags: