The files in /usr/share/doc/texlive
are all documentation for texlive - a popular TeX distribution for Linux - and were installed when you installed texlive, and its related packages. For files installed by system packages, it's generally better to just uninstall the packages, rather than to attempt to delete the files, since this may cause issues, and the files may be recreated if the package is updated.
If you do still want texlive, but don't want the documentation any more, you can do:
sudo apt remove 'texlive-*-doc'
to remove all documentation-related packages - although some texlive components may not have split documentation into separate packages, so some documentation may remain. If, on the other hand, you simply don't want texlive any more, you can do:
sudo apt purge texlive 'texlive-*'
which will remove all texlive related packages from your system, and all files related to them.
I would also add that whilst texlive is one of the bigger packages, it's unlikely that it's the biggest contributor to your space issues. Ubuntu has a tool "Disk Usage Analyser" that can tell you what is actually taking up space.
find
command and-exec
or-delete
options. But be really careful you might end up removing anything you have. – Ravexina Jun 11 '20 at 18:03apt-file search '/usr/share/doc/texlive-doc' | grep pdf | cut -f1 -d: | sort | uniq
– Ravexina Jun 11 '20 at 18:07