Location of packages installed by apt-get and more [duplicate]

The basic answer is no, different applications install in different locations, and consist of multiple files. As a general rule the actual application will be installed in one of the locations in your PATH env variable, and you can check the directories in that variable with:

echo $PATH

But if you're trying to find a specific package's location you can use the dpkg command with the -L flag. For example if you wanted to find all of the installed files for Apache2, you could run:

dpkg -L apache2