I want to see all of the software I've compiled from extra-repository sources, sources that aren't on my etc/apt/sources.list or in ppas. To clarify I'm not including .deb files- just archives. The purpose is for security and management, particularly updates. Thanks!
1 Answer
See my comment above. To find all files on your system that were NOT installed through the dpkg
packaging system, read man dpkg-query
, man find
(to reduce the files checked - I'm checking everything:
sudo find / -type f -print0 | \
xargs -0 -n 1 dpkg -S | \
grep "no path found matching pattern" >>/tmp/not-owned-by-dpkg
Since this will, for each file on the system, search every package for the filename, it's going to take a loooong time.
-
Hmm, wouldn't it be faster if I looked for relevant formats like .tar, .zip, etc? How would I pipe that in? Oct 25, 2016 at 14:32
-
The existence (or not) of any archive file(
.tar
,.tgz
,.zip
, ...) has NO relationship to what software is installed. Oct 25, 2016 at 14:39