Announcement

Collapse
No announcement yet.

Can't seem to use "youtube-dl"

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't seem to use "youtube-dl"

    This feature doesn't seem to work. Tried installing some other software but still doesn't work. This is what I get

    admin1@Latitude-E6430s:~$ sudo youtube-dl https://www.youtube.com/watch?v=hzDaVx45G_Q
    [sudo] password for admin1:
    /usr/bin/env: ‘python’: No such file or directory



    #2
    Do NOT use sudo to run non-system admin applications!!

    Aside from the security implication, doing so can and WILL mess up ownership and permissions, and not just root ownership of the downloaded file.

    We will need more info, such as where you got this program from, or how you installed it, as there are various methods to do so.

    But assuming following the official instructions from the youtube-dl website, they continue to leave out useful steps for individual distros.

    In Debian, Ubuntu and all the distros that are based on it, you need to install the package python-is-python3.
    This is because many distros are able to use multiple Python versions, so in many distros the actual python program is called python3.
    This package just makes a link to python3 called python to deal with this for those few times it is needed.

    After that, the program will run, but it probably won't work - it has been broken by YouTube for a bit now, iirc.

    yt-dlp *may* be a working alternative, it is more recent.

    Yup, it is broken. However, yt-dlp does work, and has handy things like handy instructions and things like PPAs so you don't need to manually install and update the thing if you don't want to, and takes care of any dependencies.
    Last edited by claydoh; Jun 11, 2023, 07:15 PM.

    Comment


      #3
      Originally posted by claydoh View Post
      Yup, it is broken. yt-dlp does work


      Does in NOT work, or DOES it work?
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Originally posted by Snowhog View Post


        Does in NOT work, or DOES it work?
        youtube-dl is broken.
        yt-dlp works.

        Comment

        Working...
        X