Advertisement
DanielSchreurs

Install mactex

Dec 17th, 2021
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.08 KB | None | 0 0
  1. ➜  ~ which perl
  2. /opt/homebrew/bin/perl
  3. ➜  ~ latexindent --help
  4. Unknown PerlIO layer 'encoding' at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 21.
  5. Unknown PerlIO layer "encoding" at /opt/homebrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/open.pm line 126.
  6. Unknown PerlIO layer "encoding" at /opt/homebrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/open.pm line 134.
  7. Unknown PerlIO layer "encoding" at /opt/homebrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/open.pm line 135.
  8. Attempt to reload PerlIO/encoding.pm aborted.
  9. Compilation failed in require at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/FileExtension.pm line 20.
  10. BEGIN failed--compilation aborted at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/FileExtension.pm line 20.
  11. Compilation failed in require at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 29.
  12. BEGIN failed--compilation aborted at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 29.
  13. Compilation failed in require at /usr/local/texlive/2021/bin/universal-darwin/latexindent line 27.
  14. BEGIN failed--compilation aborted at /usr/local/texlive/2021/bin/universal-darwin/latexindent line 27.
  15. ➜  ~ brew uninstall --cask mactex
  16. ==> Uninstalling Cask mactex
  17. ==> Uninstalling packages; your password may be necessary:
  18. org.tug.mactex.gui2021
  19. Password:
  20. org.tug.mactex.texlive2021
  21. ==> Removing files:
  22. /usr/local/texlive/2021
  23. /Applications/TeX
  24. /Library/TeX
  25. /etc/paths.d/TeX
  26. /etc/manpaths.d/TeX
  27. ==> Purging files for version 2021.0328 of Cask mactex
  28. ➜  ~ latexindent --help          
  29. zsh: command not found: latexindent
  30. ➜  ~ brew install --cask mactex
  31. Running `brew update --preinstall`...
  32. ==> Auto-updated Homebrew!
  33. Updated 2 taps (homebrew/core and homebrew/cask).
  34. ==> Updated Formulae
  35. Updated 52 formulae.
  36. ==> Updated Casks
  37. Updated 73 casks.
  38.  
  39. ==> Caveats
  40. You must restart your terminal window for the installation of MacTex CLI tools to take effect.
  41. Alternatively, Bash and Zsh users can run the command:
  42.  
  43.   eval "$(/usr/libexec/path_helper)"
  44.  
  45. ==> Downloading http://mirror.ctan.org/systems/mac/mactex/mactex-20210328.pkg
  46. Already downloaded: /Users/daniel/Library/Caches/Homebrew/downloads/d9dd25d7711fdf85129fb968dafab69c08b62513e619366f66ea0735893d23b2--mactex-20210328.pkg
  47. All formula dependencies satisfied.
  48. ==> Installing Cask mactex
  49. ==> Running installer for mactex; your password may be necessary.
  50. Package installers may write to any location; options such as `--appdir` are ignored.
  51. Password:
  52. installer: Package name is MacTeX
  53. installer: choices changes file '/private/tmp/choices20211217-2308-u1x1ab.xml' applied
  54. installer: Installing at base path /
  55. installer: The install was successful.
  56. 🍺  mactex was successfully installed!
  57.  
  58. ------ I restarted my terminal here. Here is the rest...
  59.  
  60. ➜  ~ which perl
  61. /opt/homebrew/bin/perl
  62. ➜  ~ latexindent --help
  63. Unknown PerlIO layer 'encoding' at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 21.
  64. Unknown PerlIO layer "encoding" at /opt/homebrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/open.pm line 126.
  65. Unknown PerlIO layer "encoding" at /opt/homebrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/open.pm line 134.
  66. Unknown PerlIO layer "encoding" at /opt/homebrew/Cellar/perl/5.34.0/lib/perl5/5.34.0/open.pm line 135.
  67. Attempt to reload PerlIO/encoding.pm aborted.
  68. Compilation failed in require at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/FileExtension.pm line 20.
  69. BEGIN failed--compilation aborted at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/FileExtension.pm line 20.
  70. Compilation failed in require at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 29.
  71. BEGIN failed--compilation aborted at /usr/local/texlive/2021/texmf-dist/scripts/latexindent/LatexIndent/Document.pm line 29.
  72. Compilation failed in require at /usr/local/texlive/2021/bin/universal-darwin/latexindent line 27.
  73. BEGIN failed--compilation aborted at /usr/local/texlive/2021/bin/universal-darwin/latexindent line 27.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement