AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1020951
Accepted
madisonquota
madisonquota
Asked: 2018-04-01 15:58:29 +0800 CST2018-04-01 15:58:29 +0800 CST 2018-04-01 15:58:29 +0800 CST

命令有没有手册?

  • 772

我最近安装了 youtube-dl。

我第一次apt-get安装它。但是,版本已经过时并且存在问题。我能够使用man youtube-dl.

在他们的文档中,我发现他们建议遵循他们的手动安装指南。所以我按照他们的说明重新安装wget,程序运行良好。但是,我无法再使用man youtube-dl.

而不是手册,我得到:

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

有没有办法让我从他们的 github手动添加文档?因此,对于安装后没有附加手册的任何其他命令,这也是一个一般性问题。

command-line documentation youtube-dl
  • 2 2 个回答
  • 296 Views

2 个回答

  • Voted
  1. Rinzwind
    2018-04-01T16:36:11+08:002018-04-01T16:36:11+08:00

    尝试并重新安装手册页本身:请参阅https://askubuntu.com/a/244810/15811

    因为......在我这样做之后,我得到了正常的手册页:

    $ 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
    

    第一页:

    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
    

    尽管这并不重要:您可以在执行以下操作时获得相同的信息:

    youtube-dl --help
    
    • 4
  2. Best Answer
    madisonquota
    2018-04-02T23:30:36+08:002018-04-02T23:30:36+08:00

    由于我知道 usingapt-get install youtube-dl安装了工作手册,所以我重新安装了 using apt-get,将手册复制/usr/share/man/man1/youtube-dl.1.gz并放入/usr/local/share/man/man1/. 然后我做到了apt-get remove youtube-dl。现在,我使用 wget 安装的较新的 youtube-dl 程序指的是我从该apt-get版本中获取的旧手册页(现已删除)。格式也都是正确的。

    可能不是最好的方法,文档可能已经过时了。但是对于基本选项,它现在就可以了。

    • 1

相关问题

  • 如何从命令行仅安装安全更新?关于如何管理更新的一些提示

  • 如何从命令行刻录双层 dvd iso

  • 如何从命令行判断机器是否需要重新启动?

  • 文件权限如何工作?文件权限用户和组

  • 如何在 Vim 中启用全彩支持?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve