In the Finder's Go menu, select 'Go to Folder'; in the resulting dialog window, type '/usr/local/texlive'. You will see folders containing various copies of TeX Live. Drag the folder corresponding to the version of TeX Live you want to uninstall to the trash. You will need to provide an administrative password when asked. The uninstall tab of the TeX Live Manager GUI refers to this. For a single-user install, the installer also creates an uninstall entry under the Start menu. For an admin install, the TeX Live directories are write-protected, at least if TeX Live is installed on a normal NTFS-formatted non-removable disk. The function installtinytex downloads and installs TinyTeX, a custom LaTeX distribution based on TeX Live. The function uninstalltinytex removes TinyTeX; reinstalltinytex reinstalls TinyTeX as well as previously installed LaTeX packages by default; tinytexroot returns the root directory of TinyTeX if found.
Description
The function install_tinytex()
downloads and installs TinyTeX, acustom LaTeX distribution based on TeX Live. The functionuninstall_tinytex()
removes TinyTeX; reinstall_tinytex()
reinstalls TinyTeX as well as previously installed LaTeX packages by default;tinytex_root()
returns the root directory of TinyTeX if found.
Usage
Arguments
Whether to force to install (override) or uninstall TinyTeX.
The directory to install or uninstall TinyTeX (should not existunless force = TRUE
).
The version of TinyTeX, e.g., '2020.09'
(see allavailable versions at https://github.com/yihui/tinytex-releases, orthe last few releases viaxfun::github_releases('yihui/tinytex-releases')
). By default, itinstalls the latest daily build of TinyTeX. If version = 'latest'
,it installs the latest Github release of TinyTeX.
The CTAN repository to set. You can find availablerepositories at https://ctan.org/mirrors
), e.g.,'http://mirrors.tuna.tsinghua.edu.cn/CTAN/'
, or'https://mirror.las.iastate.edu/tex-archive/'
. In theory, thisargument should end with the path /systems/texlive/tlnet
, and if itdoes not, the path will be automatically appended.
A character vector of extra LaTeX packages to beinstalled. By default, a vector of all currently installed LaTeX packagesif an existing installation of TinyTeX is found. If you want a freshinstallation, you may use extra_packages = NULL
.
Whether to run the command tlmgr path add
to addthe bin path of TeX Live to the system environment variable PATH.
Whether to reinstall all currently installed packages.
Other arguments to be passed to install_tinytex()
(notethat the extra_packages
argument will be set to tl_pkgs()
ifpackages = TRUE
).
Uninstall Texlive Fedora
Uninstall Texlive Linux
Whether to signal an error if TinyTeX is not found.
Uninstall Texlive Windows
References
Uninstall Texlive Linux
See the TinyTeX documentation (https://yihui.org/tinytex/) for the default installation directories on different platforms.