Abstract from the included help section
Code: Select all
flashplayer-selector.sh --help
Usage: flashplayer-selector.sh
The script does not use command line parameters.
Information:
This script is used to select which version of Flash Player the system uses.
Via a menu it performs either of two main tasks:
1. Download and install the latest version,
2. Revert to an older version by re-installing a previously installed one.
flashplayer-selector.sh should be available in the path; located in either /usr/sbin
or /usr/local/sbin. It must be run with root privileges as the installation
proceses requires access to areas owned by root.
Requires:
basename, bash, grep, select, tar, update-flashplugin-nonfree
To set up the script (as root):
- Unzip the archive and place the script in /usr/sbin
- Set owner=root and group=root
- Set permissions rwx-r--r--
Open a terminal and enter
Code: Select all
sudo flashplayer-selector.sh
Background
antiX-12 is designed to run on both modern and older (less powerful) hardware. It ships with Flash Player 11.2. As noted in this post, the shipped version of Flash Player is not well suited to less powerful kit.
post25635.html?hilit=How%20I%20updated%20from%20Flash%2010%20to%20Flash%2011%20Beta#p25635
This became particularly noticeable on a laptop used to test antiX. It is the oldest laptop available here (circa 2001) and works well with antiX-12, except that Flash does not work straight out-of-the-box.
Retracing the steps taken in the above post, both Flash Player 10.3 (the last in the series) and 11.1 were tried. Although 11.1 did work, version 10.3 worked more smoothly.
At this point, three versions of Flash Player were available on the laptop, but swapping between them was a cumbersome process. In turn this led to the idea of simplifying the switching via script.
Debian (and antiX) has update-flashplugin-nonfree, which can be used to download and install the latest version of Flash Player. A welcome side affect of this is that an archive of the existing version is retained on the local system. The idea of upgrading Flash Player via the script was added.
Example of adding an earlier version of Flash Player
Much of this can be found in the topic mentioned above.
The example is based on version 10.3 but also works with 11.1 or others (simply use the filename of the version you want).
- Download Flash Player 10.3.183.43 from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html"
linktext was:"http://helpx.adobe.com/flash-player/kb/ ... sions.html"
====================================
- In Archive Manager (File Roller), open fp_10.3.183.43_archive.zip
- Extract from the archive flashplayer_10.3.183.43_linux.tar.gz
- As root, move flashplayer_10.3.183.43_linux.tar.gz to /var/cache/flashplugin-nonfree
Note: do not extract the contents
Suggestion
The newest version of Flash Player is OK for modern kit but is not suitable for older low powered kit. This may give an unsatisfactory impression of antiX on older hardware. Flash Player 10.3 or up to 11.1 may give a better out-of-the-box experience to a wider range of users. Should one of these be the default antiX version? Using the script makes it a trival task to upgrade to the newest version and switch again to the default version (or lower) if necessary.