Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install manpage #12817

Closed
ahangarha opened this issue Apr 22, 2017 · 3 comments
Closed

How to install manpage #12817

ahangarha opened this issue Apr 22, 2017 · 3 comments

Comments

@ahangarha
Copy link

@ahangarha ahangarha commented Apr 22, 2017

Hi

I am currently using Ubuntu 16.04 and latest version of youtube-dl. I used to have youtube-dl which was installed from Ubuntu repository. Since it was outdated, I went through removing it and then, I installed it manually using pip.

Since then, I have no manpage for youtube-dl.

Is there any way to do install it manually? Have I done something wrong?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 22, 2017

If you follow the installation guide at https://github.com/rg3/youtube-dl#installation

sudo -H pip install --upgrade youtube-dl

The man page will be installed to /usr/share/man/man1/youtube-dl.1. That's the default path for system man pages, so you can just run man youtube-dl and read it. Could you check whether the file is there or not?

@ahangarha
Copy link
Author

@ahangarha ahangarha commented Apr 22, 2017

Actually I used to update it by running
sudo youtube-dl --update
But running
sudo -H pip install --upgrade youtube-dl
solved the problem

If using built-in --update option is not working, then isn't it better to remove or disable it?

Thank you.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 22, 2017

FYI: --update and pip install target different usages. --update is for single program mode (no man pages, shell completion script, etc.), which is absolutely useful on Windows, and pip provides a complete package.

By the way, it's better to remove the youtube-dl binary if you decided to go the pip way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.