Ubuntu – Command has no manual

command linedocumentationyoutube-dl

I recently installed youtube-dl.

I first used apt-get to install it. However, the version was outdated and there were problems. I was able to look through the documentation using man youtube-dl.

In their documentation I found out that they recommend following their manual installation guide. So I followed their instructions and reinstalled using wget and the program worked fine. However, I can no longer access their documentation using man youtube-dl.

Instead of the manual, I get:

No manual entry for youtube-dl
See 'man 7 undocumented' for help when manual pages are not available.

Is there a way for me to manually add in the documentation from their github? So this is also sort of a general question as well for any other command that doesn't have a manual attached after installation.

Best Answer

Try and re-install the manual page itself: see https://askubuntu.com/a/244810/15811

Because ... After I did this I got the normal manual page:

$ sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

$ sudo chmod a+rx /usr/local/bin/youtube-dl

First page:

YOUTUBE-DL(1)                                                    YOUTUBE-DL(1)

NAME
       youtube-dl - download videos from youtube.com or other video platforms

SYNOPSIS
       youtube-dl [OPTIONS] URL [URL...]

DESCRIPTION
       youtube-dl   is   a   command-line  program  to  download  videos  from
       YouTube.com and a few more sites.  It requires the Python  interpreter,
       version  2.6, 2.7, or 3.2+, and it is not platform specific.  It should
       work on your Unix box, on Windows or on macOS.  It is released  to  the
       public domain, which means you can modify it, redistribute it or use it
       however you like.

OPTIONS
       -h, --help
              Print this help text and exit

       --version
              Print program version and exit

Though it does not matter much: you can get the same information you are asking for when doing:

youtube-dl --help
Related Question