WsL 2 and man pages

Hi to everyone! I am new to this forum and I want to ask a question. I am using w10 and wsl 2 and there is a strange problem. I installed fedora33 as fedoramagazine said but I cant use man pages at all. I installed Ubunty from w store and man pages worked. Why is that? Probably because w strore doesnt have fedora or something I can fix?
Thanks for your answers! and have a nice year!

1 Like

Hi,

$ sudo dnf install man man-pages

Thanks Tom.

2 Likes

Hi Tom, thanks but is already installed. Do you have wsl and fedora in your system? There is a diff I cant get. I have pc with fedora installed and man pages are ok. But something goes wrong with wsl.
Thank you again!

Hi,

Not running WSL. I have got a windows laptop. I’ll take WSL for spin later and see if I can get man pages working. I don’t think there is an official WSL install, so I don’t know what my mileage will be.

Thanks Tom.

1 Like

Hi, ok I started from here: https://fedoramagazine.org/wsl-fedora-33/
good luck !

Hi,

Installed and reproduced, stumbled across the fix here:

comment our or remove tsflags=nodocs from:

/etc/dnf/dnf.conf

Remove and reinstall man & man-db and $ man man now works as expected.

Because the rootfs system is being borrowed from a container project, docs are turned off by default to save space. If you have any packages already install and you require the man pages, it will need to be reinstalled; so the man pages can be grabbed at install time.

Thanks Tom.

3 Likes

Hi, yes it worked!!

Thanks!

1 Like