I've tried to remove Adobe Flash Player with the command line, but with no success. I disabled the two Flash Shockwave plugins in Firefox, but I cannot remove it.
What should I do?
Thank you.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityIn case you installed it using Apt, run this to find the package name:
dpkg --get-selections | grep -v deinstall | grep flash | awk '{ print $1 }'
Then you can uninstall the package by
sudo apt-get purge package-name
In case you copied the plugin so to Firefox plugins, simply delete it from there.
dpkg --get-selections | grep -v deinstall | grep flash | awk '{ printf $1; printf "\n" }'
Oct 14, 2018 at 12:29
Open synaptic package manager -> find flashplugin-installer
-> Mark for Complete Removal -> Apply.
In reply to Elder's comment: "Removing the installer package won't remove the plugin", I just wanted to clarify that the pre-processing scripts of flashplugin-installer package, does remove the plugin, as long as you take care of marking it for Complete Removal or use "purge" action, as both the answers recommends.
If you want to check, just locate the plugin on your filesystem:
$ ll /usr/lib/mozilla/plugins/
flashplugin-alternative.so -> /etc/alternatives/mozilla-flashplugin
$ ll /etc/alternatives/mozilla-flashplugin
/etc/alternatives/mozilla-flashplugin -> /usr/lib/flashplugin-installer/libflashplayer.so
$ ll /usr/lib/flashplugin-installer/libflashplayer.so
/usr/lib/flashplugin-installer/libflashplayer.so
Now remove the flash-installer package with:
apt-get purge flashplugin-installer
and check that the plugin itself has been removed:
$ ll /usr/lib/mozilla/plugins/
No such file or directory
$ ll /etc/alternatives/mozilla-flashplugin
No such file or directory
$ ll /usr/lib/flashplugin-installer/libflashplayer.so
No such file or directory
.deb
file and then just usesudo dpkg -i
on it or something? What was the name of the package/file?