Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

Beginners Questions • Re: [Installation] How to find which path is application installed

$
0
0
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?

Code:

apt install ./<<NameOfLocalFile>>.deb
i.e. will the installation path be /usr/local or /usr or /opt or something else?
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.
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?
Look at the /DEBIAN/md5sums file in the package. Also /DEBIAN/conffiles. And at /CONTENTS/ for the actual files and their path.

Statistics: Posted by fabien — 2024-07-29 11:03



Viewing all articles
Browse latest Browse all 2901

Trending Articles