On my system I have a few programs installed by compiling the source code directly or by some other means which do not use the package manager (for instance, I've installed TeX Live directly from the iso provided on the website), one example of them is ViM: I installed it by compiling the source code directly and run sudo make install
.
The problem is that the package manager is not aware that such software is installed on my system, thus it asks me to install it (for instance, if I type apt install vim
it tells me that ViM can be installed, even though I have ViM already installed on my system).
How can I make the package manager aware of the fact that the programs included in some packages have already been installed?
Thanks in advance.
EDIT: this question comes from my need to install GNU-Octave. I already have texlive installed (as I mentioned before), but nonetheless apt
wants to install tex-common
and texinfo
. I checked if the content of the package texinfo was present by typing man texinfo
before installing it, and a manual page was shown. After the installation of texinfo
with apt install texinfo
that manual page changed.