Skip to content

Instantly share code, notes, and snippets.

@noromanba
Last active August 29, 2015 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noromanba/10158251 to your computer and use it in GitHub Desktop.
Save noromanba/10158251 to your computer and use it in GitHub Desktop.
update/install flash-plugin oneliner

oneliner update/install flash-plugin

quick and easy

How to

sudo update-flashplugin-nonfree --status  # optional
sudo update-flashplugin-nonfree --install

update-flashplugin-nonfree

--status

~$ sudo update-flashplugin-nonfree --status
Flash Player version installed on this system  : 11.2.202.346
Flash Player version available on upstream site: 11.2.202.350
flash-mozilla.so - auto mode
  link currently points to /usr/lib/flashplugin-nonfree/libflashplayer.so
/usr/lib/flashplugin-nonfree/libflashplayer.so - priority 50
Current 'best' version is '/usr/lib/flashplugin-nonfree/libflashplayer.so'.
~$ 

installed ... 11.2.202.346

upstream ... 11.2.202.350

--install (update)

--verbose: optional

~$ sudo update-flashplugin-nonfree --install --verbose
options :  --install --verbose --
temporary directory: /tmp/flashplugin-nonfree.66P20lzKUL
importing public key ...
selected action = --install
installed version = 11.2.202.346
upstream version = 11.2.202.350
wgetoptions= -nd -P .   -v --progress=dot:default
downloading http://people.debian.org/~bartm/flashplugin-nonfree/fp.11.2.202.350.sha512.i386.pgp.asc ...
--2014-04-24 01:40:43--  http://people.debian.org/~bartm/flashplugin-nonfree/fp.11.2.202.350.sha512.i386.pgp.asc
Resolving people.debian.org (people.debian.org)... 206.12.19.5
Connecting to people.debian.org (people.debian.org)|206.12.19.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1271 (1.2K) [text/plain]
Saving to: `./fp.11.2.202.350.sha512.i386.pgp.asc'

     0K .                                                     100% 71.7M=0s

2014-04-24 01:40:44 (71.7 MB/s) - `./fp.11.2.202.350.sha512.i386.pgp.asc' saved [1271/1271]

verifying PGP fp.11.2.202.350.sha512.i386.pgp.asc ...
copying /var/cache/flashplugin-nonfree/install_flash_player_11_linux.i386.tar.gz ...
verifying checksum install_flash_player_11_linux.i386.tar.gz ...
wgetoptions= -nd -P .   -v --progress=dot:default  -O /tmp/flashplugin-nonfree.66P20lzKUL/install_flash_player_11_linux.i386.tar.gz
--2014-04-24 01:40:45--  http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.350/install_flash_player_11_linux.i386.tar.gz
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)... 23.34.34.70
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|23.34.34.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6924071 (6.6M) [application/x-gzip]
Saving to: `/tmp/flashplugin-nonfree.66P20lzKUL/install_flash_player_11_linux.i386.tar.gz'

     0K .......... .......... .......... .......... ..........  0% 34.3K 3m15s
# <snip>
  6750K .......... .                                          100% 32.9K=2m40s

2014-04-24 01:43:26 (42.2 KB/s) - `/tmp/flashplugin-nonfree.66P20lzKUL/install_flash_player_11_linux.i386.tar.gz' saved [6924071/6924071]

verifying checksum install_flash_player_11_linux.i386.tar.gz ...
unpacking install_flash_player_11_linux.i386.tar.gz ...
verifying checksum contents of install_flash_player_11_linux.i386.tar.gz ...
moving libflashplayer.so to /usr/lib/flashplugin-nonfree ...
setting permissions and ownership of /usr/lib/flashplugin-nonfree/libflashplayer.so ...
Flash Player version: 11.2.202.350
moving install_flash_player_11_linux.i386.tar.gz to /var/cache/flashplugin-nonfree ...
flash-mozilla.so - auto mode
  link currently points to /usr/lib/flashplugin-nonfree/libflashplayer.so
/usr/lib/flashplugin-nonfree/libflashplayer.so - priority 50
Current 'best' version is '/usr/lib/flashplugin-nonfree/libflashplayer.so'.
calling update-alternatives ...
flash-mozilla.so - auto mode
  link currently points to /usr/lib/flashplugin-nonfree/libflashplayer.so
/usr/lib/flashplugin-nonfree/libflashplayer.so - priority 50
Current 'best' version is '/usr/lib/flashplugin-nonfree/libflashplayer.so'.
removing /usr/bin/flash-player-properties
removing /usr/share/applications/flash-player-properties.desktop
removing /usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
removing /usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
removing /usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
removing /usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
removing /usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
removing /usr/share/pixmaps/flash-player-properties.png
installing /usr/bin/flash-player-properties
installing /usr/share/applications/flash-player-properties.desktop
installing /usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
installing /usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
installing /usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
installing /usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
installing /usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
installing /usr/share/pixmaps/flash-player-properties.png
end of action --install
cleaning up temporary directory /tmp/flashplugin-nonfree.66P20lzKUL ...
end of update-flashplugin-nonfree
~$ 

--status (verify: optional)

~$ sudo update-flashplugin-nonfree --status
Flash Player version installed on this system  : 11.2.202.350
Flash Player version available on upstream site: 11.2.202.350
flash-mozilla.so - auto mode
  link currently points to /usr/lib/flashplugin-nonfree/libflashplayer.so
/usr/lib/flashplugin-nonfree/libflashplayer.so - priority 50
Current 'best' version is '/usr/lib/flashplugin-nonfree/libflashplayer.so'.
~$ 

installed ... 11.2.202.350

upstream ... 11.2.202.350


Appendix

CLI options

~$ sudo update-flashplugin-nonfree   
Usage:
  update-flashplugin-nonfree --install
  update-flashplugin-nonfree --uninstall
  update-flashplugin-nonfree --status
Additional options:
  --verbose
  --quiet
~$ 

update-*

$ ls -l /usr/sbin/update-* | grep --only-matching 'update.*'
update-alternatives -> ../bin/update-alternatives
update-binfmts
update-ca-certificates
update-catalog
update-default-aspell -> update-dictcommon-aspell
update-default-ispell
update-default-wordlist
update-dictcommon-aspell
update-dictcommon-hunspell
update-distcc-symlinks
update-flashplugin-nonfree
update-fonts-alias
update-fonts-dir
update-fonts-scale
update-grub
update-gsfontmap
update-icon-caches
update-icon-caches.gtk2
update-inetd
update-info-dir
update-initramfs
update-java-alternatives
update-locale
update-mime
update-passwd
update-python-modules
update-rc.d
update-rcconf-guide
update-smart-drivedb
update-usbids
update-xmlcatalog
~$ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment