Instalando pari-gp sem extrair os pacotes do servidor X

Instalando pari-gp sem extrair os pacotes do servidor X

"pari-gp" é um sistema de álgebra computacional de linha de comando capaz de traçar gráficos. Sua documentação é formatada como arquivos TeX devido a múltiplas fórmulas matemáticas. No entanto, não quero usar essas funções: só preciso realizar alguns cálculos.

A execução de apt install pari-gpnão é uma forma de instalar isso em minha máquina Debian baseada em texto (sem ambiente desktop), pois ele tenta extrair muitos pacotes relacionados ao X:

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  fonts-droid-fallback fonts-lmodern fonts-noto-mono libcupsfilters1
  libcupsimage2 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
  libdrm2 libfile-basedir-perl libfile-desktopentry-perl libfile-mimeinfo-perl
  libfontenc1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgs9
  libgs9-common libharfbuzz-icu0 libice6 libijs-0.35 libipc-system-simple-perl
  libjbig2dec0 libkpathsea6 liblcms2-2 libllvm3.9 libnet-dbus-perl libnspr4
  libnss3 libopenjp2-7 libpaper-utils libpaper1 libpciaccess0 libpoppler64
  libpotrace0 libptexenc1 libsensors4 libsm6 libsynctex1 libtcl8.6 libtexlua52
  libtexluajit2 libtie-ixhash-perl libtk8.6 libtxc-dxtn-s2tc libutempter0
  libx11-protocol-perl libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0
  libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxft2
  libxml-twig-perl libxml-xpathengine-perl libxmu6 libxpm4 libxshmfence1
  libxss1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 libzzip-0-13 lmodern
  pari-doc pari-elldata pari-galdata pari-seadata poppler-data t1utils tcl
  tcl8.6 texlive-base texlive-binaries tk tk8.6 x11-common x11-utils
  x11-xserver-utils xbitmaps xdg-utils xterm
Suggested packages:
  fonts-noto liblcms2-utils lm-sensors libunicode-map8-perl
  libunicode-string-perl xml-twig-tools pari-gp2c pari-galpol poppler-utils
  ghostscript fonts-japanese-mincho | fonts-ipafont-mincho
  fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai
  fonts-arphic-uming fonts-nanum tcl-tclreadline gv | postscript-viewer
  perl-tk xpdf-reader | pdf-viewer mesa-utils nickle cairo-5c xorg-docs-core
  gvfs-bin xfonts-cyrillic
The following NEW packages will be installed:
  fonts-droid-fallback fonts-lmodern fonts-noto-mono libcupsfilters1
  libcupsimage2 libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
  libdrm2 libfile-basedir-perl libfile-desktopentry-perl libfile-mimeinfo-perl
  libfontenc1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgs9
  libgs9-common libharfbuzz-icu0 libice6 libijs-0.35 libipc-system-simple-perl
  libjbig2dec0 libkpathsea6 liblcms2-2 libllvm3.9 libnet-dbus-perl libnspr4
  libnss3 libopenjp2-7 libpaper-utils libpaper1 libpciaccess0 libpoppler64
  libpotrace0 libptexenc1 libsensors4 libsm6 libsynctex1 libtcl8.6 libtexlua52
  libtexluajit2 libtie-ixhash-perl libtk8.6 libtxc-dxtn-s2tc libutempter0
  libx11-protocol-perl libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0
  libxcb-glx0 libxcb-present0 libxcb-shape0 libxcb-sync1 libxft2
  libxml-twig-perl libxml-xpathengine-perl libxmu6 libxpm4 libxshmfence1
  libxss1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 libzzip-0-13 lmodern
  pari-doc pari-elldata pari-galdata pari-gp pari-seadata poppler-data t1utils
  tcl tcl8.6 texlive-base texlive-binaries tk tk8.6 x11-common x11-utils
  x11-xserver-utils xbitmaps xdg-utils xterm
0 upgraded, 89 newly installed, 0 to remove and 0 not upgraded.
Need to get 149 MB of archives.
After this operation, 466 MB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.

Posso de alguma forma instalar o que quero sem pacotes X?

Responder1

pari-gppor si só deve extrair apenas um número limitado de pacotes X11 ( libx11-6, libx11-datae libxcb1). Os outros pacotes são obtidos por causa das pari-gpdependências “recomendadas” do '; isso inclui, em particular, pari-doco que atrai o TeX Live.

Para evitar isso, execute

apt-get install --no-install-recommends pari-gp

informação relacionada