首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Linux中管理TeXLive 2016、Lyx和Tikz?

如何在Linux中管理TeXLive 2016、Lyx和Tikz?
EN

Unix & Linux用户
提问于 2016-07-11 21:25:42
回答 1查看 453关注 0票数 1

我手动安装了TeXLive 2016的脚本安装-tl,所以它不再由apt-get控制。然而,我需要莱克斯和蒂克兹,这应该与TeXLive很好的工作。我正在考虑如何控制软件安装,以防止重复。如果您执行以下操作,就会得到许多重复的KDE Tikz。

代码语言:javascript
复制
sudo apt-get install ktikz lyx lyx-common lyx-dbg 

这里有很多副本

代码语言:javascript
复制
The following packages were automatically installed and are no longer required:
  aglfn fonts-cabin fonts-comfortaa fonts-ebgaramond fonts-ebgaramond-extra
  fonts-freefont-otf fonts-gfs-artemisia fonts-gfs-baskerville
  fonts-gfs-bodoni-classic fonts-gfs-complutum fonts-gfs-didot
  fonts-gfs-didot-classic fonts-gfs-gazis fonts-gfs-neohellenic
  fonts-gfs-olga fonts-gfs-porson fonts-gfs-solomos fonts-gfs-theokritos
  fonts-hosny-amiri fonts-junicode fonts-linuxlibertine fonts-lobster
  fonts-lobstertwo fonts-oflb-asana-math fonts-roboto-hinted
  fonts-sil-gentium fonts-sil-gentium-basic fonts-sil-gentiumplus
  konsole4-kpart latex-cjk-chinese-arphic-bkai00mp
  latex-cjk-chinese-arphic-bsmi00lp latex-cjk-chinese-arphic-gbsn00lp
  latex-cjk-chinese-arphic-gkai00mp latex-cjk-japanese-wadalab
  lcdf-typetools libkonq-common libkonq5-templates libkonq5abi1 pfb2t1c2pfb
  ttf-adf-accanthis ttf-adf-gillius ttf-adf-universalis
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  kdoctools5 khelpcenter khelpcenter4 libboost-regex1.58.0
  libboost-signals1.58.0 libkf5bookmarks-data libkf5bookmarks5
  libkf5gpgmepp5 libkf5js5 libkf5kcmutils-data libkf5kcmutils5
  libkf5kdelibs4support-data libkf5kdelibs4support5
  libkf5kdelibs4support5-bin libkf5khtml-bin libkf5khtml-data libkf5khtml5
  libkf5kiofilewidgets5 libkf5parts-data libkf5parts-plugins libkf5parts5
  libkf5solid5 libkf5solid5-data libkf5wallet-bin libkf5wallet-data
  libkf5wallet5 libkwalletbackend5-5 prosper texlive-base
  texlive-extra-utils texlive-font-utils texlive-fonts-recommended
  texlive-fonts-recommended-doc texlive-generic-extra
  texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
  texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc
  texlive-pstricks texlive-pstricks-doc texlive-science texlive-science-doc
  tipa
Suggested packages:
  rcs groff gnuhtml2latex wv noweb sgmltools-lite linuxdoc-tools
  writer2latex latex2rtf librsvg2-bin | inkscape texlive-xetex etoolbox
  perl-tk xindy fragmaster purifyeps latexmk python-pygments
  libspreadsheet-parseexcel-perl libtcltk-ruby dot2tex prerex
The following NEW packages will be installed:
  kdoctools5 khelpcenter khelpcenter4 ktikz libboost-regex1.58.0
  libboost-signals1.58.0 libkf5bookmarks-data libkf5bookmarks5
  libkf5gpgmepp5 libkf5js5 libkf5kcmutils-data libkf5kcmutils5
  libkf5kdelibs4support-data libkf5kdelibs4support5
  libkf5kdelibs4support5-bin libkf5khtml-bin libkf5khtml-data libkf5khtml5
  libkf5kiofilewidgets5 libkf5parts-data libkf5parts-plugins libkf5parts5
  libkf5solid5 libkf5solid5-data libkf5wallet-bin libkf5wallet-data
  libkf5wallet5 libkwalletbackend5-5 lyx lyx-common lyx-dbg prosper
  texlive-base texlive-extra-utils texlive-font-utils
  texlive-fonts-recommended texlive-fonts-recommended-doc
  texlive-generic-extra texlive-generic-recommended texlive-latex-base
  texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc
  texlive-latex-recommended texlive-latex-recommended-doc texlive-pictures
  texlive-pictures-doc texlive-pstricks texlive-pstricks-doc texlive-science
  texlive-science-doc tipa
