The files contained in the package will be installed as usual. When installing from a remote repository, apt downloads the package and hands it over to dpkg which performs the installation. No difference.If we were to install an application/package from a local .deb file, not from the Debian repository, using the command given below, then how can one know which path will be used to install the application/package?i.e. will the installation path be /usr/local or /usr or /opt or something else?Code:
apt install ./<<NameOfLocalFile>>.deb
Look at the /DEBIAN/md5sums file in the package. Also /DEBIAN/conffiles. And at /CONTENTS/ for the actual files and their path.And if we try to open a .deb file with a decompression application like ARK or 7-zip then can we come to know what will be the path of installation of the application?
Statistics: Posted by fabien — 2024-07-29 11:03