Score:2

How do I get rid of youtube-dl?

cn flag

It looks like youtube-dl is permanently stuck on my system. Months back I installed it (I don't know how). But now I'm desperately trying to uninstall it. All the uninstall commands say that it's not installed, yet I'm using it in the terminal and that means it's installed.

I installed it as snap. I can see many youtube-dl leftover files in snap folders. Is there a way to clear them all?

user535733 avatar
cn flag
How you remove something depends upon how you installed it. Use the `whereis` command to determine where the application is installed -- that's a clue to how it was installed.
us flag
Is it installed as Flatpak? Also, what is the output of `which youtube-dl`?
Vin Raghav avatar
cn flag
youtube-dl: /home/user/.local/bin/youtube-dl
Vin Raghav avatar
cn flag
I think I might have installed it as a snap, but I uninstalled it using sudo snap remove youtube-dl but it's still there.
Score:3
cn flag

You may have installed it manually. Then the package system does not know about it. So in that case delete the executable manually to remove it again. It likely will be in /usr/local/bin, but you can make sure with the which command.

Vin Raghav avatar
cn flag
I deleted it manually like you said and it worked.
Vin Raghav avatar
cn flag
I installed it as snap. I can see many youtube-dl leftover files in snap folders. Any way to clear them all?
vanadium avatar
cn flag
You gave output of 'snap remove' that indicates the snap is not installed. You can delete anything you see under your home folder (this is never autodeleted) and remains in the snap system will automatically be cleared after thirty days.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.