2

I mistakenly clicked install audio packages in Ubuntu Studio Installer, and even after cancelling, my apps menu is cluttered with a whole lot of junk apps.

Where can I find the full audio package list to delete them all please?

Richard
  • 356
  • 1
  • 3
  • 14

1 Answers1

2

First, run the following commands to uninstall the audio packages:

sudo apt update
sudo apt purge ubuntustudio-audio ubuntustudio-audio-core
sudo apt autoremove

This should uninstall the [meta]packages and autoremove should uninstall the dependencies that were automatically installed by the system.

Explanation:

So the following command will search for packages by the keyword "ubuntustudio" and filter the results to only list results that contain the word "audio":

apt-cache search ubuntustudio | grep -i audio

On 20.04, this returns 3 packages. ubuntustudio-audio, ubuntustudio-audio-core, and ubuntustudio-audio-plugins.

I left out the ubuntustudio-audio-plugins as they may be helpful although it will probably be removed as a dependency anyhow but in any case and if you still have packages remaining that you don't want, you can try to explicitly purge that as well:

sudo apt purge ubuntustudio-audio-plugins
sudo apt autoremove

I think at this point, your problem should be fixed but to more accurately answer your question (where to find the list):

The following commands will list the packages that these 3 packages depend on (the packages that are automatically installed):

apt-cache show ubuntustudio-audio | grep -i depends
apt-cache show ubuntustudio-audio-core | grep -i depends
apt-cache show ubuntustudio-audio-plugins | grep -i depends

The apt-cache show command lists detailed information about a package and here we filter only the line for dependencies, "depends".

mchid
  • 44,904
  • 8
  • 102
  • 162