在 Suse Linux 上安装 latex

在 Suse Linux 上安装 latex

我在 Windows 上使用 Latex。我使用的是 miktex 和 texmaker。

不幸的是,我不得不更换我的操作系统,现在我正在使用 Suse Linux,这对我来说是一个非常新的操作系统。

我还没有看到清楚解释安装的文档或指南,所以我正在寻求有关安装步骤的任何帮助。

根据我所指的建议安装指南用于 texlive 安装。

我不知道如何使用镜像以及如何进行 zypper 安装。

编辑1:我尝试使用 install-tl,但每次运行近2个小时后都会失败。

以下是日志:

Automated TeX Live installation using profile: installation.profile
Trying to verify cryptographic signatures!
Loading http://mirror.hmc.edu/ctan/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2016 from: http://mirror.hmc.edu/ctan/systems/texlive/tlnet (verified)
Platform: x86_64-linux => 'GNU/Linux on x86_64'
Distribution: net  (downloading)
Using URL: http://mirror.hmc.edu/ctan/systems/texlive/tlnet
Directory for temporary files: /tmp/9V0exB3E4u
Installer revision: 41646
Database revision: 42599
Settings:
  TEXDIR: "/usr/local/texlive/2016"
  TEXMFCONFIG: "~/.texlive2016/texmf-config"
  TEXMFHOME: "~/texmf"
  TEXMFLOCAL: "/usr/local/texlive/texmf-local"
  TEXMFSYSCONFIG: "/usr/local/texlive/2016/texmf-config"
  TEXMFSYSVAR: "/usr/local/texlive/2016/texmf-var"
  TEXMFVAR: "~/.texlive2016/texmf-var"
  binary_amd64-freebsd: "0"
  binary_amd64-netbsd: "0"
  binary_armel-linux: "0"
  binary_armhf-linux: "0"
  binary_i386-cygwin: "0"
  binary_i386-freebsd: "0"
  binary_i386-linux: "0"
  binary_i386-netbsd: "0"
  binary_i386-solaris: "0"
  binary_powerpc-linux: "0"
  binary_sparc-solaris: "0"
  binary_universal-darwin: "0"
  binary_win32: "0"
  binary_x86_64-cygwin: "0"
  binary_x86_64-darwin: "0"
  binary_x86_64-linux: "1"
  binary_x86_64-solaris: "0"
  collection-basic: "1"
  collection-bibtexextra: "1"
  collection-binextra: "1"
  collection-context: "1"
  collection-fontsextra: "1"
  collection-fontsrecommended: "1"
  collection-fontutils: "1"
  collection-formatsextra: "1"
  collection-games: "1"
  collection-genericextra: "1"
  collection-genericrecommended: "1"
  collection-htmlxml: "1"
  collection-humanities: "1"
  collection-langafrican: "1"
  collection-langarabic: "1"
  collection-langchinese: "1"
  collection-langcjk: "1"
  collection-langcyrillic: "1"
  collection-langczechslovak: "1"
  collection-langenglish: "1"
  collection-langeuropean: "1"
  collection-langfrench: "1"
  collection-langgerman: "1"
  collection-langgreek: "1"
  collection-langindic: "1"
  collection-langitalian: "1"
  collection-langjapanese: "1"
  collection-langkorean: "1"
  collection-langother: "1"
  collection-langpolish: "1"
  collection-langportuguese: "1"
  collection-langspanish: "1"
  collection-latex: "1"
  collection-latexextra: "1"
  collection-latexrecommended: "1"
  collection-luatex: "1"
  collection-mathscience: "1"
  collection-metapost: "1"
  collection-music: "1"
  collection-omega: "1"
  collection-pictures: "1"
  collection-plainextra: "1"
  collection-pstricks: "1"
  collection-publishers: "1"
  collection-texworks: "1"
  collection-wintools: "0"
  collection-xetex: "1"
  doc_splitting_supported: "1"
  in_place: "0"
  inst_platform: "x86_64-linux"
  n_collections_available: "47"
  n_collections_selected: "46"
  n_systems_available: "17"
  n_systems_selected: "1"
  option_adjustrepo: "1"
  option_autobackup: "1"
  option_backupdir: "tlpkg/backups"
  option_desktop_integration: "1"
  option_doc: "1"
  option_file_assocs: "1"
  option_fmt: "1"
  option_letter: "0"
  option_menu_integration: "1"
  option_path: "0"
  option_post_code: "1"
  option_src: "1"
  option_sys_bin: "/usr/local/bin"
  option_sys_info: "/usr/local/share/info"
  option_sys_man: "/usr/local/share/man"
  option_w32_multi_user: "1"
  option_write18_restricted: "1"
  portable: "0"
  selected_scheme: "scheme-full"
  src_splitting_supported: "1"
  this_platform: "x86_64-linux"
  total_size: "0"
