您的位置:首页 > 运维架构

OpenSUSE 13.2安装Texlive2014+Texmaker+Lyx

2014-12-27 17:36 204 查看
(1)首先下载安装Texlive2014

地址:http://mirrors.ustc.edu.cn/CTAN/systems/texlive/Images/

或直接下载:

wget http://mirrors.ustc.edu.cn/CTAN/systems/texlive/Images/texlive2014.iso[/code] 
ISO镜像2.6GB大小。下载完成后挂载镜像

sudo mkdir /mnt/texlive
sudo mount -o loop texlive2014.iso /mnt/texlive


接下来进入到镜像中

cd /mnt/texlive


进行安装

sudo ./install-tl


安装完成后将如下代码追加到~/.bashrc

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


重新载入配置文件

source ~/.bashrc


在终端输入tex -version显示软件及作者信息说明安装成功

sincerefly@linux-w0e3:~> tex -version
TeX 3.14159265 (TeX Live 2014)
kpathsea version 6.2.0
Copyright 2014 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.


(2)接下来安装Texmaker编辑器

Texmaker是Linux下的Markdown编辑器,下载页:http://www.xm1math.net/texmaker/download.html#linux

或直接下载:

wegt http://www.xm1math.net/texmaker/texmakerQT5_opensuse13.2-4.4.1-xm1.x86_64.rpm


安装:

sudo zypper in texmakerQT5_opensuse13.2-4.4.1-xm1.x86_64.rpm


(3)接下来编译安装Lyx

下载页:http://www.lyx.org/Download

或直接下载源码

wget ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/lyx-2.1.2.tar.gz[/code] 
解压缩:

tar zxvf lyx-2.1.2.tar.gz


进入目录

cd lyx-2.1.2


安装必要的编译工具

sudo zypper in gcc gcc-c++


安装三部曲

./configure
make
sudo make install


OK,安装完成,帮助中有(Lyx介绍 | 入门教程 | 用户手册),就到这里了~接下来看看文档,毕业论文就靠你了~



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: