Install and update LaTeX macro package in Ubuntu/Mint

Source: Internet
Author: User

Generally, there are not many built-in macro packages for software such as texlive installed in Linux, and many macro packages have been installed several years ago, in this way, it is often possible to compile the tex files on the Internet in the near future ~ Of course, you can put the macro package on the Internet directly to the tex file directory, but it is too DT to copy N files each time... The process of installing and updating the macro package is as follows. I use my own Mint and texlive as an example.
 
1. First, find the directory where the default macro package is located. Google can check that there are two
 
/Usr/share/texmf/tex/latex
/Usr/share/texmf-texlive/tex/latex
 
2. if you install a new macro package, you can directly push the compressed file of the macro package into the first directory and decompress it directly. Note that the unzipped file may contain installation instructions, follow the installation instructions. If you update a macro package, you can find it in the second directory, rename the original macro package to *-backup, and decompress the downloaded macro package to compress the file, if installation instructions are available, follow the instructions.
 
3. Re-mark the macro package and execute it on the terminal.
 
# Texhash
 
 
4. Log off/Log in is complete.

Source code strength

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.