Page MenuHomeVyOS Platform

Remove unused manpages to free up space
Closed, ResolvedPublicFEATURE REQUEST

Description

According to the buildscript there is already a cleanup of documentation from within the iso:

https://github.com/vyos/vyos-build/blob/current/data/live-build-config/hooks/live/80-delete-docs.chroot

# We do not need any documentation on the system. This frees some space.
# Copyright/licenses files are ignored for deletion

And since "man" isnt installed:

root@vyos:/home/vyos# man
bash: man: command not found

Couldnt then the content of /usr/share/man also be deleted to free up some space (approx 13 megabytes out of which most are compressed gz-files)?

root@vyos:/home/vyos# du -sm /usr/share/man/
13	/usr/share/man/

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

Confirmed fixed in VyOS 1.4-rolling-202308250021:

vyos@vyos:~$ ls -la /usr/share/man
ls: cannot access '/usr/share/man': No such file or directory

Also comparing iso size between 1.4-rolling-202308240020 and 1.4-rolling-202308250021 over at https://github.com/vyos/vyos-rolling-nightly-builds/releases/ shows a diff of approx 13 MB smaller size.