How do I get the man command?

Viewed 8473

I just installed Windows Subsystem for Linux for the first time and downloaded the Debian distribution from the Windows Store.

The first thing I tried to do was use the "mv" command. The second thing was to run "man mv" because I don't remember how to use it. But I received the error:

-bash: man: command not found

It looks like the package I want is called manpages. But I can't install that:

sudo apt-get install manpages
[sudo] password for pi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package manpages is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'manpages' has no installation candidate

How do I get the man command up and running?

2 Answers

apt update to update the local package lists followed by apt install man-db to install the actual package.

Related