Last active
April 15, 2019 11:37
-
-
Save sanjayankur31/d0d175301b943171114ec5f825afa4cc to your computer and use it in GitHub Desktop.
Quick command to install LaTeX packages needed by a document on Fedora
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace FILENAMES with the names of the files that include the packages | |
sudo dnf install $(grep -h "usepackage" FILENAMES | sed "s|\\\usepackage.*{|tex(|" | sed "s|}$|\.sty)|" | tr '\n' ' ') --setopt=strict=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment