TeXmacs 不可用(Ubuntu 15.10)

TeXmacs 不可用(Ubuntu 15.10)

我经常使用 GNU TeXmacs 来处理大学数学相关的内容。现在我彻底清除了旧的 Ubuntu 安装,直接从光盘安装了 Ubuntu 15.10。安装完所有更新后,我尝试

sudo apt-get install texmacs

终端说它不再可用。然后我尝试按照官方网站上的说明手动安装它,但完成后,我仍然无法启动它。我还尝试取消注释 中的所有 repos sources.list

答案1

Texmacs 不再在 Ubuntu 存储库中可用,因为它依赖于 Guile-1.8,而 Debian 认为 Guile-1.8 已弃用(因此不再在存储库中)。

然而 TeXmacs 仍在开发中,所有最新 Ubuntu 版本的最新 .deb 包都可以在opensuse.org/download.html?project=home:slowphil:texmacs-devel它或多或少类似于 PPA,只是它不是 Ubuntu 独有的。

这些 .deb 文件比 chaskes 的回答中提到的 texmacs.org 提供的静态包更容易安装;它们也更新很多,修复了许多错误。例如,基于 ibus 的输入法可以在 debs 中使用,但在静态包中却无法使用。

答案2

没错,这个包不再可用。您可以安装生动的包装

  1. 重新启用存储库sources.list

  2. 下载,例如 64 位版本

    cd
    wget http://mirrors.kernel.org/ubuntu/pool/universe/t/texmacs-extra-fonts/texmacs-extra-fonts_0.2_all.deb
    wget http://mirrors.kernel.org/ubuntu/pool/universe/t/texmacs/texmacs-common_1.0.7.18-1_all.deb
    wget http://mirrors.kernel.org/ubuntu/pool/universe/t/texmacs/texmacs_1.0.7.18-1_amd64.deb
    
  3. 安装

    sudo dpkg -i texmacs*.deb
    

可能缺少一些依赖项,但没问题,只需在下一步中执行命令即可。

  1. 安装缺少的依赖项

    sudo apt-get install -f
    

答案3

您还可以下载当前TeXmacs 二进制文件

将 zip 文件解压到您选择的目录中。然后按照安装说明进行操作,其中仅涉及设置正确的路径:

Set the environment variables.
Let [installation directory] be the current directory,
which contains this file. Depending on your shell, either type

   setenv TEXMACS_PATH [installation directory]
   setenv PATH $TEXMACS_PATH/bin:$PATH
or
   export TEXMACS_PATH=[installation directory]
   export PATH=$TEXMACS_PATH/bin:$PATH

此后,TexMacs 运行良好,尽管出现了一些有关缺少字体的警告。

使用二进制文件的一个优点是它提供了最新的,TeXmacs 1.99而 Vivid 和 Trusty 使用1.0.7

相关内容