I want to install texlive-full
in my Ubuntu 20.04. It is a rather large download, and I have a metered internet connection.
I installed it in another computer running Xubuntu 20.04, and copied the packages from its var/cache/apt
.
I can do sudo dpkg -i *.deb
, but it will install all the dependencies explicitly (I don't want to have the dependencies explicitly installed), and it may also install other unwanted packages (because I copied all .deb packages from var/cache/apt
).
How can I use apt
to install texlive-full
, so that it uses these .deb packages for dependencies instead of downloading them?
sudo apt-get update
&&sudo apt-get upgrade
. It should not download already existing packages, unless newer versions are available.