How to completely remove youtube-dl from mac?
Asked Answered
K

1

5

I installed youtube-dl with brew but it wasn't working... It kept saying connection refused. So, I tried to reinstall in using the curl command at - https://github.com/rg3/youtube-dl

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl

Still didn't work... I tried uninstalling it like I did the first time with

brew remove youtube-dl

But that's obviously not working cause I didn't install it the second time with brew. I just want to remove it now.

Katiakatie answered 10/8, 2016 at 22:9 Comment(0)
R
17

Let analyse the command you install:

sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl

We can see the youtube-dl is install in our system path:

/usr/local/bin/youtube-dl

So, in here we can remove the path directly.

$rm -rf /usr/local/bin/youtube-dl 

Maybe its not done yet, I used the command find if any remain path.

$sudo find / -name youtube-dl 

After a few minutes waiting...There is no more remain youtube-dl in my mac. Cong!

Rainmaker answered 20/9, 2016 at 1:52 Comment(1)
If anyone wishes to locate the path of youtube-dl, then try: $which youtube-dlDithyrambic

© 2022 - 2024 — McMap. All rights reserved.