0 upgraded, 52 newly installed, 0 to remove and 19 not upgraded.
2 not fully installed or removed.
Need to get 826 MB of archives.
After this operation, 1,271 MB of additional disk space will be used.
Do you want to continue? [Y/n]

操作系统: Debian 8.5 64位,Ubuntu 16.04位

Linux内核: 4.6个后端

硬件:华硕Zenbook UX303UA

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2016-09-15 20:15:15

请参阅如何在Debian的德州直播2016中获得这个包?线程中我的问题的正文,特别是我在TexLive 2016中的工作流部分。很快,请执行以下操作,因为apt-get已经过时了TexLive

代码语言:javascript
复制
# delete texlive-full if you have installed it before
apt-get purge texlive-full

# http://latex-community.org/know-how/466-texlive-linux
cd Desktop
mkdir texlive
cd texlive
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar xf install-tl-unx.tar.gz
cd install-tl-20130105 (or a newer version)
./install-tl

安装最新的Lyx

apt-get的Lyx比他们的网站这里稍早(几个月),所以主要的问题是了解哪个Lyx最适合上述安装,因为我们没有使用apt-get's的文本直播。

代码语言:javascript
复制
# install lyx in apt-get TODO not sure if existing newer elsewhere
apt-get install lyx

masi@masi:~/Downloads$ apt-cache show lyx
Package: lyx
Version: 2.1.2-2
Installed-Size: 12487
Maintainer: Debian LyX Maintainers <pkg-lyx-devel@lists.alioth.debian.org>
Architecture: amd64
Depends: libboost-regex1.55.0, libboost-signals1.55.0, libc6 (>= 2.15), libenchant1c2a (>= 1.6.0), libgcc1 (>= 1:4.1.1), libmagic1 (>= 5.12), libmythes-1.2-0, libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.9), zlib1g (>= 1:1.1.4), lyx-common (= 2.1.2-2), xdg-utils
Recommends: texlive-latex-recommended, texlive-latex-extra, texlive-science, texlive-generic-recommended, texlive-generic-extra, texlive-fonts-recommended, preview-latex-style, dvipng, imagemagick, psutils, ghostscript, poppler-utils, fonts-lyx, evince-gtk | pdf-viewer, elyxer | tex4ht | hevea | tth | latex2html
Suggests: rcs, latex-xcolor, groff, libtiff-tools, gnuhtml2latex, wv, chktex, noweb, sgmltools-lite, linuxdoc-tools, writer2latex, latex2rtf, librsvg2-bin | inkscape, texlive-xetex, etoolbox, lyx-dbg (= 2.1.2-2)
Description-en: document processor
 LyX is an almost WYSIWYG-frontend for LaTeX. It makes the power and
 typesetting quality of LaTeX available for people who are used to
 word processors. Since LyX supports LaTeX's concept of general
 mark-ups, it is even easier and faster to create professional quality
 documents with it than with usual word processors. It is also
 possible to use LaTeX commands within LyX, so nothing of LaTeX's
 power is lost.
 .
 You can extend the functionality of LyX by installing these packages:
  * chktex: check for typographical errors
  * gnuhtml2latex: import HTML documents
  * groff: improved table formatting in plain text exports
  * latex-xcolor: for coloured change tracking
  * librsvg2-bin, inkscape: use the SVG image format in LyX documents
  * linuxdoc-tools: export SGML LinuxDoc documents
  * mythes-*: use the OpenOffice.org/LibreOffice Thesaurus
  * noweb: import noweb files
  * rcs: integrated version control
  * sgmltools-lite: export SGML DocBook documents
  * texlive-xetex, etoolbox: use the XeTeX typesetting system
  * wv: import MS Word documents
Description-md5: 9841fdd911f5abac7d1f71c64436f591
Homepage: http://www.lyx.org/
Tag: implemented-in::c++, interface::commandline, interface::x11,
 role::program, scope::application, uitoolkit::qt, use::editing,
 use::text-formatting, use::typesetting, works-with-format::tex,
 works-with::text, x11::application
Section: editors
Priority: optional
Filename: pool/main/l/lyx/lyx_2.1.2-2_amd64.deb
Size: 3730032
MD5sum: ca6c14a9c37e59d759cd46e7501e0659
SHA1: 311050f528ef0455e1ceaf644a74065b928f5828
SHA256: dec78f9f53ed239ed728dfe9c97c6cd9a88f7cc061c26341a67f05452ab684e9

安装最新的Tikz

Tikz没有经常更新,所以我认为默认的Tikz及其依赖项在apt-get中是足够的。我找不到任何集中的工具,他们的控制与LaTeX等通过install-tl

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/295236

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档