Installing to: /usr/local/texlive/2016
Installing [0001/3343, time/total: ??:??/??:??]: 12many [376k]
Installing [0002/3343, time/total: 00:03/04:50:57]: 2up [66k]
Installing [0003/3343, time/total: 00:04/05:30:21]: Asana-Math [482k]
Installing [0004/3343, time/total: 00:07/04:36:07]: ESIEEcv [137k]
Installing [0005/3343, time/total: 00:09/05:09:16]: FAQ-en [4971k]
Installing [0006/3343, time/total: 00:18/01:48:36]: GS1 [1100k]
Installing [0007/3343, time/total: 00:22/01:52:16]: HA-prosper [266k]
Installing [0008/3343, time/total: 00:25/02:02:59]: IEEEconf [188k]
Installing [0009/3343, time/total: 00:28/02:14:20]: IEEEtran [1323k]
Installing [0010/3343, time/total: 00:32/02:10:43]: MemoirChapStyles [739k]
Installing [0011/3343, time/total: 00:34/02:08:15]: SIstyle [338k]
Installing [0012/3343, time/total: 00:37/02:14:51]: SIunits [284k]
Installing [0013/3343, time/total: 00:40/02:21:45]: Tabbing [217k]
Installing [0014/3343, time/total: 00:43/02:29:14]: Type1fonts [516k]
Installing [0015/3343, time/total: 00:45/02:28:52]: a0poster [119k]
Installing [0016/3343, time/total: 00:47/02:33:49]: a2ping [48k]
Installing [0017/3343, time/total: 00:48/02:36:25]: a2ping.x86_64-linux [1k]
Installing [0018/3343, time/total: 00:49/02:39:41]: a4wide [133k]
Installing [0019/3343, time/total: 00:50/02:41:01]: a5comb [91k]
Installing [0020/3343, time/total: 00:52/02:46:08]: aastex [1214k]
Installing [0021/3343, time/total: 00:56/02:41:41]: abbr [4k]
Installing [0022/3343, time/total: 00:56/02:41:38]: abc [288k]
Installing [0023/3343, time/total: 00:59/02:46:30]: abntex2 [4455k]
Installing [0024/3343, time/total: 01:06/02:18:25]: abraces [197k]
Installing [0025/3343, time/total: 01:08/02:21:01]: abstract [154k]
Installing [0026/3343, time/total: 01:10/02:23:54]: abstyles [151k]
Installing [0027/3343, time/total: 01:12/02:26:46]: academicons [95k]
Installing [0028/3343, time/total: 01:14/02:30:03]: accanthis [653k]
Installing [0029/3343, time/total: 01:17/02:30:39]: accfonts [37k]
Installing [0030/3343, time/total: 01:19/02:34:15]: accfonts.x86_64-linux [1k]
Installing [0031/3343, time/total: 01:19/02:34:15]: achemso [895k]
Installing [0032/3343, time/total: 01:23/02:34:38]: acmart [6180k]
Installing [0033/3343, time/total: 01:32/02:10:12]: acmconf [111k]
Installing [0034/3343, time/total: 01:35/02:13:52]: acro [594k]
Installing [0035/3343, time/total: 01:37/02:13:37]: acronym [282k]
Installing [0036/3343, time/total: 01:40/02:16:18]: acroterm [160k]
Installing [0037/3343, time/total: 01:42/02:18:12]: active-conf [327k]
Installing [0038/3343, time/total: 01:45/02:20:33]: actuarialangle [3k]
Installing [0039/3343, time/total: 01:46/02:21:52]: addfont [105k]
Installing [0040/3343, time/total: 01:48/02:24:00]: addlines [142k]
Installing [0041/3343, time/total: 01:50/02:25:55]: adfathesis [151k]
Installing [0042/3343, time/total: 01:52/02:27:45]: adforn [388k]
Installing [0043/3343, time/total: 01:55/02:29:36]: adfsymbols [401k]
Installing [0044/3343, time/total: 01:58/02:31:20]: adhocfilelist [30k]
TLPDB::_install_package: downloading did not succeed
Installation failed.
Rerunning the installer will try to restart the installation.
Or you can restart by running the installer with:
  install-tl --profile installation.profile [EXTRA-ARGS]

然后我尝试了一下"install-tl --profile installation.profile",它又运行了几个小时,失败了。问题出在镜子上吗?有人能确认一下吗?

在运行新安装之前我确实清理了旧安装。

我尝试按照 yast 安装此链接,但它会抛出类似“可卸载的提供程序:texlive:luatex-2013……等”的错误

编辑 2:添加操作系统信息

NAME="SLED"
VERSION="12-SP2"
VERSION_ID="12.2"
PRETTY_NAME="SUSE Linux Enterprise Desktop 12 SP2"
ID="sled"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sled:12:sp2"

答案1

在 Linux 系统中,管理员称为“root”。如果可以,请启动 Yast,它需要 root 的密码。从 Yast 的包管理器安装 texlive。Suses texlive 维护得很好。

Suses 中央软件包仓库也应该提供 texmaker 作为编辑器(至少在 Tumbleweed 上是这样的)。但如果有一天你想尝试一下,可以试试 Kile,它是 KDE 的 LaTeX 编辑器。

所以归根结底还是一个问题,你是否被允许启动 Yast。如果不行,你就得在本地安装 texlive 本身(到 ~/texmf )。但我不建议你这么做。我的建议是安装 Suse 的 texlive 软件包,维护者 Fink 博士做得非常好。

为此:YaST > 软件 > 软件管理,搜索“texlive”并安装名称简单为“texlive”的软件包。我不知道下载量有多大。但即使使用 vanilla texlive,您也必须安装很多字节...

相关内容