Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 3 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/libflashplayer.so
sudo rm -f /usr/share/ubufox/plugins/npwrapper.libflashplayer.so
for p in $VARIANTS; do
sudo update-alternatives --quiet --remove "$p-flashplugin" /usr/lib/flashplugin-installer/libflashplayer.so;
done
for p in $VARIANTS; do
sudo update-alternatives --quiet --remove "$p-flashplugin" /var/lib/flashplugin-installer/npwrapper.libflashplayer.so;
done
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

 
discard

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.