AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / ubuntu / Perguntas / 1533440
Accepted
SebMa
SebMa
Asked: 2024-11-21 01:11:00 +0800 CST2024-11-21 01:11:00 +0800 CST 2024-11-21 01:11:00 +0800 CST

Como instalar uma versão específica do pacote LaTeX sem bagunçar os outros pacotes LaTeX já instalados dos pacotes DEB texlive-latex-*

  • 772

O ptex-jtexpacote DEB contendo o multicol.stypacote LaTeX foi removido do multiverso: ptex-jtex .

EDIT0: Eu já tinha instalado os pacotes texlive-latex-extraor texlive-latex-base.

Aqui está o que eu tenho e fiz:

$ dpkg -l | grep texlive-
ii  texlive-base                          2023.20240207-1                         all          TeX Live: Essential programs and files
ii  texlive-binaries                      2023.20230311.66589-9build3             amd64        Binaries for TeX Live
ii  texlive-fonts-recommended             2023.20240207-1                         all          TeX Live: Recommended fonts
ii  texlive-latex-base                    2023.20240207-1                         all          TeX Live: LaTeX fundamental packages
ii  texlive-latex-extra                   2023.20240207-1                         all          TeX Live: LaTeX additional packages
ii  texlive-latex-recommended             2023.20240207-1                         all          TeX Live: LaTeX recommended packages
ii  texlive-pictures                      2023.20240207-1                         all          TeX Live: Graphics, pictures, diagrams
ii  texlive-plain-generic                 2023.20240207-1                         all          TeX Live: Plain (La)TeX packages
$
$ tlmgr init-usertree
$ tlmgr update --list
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)

tlmgr: Local TeX Live (2023) is older than remote repository (2024).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
$ tlmgr info multicol
(running on Debian, switching to user mode!)
(see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)

tlmgr: Local TeX Live (2023) is older than remote repository (2024).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
$

Como posso instalar uma versão específica do multicol.stypacote LaTeX sem atualizar/quebrar os outros pacotes LaTeX já instalados dos texlive-latex-*pacotes DEB?

24.04
  • 1 1 respostas
  • 47 Views

1 respostas

  • Voted
  1. Best Answer
    Archisman Panigrahi
    2024-11-21T03:13:12+08:002024-11-21T03:13:12+08:00

    Uma busca rápida informa que você precisa instalar um texlive-latex-extraou texlive-latex-base.

    No entanto, você pode instalar texlive-full(ele instala todos os pacotes tex disponíveis) e parar de se preocupar com pacotes tex completamente. Eu instalei texlive-fulle posso compilar arquivos .tex com o multicolpacote no Ubuntu 24.04.


    Se você quiser o texlive mais recente, primeiro limpe os pacotes texlive do sistema,

    sudo apt-get purge texlive*
    sudo apt-get remove tex-common --purge
    

    Instalar dependências

    sudo apt install wget perl-tk
    

    Por fim, instale o texlive

    wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
    tar -xzf install-tl-unx.tar.gz
    cd install-tl-version-number
    

    Para uma versão específica, por exemplo, texlive 2021,

    sudo ./install-tl -repository ftp://tug.org/historic/systems/texlive/2021/tlnet-final
    

    Agora, instale

     sudo ./install-tl
    

    Por fim, adicione-o ao caminho,

    export PATH=/usr/local/texlive/2024/bin/x86_64-linux${PATH:+:${PATH}}
    export INFOPATH=/usr/local/texlive/2024/texmf-dist/doc/info${INFOPATH:+:${INFOPATH}}
    export MANPATH=/usr/local/texlive/2024/texmf-dist/doc/man${MANPATH:+:${MANPATH}}
    

    Agora, use equivs para fazer o Ubuntu pensar que o texlive está instalado como um pacote de sistema, para que ele não reclame sobre dependências

    sudo apt install equivs --no-install-recommends freeglut3
    wget -O debian-equivs-2023-ex.txt https://www.tug.org/texlive/files/debian-equivs-2023-ex.txt
    

    Agora instale o pacote deb fictício

    equivs-build debian-equivs-2023-ex.txt
    sudo dpkg -i texlive-local_*.deb
    sudo apt install -f
    

    Para instalar pacotes, execute

    sudo tlmgr --gui
    

    Fonte

    • 1

relate perguntas

  • Problemas ao instalar 24.04

  • Nenhum clique pode ser feito em todo o canto superior direito de um aplicativo maximizado no Ubuntu 24.04

  • Tenho uma dúvida sobre como baixar a versão do Ubuntu entre LTS e básica

  • 24.04 Textos LTS não aparecem até passar o mouse

  • A boutique de software não pode ser iniciada no Ubuntu24.04 LTS

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve