Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i've made the mistake of installing firefox flash plugin, which is horribly buggy, unstable and leaky. I need to banish this piece of rubbish out of my precious ubuntu workstation. I tried this by doing

sudo apt-get remove flashplugin-installer

but that just removes the installer, not the library

what package do i need to remove to completely uninstall this?

share|improve this question
try going to tools>add-ons and disable the shockwave flash plugin – user17414 May 16 '11 at 0:33
amusingly enough, there is none, there is just "Ubuntu firefox modifications 0.9rc2" – lurscher May 16 '11 at 0:42
that's because you are in the add-ons section, it is in the plugins section – user17414 May 16 '11 at 2:08
sorry, still, it shows nothing on the 'plugins in use' – lurscher May 16 '11 at 2:54
up vote 6 down vote accepted

I just looked in the pre processing scripts of flashplugin-installer, and it appears to remove the libraries correctly. If you've still flashplugin-installer installe,d you can look in /var/lib/dpkg/info/flashplugin-installer.prerm. to confirm it.

Otherwise, you can run the commands manually:

VARIANTS="iceape iceweasel mozilla firefox xulrunner midbrowser xulrunner-addons"
sudo update-rc.d -f flashplugin-installer remove >/dev/null 2>&1
sudo rm -rf /usr/lib/flashplugin-installer-unpackdir
sudo rm -rf /usr/lib/flashplugin-installer/*
sudo rm -f /var/lib/flashplugin-installer/*
sudo rm -rf /var/cache/flashplugin-installer-unpackdir
sudo rm -rf /var/cache/flashplugin-installer
sudo rm -f /usr/share/ubufox/plugins/
sudo rm -f /usr/share/ubufox/plugins/
for p in $VARIANTS; do
sudo update-alternatives --quiet --remove "$p-flashplugin" /usr/lib/flashplugin-installer/;
for p in $VARIANTS; do
sudo update-alternatives --quiet --remove "$p-flashplugin" /var/lib/flashplugin-installer/;
share|improve this answer
+1 thanks for the pointer. As of the date of this comment, the mechanism in .../flashplugin-installer.prerm has changed much from your pasted version, but has the same effect. – msw Jun 13 '13 at 21:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.