On Thu, Apr 3, 2014 at 9:12 PM, Lukas Jirkovsky <l.jirkovsky@xxxxxxxxx> wrote: > If you have enough time, I would try using pkgfile to recover the > installed packages. I thing something like this should suffice: > # update the pkgfile database > pkgfile -u > # find the package names for all binaries > find /usr/bin -type f -exec pkgfile '{}' ';' | uniq Good idea. But just a little correction, use `sort` or else `uniq` will not work properly: find /usr/bin -type f -exec pkgfile '{}' ';' | sort | uniq -- Rodrigo