0

I'm trying to remove a package that records YouTube audio to .mp3 files but can't remember the package name.

I'm using sudo apt-get purge <package name> but I enter the package name incorrectly and then "Unable to locate package" is displayed.

Does anyone know the name of the the package?

Thanks

Jacob
  • 11

3 Answers3

2

You can do the following using the terminal:

  1. To see all packages and look for the one you installed - dpkg --get-selections | grep -v deinstall

  2. To see a broader list - dpkg -l

  3. Use grep tool to search for the two keywords you mentioned above - dpkg --get-selections | grep [youtube-to-mp3]

If using Ubuntu version greater than 14.04, use apt list --installed.

Then after identifying the package (note: options 1 & 2 will give you large outputs as I saw when I ran it) you can simple do:

For Ubuntu 14.04 and older:

sudo apt-get purge <the-package-name>

For Ubuntu 16.04 and newer:

sudo apt purge <the-package-name>
muru
  • 207,228
George Udosen
  • 37,534
1

/var/log/apt/ contains log files describing which packages were installed, and when they were installed.

waltinator
  • 37,856
0

To purge the package in question run:

sudo apt-get purge youtube-to-mp3
David Foerster
  • 36,890
  • 56
  • 97
  • 151
AlexP
  • 10,435