LaTex安装

快速安装tex
windows下载地址http://mirror.ctan.org/systems/texlive/tlnet/install-tl-windows.exe
其他操作系统http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
mac建议安装http://www.tug.org/mactex/

我用的ubuntu,所以下载了install-tl-unx.tar.gz。
先删除以前安装的texlive(如果有的话)

rm -rf /usr/local/texlive/2016
rm -rf ~/.texlive2017

下载好以后,先解压

tar -zxvf install-tl-unx.tar.gz

安装,刚开始会提示你选择命令,输入i即可。

./install-tl

流程如下:
cd /your/download/directory
./install-tl # install-tl-windows on Windows
[… messages omitted …]
Enter command: i
[… when done, see below for post-install …]

安装完成后,会提示你增加路径到path下。
vim ~/.bashrc
最后面增加如下path

PATH=/usr/local/texlive/2017/texmf-dist/doc/man:$PATH; export PATH
PATH=/usr/local/texlive/2017/texmf-dist/doc/info:$PATH; export PATH
PATH=/usr/local/texlive/2017/bin/x86_64-linux:$PATH; export PATH


完成。tex --version查看下版本。

~$ tex --version
TeX 3.14159265 (TeX Live 2017)
kpathsea version 6.2.3
Copyright 2017 D.E. Knuth.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.


引用

http://www.andy-roberts.net/writing/latex
http://www.tug.org/texlive/
http://www.tug.org/texlive/quickinstall.html
http://www.tug.org/texlive/acquire-netinstall.html

TeX 发行版及其安装
https://github.com/sjtug/SJTUThesis/wiki/TeX-%E5%8F%91%E8%A1%8C%E7%89%88%E5%8F%8A%E5%85%B6%E5%AE%89%E8%A3%85

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值