I installed texlive with Pacman in Archlinux. I want to remove all the installed packages now because I found them too big and a website called overleaf can meet most of my needs.
But there are too many packages contained in texlive, listed as below.
texinfo texlive-formatsextra texlive-latexextra texlive-publishers
texlive-bibtexextra texlive-games texlive-music texlive-science
texlive-bin texlive-genericextra texlive-pictures
texlive-core texlive-htmlxml texlive-plainextra
texlive-fontsextra texlive-humanities texlive-pstricks
I tried sudo pacman -R texinfo, and change different parameters like -Rd, -Rsn. They all failed on dependency checking.
I tried sudo pacman -Rc texinfo but it tells me the next 7 packages will be removed, even including gdb!!!
drkonqi-5.9.5.1-1 gdb-7.12.1-3 gdb-common-7.12.1-3 guile-2.2.1-1
guile2.0-2.0.14-1 make-4.2.1-2 texinfo-6.3-1
So how to remove the texlive family nicely?
I'd advise to go with pacman -Rs package, from the pacman -R --help output:
-c, --cascade remove packages and all packages that depend on them
-s, --recursive remove unnecessary dependencies
the -c option might delete packages needed by other packages, the -s will only delete them if they are not depended on by other packages on the system.
to delete texlive with relate files:
sudo pacman -Rcns texlive-bin
more information in this page: https://linux-packages.com/manjaro-linux/package/texlive-bin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With