Where is application data stored?
Solution 1:
If the package is installed through the package management system, you can show its files with the command
dpkg -L package-name
Solution 2:
In addition to enzotibs answer, some packages separate their shared/static data from the main package. Examples includes hedgewars
(static data in hedgewars-data
) and apache2
(binaries in apache2.2-bin
and images+manuals in apache2.2-common
, this is shared among the MPMs prefork, worker event and itk).
To get the immediate package dependency, use:
apt-cache depends package-name
Alternatively, use http://packages.ubuntu.com/ which shows a small description for each package too. For example, the apache2
package points to apache2.2-common
. The filelist is available through the link in the Files column at the Download table.
dpkg -L package-name
show files which are installed by the package management system. Sometimes an installed file is not available in that list because the package installation script bypasses the package manager. There is nothing you can do against that other than guessing from the file name.
Should you wonder which package a file belongs to, run:
dpkg -S /path/to/file
This will list each package associated with the file. If you just provide a file name, you could get a long list with all files matching the search criteria.