3

After installing the man pages via dnf, I still can't find them inside /usr/share/man.

docker run --rm -it fedora bash -c "dnf install -y man-pages && ls -lR /usr/share/man"

Did I miss something?

Kenyon
  • 595
  • 4
  • 11
Karim DRIDI
  • 101
  • 6

2 Answers2

3

The default configuration for the docker version of fedora disable the installation of documentation.

cat /etc/dnf/dnf.conf

Check out the last line :

[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
tsflags=nodocs

However, it is still possible to change the last line or override it like below command :

dnf install -y man-pages --setopt='tsflags='
Karim DRIDI
  • 101
  • 6
2

I would liked to contribute as I was looking for the answer and I found the answer, from the link here Confirm the below line is removed from /etc/dnf/dnf.conf

tsflags=nodocs

and remove and reinstall the man pages using dnf

dnf install man man-pages man-db
bguiz
  • 27,371
  • 47
  • 154
  • 243
YONGAR
  • 51
  • 4