How to fix “lineno.sty not found” Latex error on Linux

Question: When I tried to compile a LaTex file on Linux, I am getting "LaTeX Error: File 'lineno.sty' not found" error. How can I fix this error?

To fix this LaTex error, install the following package.

On Ubuntu, Debian or Linux Min:

$ sudo apt-get install texlive-humanities

On Fedora:

$ sudo yum install texlive-collection-humanities

Subscribe to Ask Xmodulo

Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.

Leave a comment

Your email address will not be published. Required fields are marked *