I recently installed
ubuntu-restricted-extras but it is causing bugs in Google Chrome, and I want want to remove it. However, when I do it using
sudo apt-get autoremove or
sudo apt-get purge it doesn't seem to be completely removed because when I was installing it, a lot of packages got removed and others got installed.
My question is: How do I make things just like they was before installing
I recently installed
You can use synaptic. If you don't have it installed, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
Once done, open synaptic, by typing it in dash, and once it opens search for
The issue you are having is that the ubuntu-restricted-* metapackages use recommendations instead of dependencies. If you want to completely remove the packages recommended by either of these, a safe way is to do it manually (tested on Ubuntu 14.04.3):
Then if you want you can do a clean reinstall:
The following answer is irrespective of the problem you faced with Google Chrome. It's an answer to the title's question.
The ubuntu-restricted-extras package, is a dummy package that installs other packages and libraries as well.
Here is an example list
You can copy-paste the above code to a txt file and run
Be Aware that the package-libraries versions may vary. Above is from Ubuntu 13.10.
Also you can locate the command you gave "apt-get install ubuntu-restricted-extras" in apt history log files and see which packages this command had installed.
If the installation is recent it will be listed there, if is older, you can try other history logs as well. e.g. history.log.1.gz (you can list .gz files with
@Mitch answer doesn't remove completely ubuntu-restricted-extras package (at least in Ubuntu 14.04). Certainly because ubuntu-restricted-extras has not much "depends" packages but "recommends" instead, that are installed automatically by default.
Unfortunately apt-get purge package and apt-get autoremove --purge don't remove "recommends" packages (Remove recommended packages) even after you uninstall ubuntu-restricted-extras and ubuntu-restricted-addons, so you have to uninstall manually what you don't need (I had ttf-mscorefonts-installer, unrar and flashplugin-installer already installed):
On my computer, removing chromium-codecs-ffmpeg-extra wants to uninstall chromium, so I had to install chromium-codecs-ffmpeg and it will uninstall chromium-codecs-ffmpeg-extra: