noraj / OSCP-Exam-Report-Template-Markdown

:orange_book: Markdown Templates for Offensive Security OSCP, OSWE, OSCE, OSEE, OSWP exam report
https://noraj.github.io/OSCP-Exam-Report-Template-Markdown/
MIT License
3.53k stars 744 forks source link

Unnecessary packages - texlive #16

Closed omr00t closed 3 years ago

omr00t commented 3 years ago

On a debian-based system, texlive-full downloads a huge set of packages, and most of which are not necessary to generate the report.

The following command should install all the "necessary" packages on a debian-based system in order to generate the report:

sudo apt-get install pandoc texlive-fonts-extra texlive-latex-extra texlive-latex-recommended texlive-latex-base p7zip-full

This cuts the download size by ~4.6x (from +3GB to ~700MB) . It also cuts the disk space usage by ~3x (from +6GB to ~2GB).

noraj commented 3 years ago

texlive-latex-base is already a dependency of texlive-latex-recommended so no need to mention it.

I'll modify it.