I've seen both these ways suggested for installing packages manually, but I don't know the difference:
dkpg -i <pkg>.deb
and
./configure
make
make install
So how do they differ? Is the former one only a "more automated" way of just doing the same thing as the latter one? Or they are completely different?
(P.S: Asked here because dpkg is "debian package").
Edit: After reading the answer by Rajat Pandita I see that using make involves compiling of program from source while dpkg just knows best how to organize the compiled program in different directories. There's another question on the network asking about the difference between apt-get and dpkg which is obviously different from this question.
dpkg
-based package system about 25 years ago. dpkg was itself subsumed into the safer and easierapt
repository-based package system about 20 years ago. – user535733 Feb 17 '19 at 05:05dpkg
overapt
is however its ability to install packages locally (that have been previously downloaded), withdpkg -i
but I don't think there's one for apt. – aderchox Feb 17 '19 at 05:14dpkg
uses packages (usually binaries pre-compiled) and not compiling from sources. – guiverc Feb 17 '19 at 05:14apt
will installed pre-downloaded .deb files too. (including dependencies if in your sources) – guiverc Feb 17 '19 at 05:16