Quote:
Originally Posted by eldiener
Given an application name is there some command to determine from what package the application has been installed ?
|
I don't know what distro you are running but I assume you are talking about your running system, you should know what packaging your distro is using. To know
which package installed it, usually there is a package folder (record) in the /var. In my slackware it looks exactly /var/log/packages/, you can search what it looks like in your system:
Code:
find /var -type d -iname \*package*
In my system to find out which package installed certain application binary is easy. Let us say we want to know what package installed an application called 'minicom' --
Code:
grep -li bin/minicom /var/log/packages/*
and it will return the identity of the package what installed the 'minicom'. Now to find out all (what) files this package installed into the system--
Code:
cat /var/log/packages/minicom*
should list down all what particular package has added into the system.
Hope that helps.